coremetadatas.put("patient_identifier_type", Context.getPatientService().getAllPatientIdentifierTypes(true)); coremetadatas.put("location", Context.getLocationService().getAllLocations(true)); coremetadatas.put("hl7_source", Context.getHL7Service().getAllHL7Sources());