Skip to content

Commit

Permalink
EA-203: Add metadata mappings for two new encounter types
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich committed Oct 7, 2024
1 parent 0caf264 commit d454180
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ public class EmrApiConstants {

public static final String GP_TRANSFER_WITHIN_HOSPITAL_ENCOUNTER_TYPE = "emr.transferWithinHospitalEncounterType";

public static final String GP_INPATIENT_NOTE_ENCOUNTER_TYPE = "emr.inpatientNoteEncounterType";

public static final String GP_TRANSFER_REQUEST_ENCOUNTER_TYPE = "emr.transferRequestEncounterType";

public static final String GP_CHECK_IN_CLERK_ENCOUNTER_ROLE = "emr.checkInClerkEncounterRole";

public static final String GP_CLINICIAN_ENCOUNTER_ROLE = "emr.clinicianEncounterRole";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ public EncounterType getTransferWithinHospitalEncounterType() {
return getEmrApiMetadataByCode(EncounterType.class, EmrApiConstants.GP_TRANSFER_WITHIN_HOSPITAL_ENCOUNTER_TYPE, false);
}

public EncounterType getInpatientNoteEncounterType() {
return getEmrApiMetadataByCode(EncounterType.class, EmrApiConstants.GP_INPATIENT_NOTE_ENCOUNTER_TYPE, false);
}

public EncounterType getTransferRequestEncounterType() {
return getEmrApiMetadataByCode(EncounterType.class, EmrApiConstants.GP_TRANSFER_REQUEST_ENCOUNTER_TYPE, false);
}

public Form getAdmissionForm() {
return getEmrApiMetadataByCode(Form.class, EmrApiConstants.GP_ADMISSION_FORM, false);
}
Expand Down

0 comments on commit d454180

Please sign in to comment.