Skip to content

Commit

Permalink
EA-196: Add "org.openmrs.module.emrapi:Consult Free Text Comments" to…
Browse files Browse the repository at this point in the history
… EMR API properties
  • Loading branch information
mogoodrich committed Jul 15, 2024
1 parent 49513d5 commit b8ae680
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PatientIdentifierType> getIdentifierTypesToSearch() {
ArrayList<PatientIdentifierType> types = new ArrayList<PatientIdentifierType>();
types.add(getPrimaryIdentifierType());
Expand Down

0 comments on commit b8ae680

Please sign in to comment.