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 19ae9406..b180c722 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java +++ b/api/src/main/java/org/openmrs/module/emrapi/EmrApiConstants.java @@ -162,6 +162,8 @@ public class EmrApiConstants { public static final String CONCEPT_CODE_DENY_ADMISSION = "Deny Admission"; + public static final String CONCEPT_CODE_CONSULT_FREE_TEXT_COMMENTS = "Consult Free Text Comments"; + public static final String USER_PROPERTY_NAME_LAST_VIEWED_PATIENT_IDS = "emrapi.lastViewedPatientIds"; public static final String EVENT_TOPIC_NAME_PATIENT_VIEWED = "org.openmrs.module.emrapi.event.PatientViewed"; 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 ff22ab76..59c612b8 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java +++ b/api/src/main/java/org/openmrs/module/emrapi/EmrApiProperties.java @@ -253,6 +253,10 @@ public Concept getPatientDiedConcept() { return getEmrApiConceptByMappingAllowUndefined(EmrApiConstants.CONCEPT_CODE_PATIENT_DIED); } + public Concept getConsultFreeTextCommentsConcept() { + return getEmrApiConceptByMapping(EmrApiConstants.CONCEPT_CODE_CONSULT_FREE_TEXT_COMMENTS); + } + public List getIdentifierTypesToSearch() { ArrayList types = new ArrayList(); types.add(getPrimaryIdentifierType());