bekalu
(Bekalu Assamnew Andargie)
June 28, 2021, 6:31pm
21
thanks rashashish,
i have made the change in the HL7Service.java and when i try to build it i got compilation error message. it says cannot find symbol
symbol: method getModalityConceptSource()
cannot find symbol
[ERROR] symbol: variable locationName
any advice?
bekalu
(Bekalu Assamnew Andargie)
June 28, 2021, 6:45pm
22
@ramashish ,
what kind of change i have to make on OpenMRSEncounter.java?
ramashish
(Ramashish Joshi)
July 8, 2021, 12:34am
23
getModalityConceptSource in OpenMRSOrder is not referring to location. It should simply get the associated concept mapping
public OpenMRSConceptMapping getModalityConceptSource() {
Iterator var1 = this.concept.getMappings().iterator();
OpenMRSConceptMapping mapping;
do {
if (!var1.hasNext()) {
return null;
}
mapping = (OpenMRSConceptMapping)var1.next();
} while(!mapping.getSource().equals("MODALITY"));
return mapping;
}
ramashish
(Ramashish Joshi)
July 8, 2021, 12:36am
24
bekalu:
OpenMRSEncounter
should have private data member locationName and its getter - setter
private String locationName;
public void setLocationName(String locationName) {
this.locationName = locationName;
}
public String getLocationName() {
return this.locationName;
}