Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat implement birth v2 #353

Open
wants to merge 28 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
52fce1c
chore: update yarn.lock
jamil314 Jan 1, 2025
5d4ca76
feat: wip: birth event v2
jamil314 Jan 1, 2025
6654398
feat: use select option in gender, attendantAtBirth and birthType
jamil314 Jan 1, 2025
d11abb6
fix: use number for weight at birth
jamil314 Jan 2, 2025
fc6587d
feat: person input wip
jamil314 Jan 3, 2025
78ba94b
Merge branch 'develop' into feat-birth-v2
jamil314 Jan 6, 2025
6015741
feat: show dob or age based on dobUnknown checkbox
jamil314 Jan 6, 2025
505a08e
chore: rename directory
jamil314 Jan 6, 2025
373323b
amend: import from renamed directory
jamil314 Jan 6, 2025
07be5e2
feat: add informant relation to birth form
jamil314 Jan 6, 2025
4acd8f7
Merge branch 'develop' into feat-birth-v2
jamil314 Jan 7, 2025
c05f0d9
feat: render informant fields based on relation to child
jamil314 Jan 7, 2025
15fe150
feat: separate the logic for concatenating field id
jamil314 Jan 7, 2025
2a3758a
feat: complete informant details apart form person inputs
jamil314 Jan 7, 2025
29b280a
feat: implement id and address
jamil314 Jan 8, 2025
ed40dd7
refactor: create utils
jamil314 Jan 8, 2025
2b184f9
fix: handle undefined values in conditionals
jamil314 Jan 9, 2025
64a65aa
chore: Merge branch "develop" into feat-birth-v2
jamil314 Jan 9, 2025
cd43a65
feat: implement father and mother details
jamil314 Jan 9, 2025
a177f5e
feat: implement upload supporting document
jamil314 Jan 9, 2025
9e8e724
fix: use simpler concat
jamil314 Jan 9, 2025
e360b7b
feat: use country field
jamil314 Jan 9, 2025
d9fbb68
feat: add place of birth
jamil314 Jan 9, 2025
fd1019a
fix: typo
jamil314 Jan 9, 2025
a0a48ba
fix: align label and required properties with legecy birth
jamil314 Jan 9, 2025
18b98a2
fix: font of bulletList
jamil314 Jan 10, 2025
540454a
feat: add helper texts
jamil314 Jan 10, 2025
b7852bc
chore: bump up @opencrvs/toolkit
jamil314 Jan 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@hapi/boom": "^9.1.1",
"@hapi/hapi": "^20.0.1",
"@hapi/inert": "^6.0.3",
"@opencrvs/toolkit": "0.0.9-events",
"@opencrvs/toolkit": "0.0.10-events",
"@types/chalk": "^2.2.0",
"@types/csv2json": "^1.4.0",
"@types/fhir": "^0.0.30",
Expand Down
3 changes: 2 additions & 1 deletion src/api/custom-event/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
*/
import * as Hapi from '@hapi/hapi'
import { tennisClubMembershipEvent } from '@countryconfig/form/tennis-club-membership'
import { BirthEvent } from '@countryconfig/form/V2/birth'

export const customEventHandler = (
request: Hapi.Request,
h: Hapi.ResponseToolkit
) => {
return h.response([tennisClubMembershipEvent]).code(200)
return h.response([tennisClubMembershipEvent, BirthEvent]).code(200)
}
Loading