Skip to content

Commit

Permalink
(feat) : Use social health authority identification number (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet committed Oct 28, 2024
1 parent caeac37 commit 66c8afe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json

# Runtime data
pids
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class PatientMapper extends Mapper<HIEPatient, FormValues> {
const updatedIdentifiers: Record<string, PatientIdentifierValue> = { ...currentFormValues.identifiers };
// Map Social Health Authority Unique Identification Number to HIE Patient ID
// See https://github.com/palladiumkenya/openmrs-module-kenyaemr/blob/1e1d281eaba8041c45318e60ca0730449b8e4197/api/src/main/distro/metadata/identifierTypes.xml#L33
updatedIdentifiers.socialHealthInsuranceNumber = {
...currentFormValues.identifiers['socialHealthInsuranceNumber'],
updatedIdentifiers.socialHealthAuthorityIdentificationNumber = {
...currentFormValues.identifiers['socialHealthAuthorityIdentificationNumber'],
identifierValue: hiePatient.id,
};

Expand Down
101 changes: 0 additions & 101 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2853,23 +2853,6 @@ __metadata:
languageName: node
linkType: hard

"@openmrs/esm-active-visits-app@workspace:packages/esm-active-visits-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-active-visits-app@workspace:packages/esm-active-visits-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
peerDependencies:
"@openmrs/esm-framework": 5.x
dayjs: 1.x
react: ^18.1.0
react-dom: ^18.1.0
react-i18next: 11.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/esm-api@npm:5.8.2-pre.2420":
version: 5.8.2-pre.2420
resolution: "@openmrs/esm-api@npm:5.8.2-pre.2420"
Expand Down Expand Up @@ -2920,42 +2903,6 @@ __metadata:
languageName: node
linkType: hard

"@openmrs/esm-appointments-app@workspace:packages/esm-appointments-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-appointments-app@workspace:packages/esm-appointments-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
formik: "npm:^2.2.9"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
yup: "npm:^0.32.11"
peerDependencies:
"@openmrs/esm-framework": 5.x
"@openmrs/esm-patient-common-lib": 8.x
react: 18.x
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/esm-bed-management-app@workspace:packages/esm-bed-management-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-bed-management-app@workspace:packages/esm-bed-management-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
peerDependencies:
"@openmrs/esm-framework": 5.x
dayjs: 1.x
react: 18.x
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/esm-config@npm:5.8.2-pre.2420":
version: 5.8.2-pre.2420
resolution: "@openmrs/esm-config@npm:5.8.2-pre.2420"
Expand Down Expand Up @@ -3203,22 +3150,6 @@ __metadata:
languageName: unknown
linkType: soft

"@openmrs/esm-patient-search-app@workspace:packages/esm-patient-search-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-patient-search-app@workspace:packages/esm-patient-search-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
peerDependencies:
"@openmrs/esm-framework": 5.x
react: ^18.1.0
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/esm-react-utils@npm:5.8.2-pre.2420":
version: 5.8.2-pre.2420
resolution: "@openmrs/esm-react-utils@npm:5.8.2-pre.2420"
Expand Down Expand Up @@ -3261,22 +3192,6 @@ __metadata:
languageName: node
linkType: hard

"@openmrs/esm-service-queues-app@workspace:packages/esm-service-queues-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-service-queues-app@workspace:packages/esm-service-queues-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
peerDependencies:
"@openmrs/esm-framework": 5.x
react: ^18.1.0
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/esm-state@npm:5.8.2-pre.2420":
version: 5.8.2-pre.2420
resolution: "@openmrs/esm-state@npm:5.8.2-pre.2420"
Expand Down Expand Up @@ -3346,22 +3261,6 @@ __metadata:
languageName: node
linkType: hard

"@openmrs/esm-ward-app@workspace:packages/esm-ward-app":
version: 0.0.0-use.local
resolution: "@openmrs/esm-ward-app@workspace:packages/esm-ward-app"
dependencies:
"@carbon/react": "npm:~1.37.0"
lodash-es: "npm:^4.17.15"
webpack: "npm:^5.74.0"
peerDependencies:
"@openmrs/esm-framework": 5.x
react: ^18.1.0
react-i18next: 11.x
react-router-dom: 6.x
swr: 2.x
languageName: unknown
linkType: soft

"@openmrs/webpack-config@npm:5.8.2-pre.2420":
version: 5.8.2-pre.2420
resolution: "@openmrs/webpack-config@npm:5.8.2-pre.2420"
Expand Down

0 comments on commit 66c8afe

Please sign in to comment.