diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/DocumentReference30_40.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/DocumentReference30_40.java index 52b627f28..c52abbec3 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/DocumentReference30_40.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv30_40/resources30_40/DocumentReference30_40.java @@ -53,6 +53,8 @@ public class DocumentReference30_40 { tgt.addContent(convertDocumentReferenceContentComponent(t)); if (src.hasContext()) tgt.setContext(convertDocumentReferenceContextComponent(src.getContext())); + for (org.hl7.fhir.r4.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference30_40.convertReference(t)); return tgt; } @@ -91,6 +93,8 @@ public class DocumentReference30_40 { tgt.addContent(convertDocumentReferenceContentComponent(t)); if (src.hasContext()) tgt.setContext(convertDocumentReferenceContextComponent(src.getContext())); + for (org.hl7.fhir.dstu3.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference30_40.convertReference(t)); return tgt; } @@ -368,4 +372,4 @@ public class DocumentReference30_40 { } return tgt; } -} \ No newline at end of file +} 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..ee80876bf 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; } @@ -88,6 +90,8 @@ public class DocumentReference30_50 { for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent()) tgt.addContent(convertDocumentReferenceContentComponent(t)); convertDocumentReferenceContextComponent(src, tgt.getContext()); + for (org.hl7.fhir.r5.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference30_50.convertReference(t)); return tgt; } @@ -337,4 +341,4 @@ public class DocumentReference30_50 { } return tgt; } -} \ No newline at end of file +} diff --git a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv43_50/resources43_50/DocumentReference43_50.java b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv43_50/resources43_50/DocumentReference43_50.java index 8f1ba520e..1b90af9d3 100644 --- a/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv43_50/resources43_50/DocumentReference43_50.java +++ b/org.hl7.fhir.convertors/src/main/java/org/hl7/fhir/convertors/conv43_50/resources43_50/DocumentReference43_50.java @@ -81,6 +81,8 @@ public class DocumentReference43_50 { tgt.addContent(convertDocumentReferenceContentComponent(t)); if (src.hasContext()) convertDocumentReferenceContextComponent(src.getContext(), tgt); + for (org.hl7.fhir.r4b.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference43_50.convertReference(t)); return tgt; } @@ -121,6 +123,8 @@ public class DocumentReference43_50 { for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent()) tgt.addContent(convertDocumentReferenceContentComponent(t)); convertDocumentReferenceContextComponent(src, tgt.getContext()); + for (org.hl7.fhir.r5.model.Reference t : src.getAuthor()) + tgt.addAuthor(Reference43_50.convertReference(t)); return tgt; } @@ -297,4 +301,4 @@ public class DocumentReference43_50 { // tgt.setSourcePatientInfo(Reference43_50.convertReference(src.getSourcePatientInfo())); // for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) tgt.addRelated(Reference43_50.convertReference(t)); } -} \ No newline at end of file +}