Update DocumentReference30_50.java

This commit is contained in:
NSolooki 2022-09-20 12:38:43 -04:00 committed by GitHub
parent 85370af3c6
commit 5d2643a86f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}
}
}