Merge remote-tracking branch 'origin/master'

This commit is contained in:
Grahame Grieve 2022-10-19 22:37:28 +11:00
commit a2af53f180
3 changed files with 15 additions and 3 deletions

View File

@ -53,6 +53,8 @@ public class DocumentReference30_40 {
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
if (src.hasContext()) if (src.hasContext())
tgt.setContext(convertDocumentReferenceContextComponent(src.getContext())); tgt.setContext(convertDocumentReferenceContextComponent(src.getContext()));
for (org.hl7.fhir.r4.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference30_40.convertReference(t));
return tgt; return tgt;
} }
@ -91,6 +93,8 @@ public class DocumentReference30_40 {
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
if (src.hasContext()) if (src.hasContext())
tgt.setContext(convertDocumentReferenceContextComponent(src.getContext())); tgt.setContext(convertDocumentReferenceContextComponent(src.getContext()));
for (org.hl7.fhir.dstu3.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference30_40.convertReference(t));
return tgt; return tgt;
} }
@ -368,4 +372,4 @@ public class DocumentReference30_40 {
} }
return tgt; return tgt;
} }
} }

View File

@ -49,6 +49,8 @@ public class DocumentReference30_50 {
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
if (src.hasContext()) if (src.hasContext())
convertDocumentReferenceContextComponent(src.getContext(), tgt); convertDocumentReferenceContextComponent(src.getContext(), tgt);
for (org.hl7.fhir.dstu3.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference30_50.convertReference(t));
return tgt; return tgt;
} }
@ -88,6 +90,8 @@ public class DocumentReference30_50 {
for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent()) for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent())
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
convertDocumentReferenceContextComponent(src, tgt.getContext()); convertDocumentReferenceContextComponent(src, tgt.getContext());
for (org.hl7.fhir.r5.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference30_50.convertReference(t));
return tgt; return tgt;
} }
@ -337,4 +341,4 @@ public class DocumentReference30_50 {
} }
return tgt; return tgt;
} }
} }

View File

@ -81,6 +81,8 @@ public class DocumentReference43_50 {
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
if (src.hasContext()) if (src.hasContext())
convertDocumentReferenceContextComponent(src.getContext(), tgt); convertDocumentReferenceContextComponent(src.getContext(), tgt);
for (org.hl7.fhir.r4b.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference43_50.convertReference(t));
return tgt; return tgt;
} }
@ -121,6 +123,8 @@ public class DocumentReference43_50 {
for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent()) for (org.hl7.fhir.r5.model.DocumentReference.DocumentReferenceContentComponent t : src.getContent())
tgt.addContent(convertDocumentReferenceContentComponent(t)); tgt.addContent(convertDocumentReferenceContentComponent(t));
convertDocumentReferenceContextComponent(src, tgt.getContext()); convertDocumentReferenceContextComponent(src, tgt.getContext());
for (org.hl7.fhir.r5.model.Reference t : src.getAuthor())
tgt.addAuthor(Reference43_50.convertReference(t));
return tgt; return tgt;
} }
@ -297,4 +301,4 @@ public class DocumentReference43_50 {
// tgt.setSourcePatientInfo(Reference43_50.convertReference(src.getSourcePatientInfo())); // tgt.setSourcePatientInfo(Reference43_50.convertReference(src.getSourcePatientInfo()));
// for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) tgt.addRelated(Reference43_50.convertReference(t)); // for (org.hl7.fhir.r5.model.Reference t : src.getRelated()) tgt.addRelated(Reference43_50.convertReference(t));
} }
} }