Details
-
Sub-task
-
Status: Closed
-
Should
-
Resolution: Won't Fix
-
None
-
None
-
Medium
Description
Issues from TODOs
Line 503 of HL7ServiceImpl.java, in the resolveLocationId method
Link: https://github.com/openmrs/openmrs-core/blob/7db511a00a18e7e8e298b53ffdf7e56873b714f2/api/src/main/java/org/openmrs/hl7/impl/HL7ServiceImpl.java#L503
Todo: Get rid of hack that allows first component to be an integer
location.location_id
HACK: try to treat the first component (which should be "Point of
Care" as an internal openmrs location_id
Link to HACK: https://github.com/openmrs/openmrs-core/blob/7db511a00a18e7e8e298b53ffdf7e56873b714f2/api/src/main/java/org/openmrs/hl7/impl/HL7ServiceImpl.java#L507