Skip to content

Commit

Permalink
U4X-577: Add passport and National Health Identifier to UgandaEMR Ide…
Browse files Browse the repository at this point in the history
…ntifiers (mohuganda#518)
  • Loading branch information
slubwama authored May 17, 2024
1 parent b425d57 commit ab16d73
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public void install() throws Exception {
install(PatientIdentifierTypes.PATIENT_ORGANIZATION_ID);
install(PatientIdentifierTypes.PATIENT_OPD_IDENTIFICATION_NUMBER);
install(PatientIdentifierTypes.DISTRICT_REG_TB_NUMBER);
install(PatientIdentifierTypes.NHPI);
install(PatientIdentifierTypes.PASSPORT);
log.info("Patient IdentifierTypes installed");

// install person attribute types
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,38 @@ public String uuid() {
}
};

public static PatientIdentifierTypeDescriptor PASSPORT = new PatientIdentifierTypeDescriptor() {

@Override
public String name() {
return "Passport No.";
}

@Override
public String description() {
return "A passport Number for a patient";
}

public String uuid() {
return "fd76e95a-9faa-42b8-8d88-5954fae77fba";
}
};

public static PatientIdentifierTypeDescriptor NHPI = new PatientIdentifierTypeDescriptor() {

@Override
public String name() {
return "National Patient Health Identifier";
}

@Override
public String description() {
return "Tha National Patient Health Identifier for identifying a patient uniquely across the health sector";
}

public String uuid() {
return "4c7d6bb2-c8a6-40d3-b70d-fffc062f3416";
}
};

}

0 comments on commit ab16d73

Please sign in to comment.