Skip to content

Commit

Permalink
Port fix from hapifhir/hapi-fhir#1213 courtesy
Browse files Browse the repository at this point in the history
of Gary Graham
  • Loading branch information
jamesagnew committed May 30, 2019
1 parent f063219 commit 884e917
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -5789,8 +5789,8 @@ public org.hl7.fhir.dstu3.model.DiagnosticReport convertDiagnosticReport(org.hl7
tgt.setEffective(convertType(src.getEffective()));
tgt.setIssued(src.getIssued());
// tgt.setPerformer(convertReference(src.getPerformer()));
// for (org.hl7.fhir.dstu2.model.Reference t : src.getRequest())
// tgt.addRequest(convertReference(t));
for (org.hl7.fhir.dstu2.model.Reference t : src.getRequest())
tgt.addBasedOn(convertReference(t));
for (org.hl7.fhir.dstu2.model.Reference t : src.getSpecimen())
tgt.addSpecimen(convertReference(t));
for (org.hl7.fhir.dstu2.model.Reference t : src.getResult())
Expand Down Expand Up @@ -5822,8 +5822,8 @@ public org.hl7.fhir.dstu2.model.DiagnosticReport convertDiagnosticReport(org.hl7
tgt.setEffective(convertType(src.getEffective()));
tgt.setIssued(src.getIssued());
// tgt.setPerformer(convertReference(src.getPerformer()));
// for (org.hl7.fhir.dstu3.model.Reference t : src.getRequest())
// tgt.addRequest(convertReference(t));
for (org.hl7.fhir.dstu3.model.Reference t : src.getBasedOn())
tgt.addRequest(convertReference(t));
for (org.hl7.fhir.dstu3.model.Reference t : src.getSpecimen())
tgt.addSpecimen(convertReference(t));
for (org.hl7.fhir.dstu3.model.Reference t : src.getResult())
Expand Down

0 comments on commit 884e917

Please sign in to comment.