Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jabahum authored Jul 16, 2024
1 parent 17c0de1 commit dfdb48b
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions server/lib/mixins/matchMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1395,9 +1395,7 @@ const addPatient = (clientID, patientsBundle, callback) => {

if (!healthId) {
newPatient.resource.identifier.push({
system: config
.get("systems:healthInformationNumber:uri")
.find((id) => id === "http://health.go.ug/cr/hin"),
system: config.get("systems:healthInformationNumber:uri") ,
value: "NA",
})
}
Expand Down Expand Up @@ -1675,10 +1673,8 @@ const addPatient = (clientID, patientsBundle, callback) => {
});

if (!healthId) {
newPatient.resource.identifier.push({
system: config
.get("systems:healthInformationNumber:uri")
.find((id) => id === "http://health.go.ug/cr/hin"),
newPatient.resource.identifier.push({
system: config.get("systems:healthInformationNumber:uri") ,
value: "NA",
})
}
Expand Down

0 comments on commit dfdb48b

Please sign in to comment.