diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java index 19d477f69..8860aff7c 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_50/resources30_50/DocumentReference30_50.java @@ -49,6 +49,8 @@ public class DocumentReference30_50 { tgt.addContent(convertDocumentReferenceContentComponent(t)); if (src.hasContext()) convertDocumentReferenceContextComponent(src.getContext(), tgt); + for (org.hl7.fhir.dstu3.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference30_50.convertReference(t)); return tgt; } @@ -87,6 +89,8 @@ public class DocumentReference30_50 { tgt.addSecurityLabel(CodeableConcept30_50.convertCodeableConcept(t)); for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent()) tgt.addContent(convertDocumentReferenceContentComponent(t)); + for (org.hl7.fhir.r5.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference30_50.convertReference(t)); convertDocumentReferenceContextComponent(src, tgt.getContext()); return tgt; } @@ -337,4 +341,4 @@ public class DocumentReference30_50 { } return tgt; } -} \ No newline at end of file +}