diff --git a/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java b/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java index 31635469..b2a9f5a4 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java +++ b/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java @@ -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"; diff --git a/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java b/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java index 585aefe7..2141a8cf 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java +++ b/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java @@ -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); }