mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-02 01:19:14 +00:00
add copyDomainResource to allergy intolerance of version convertor 10 40
This commit is contained in:
parent
f56235d596
commit
222a4babe3
@ -9,6 +9,7 @@ public class AllergyIntolerance10_40 {
|
||||
if (src == null)
|
||||
return null;
|
||||
org.hl7.fhir.r4.model.AllergyIntolerance tgt = new org.hl7.fhir.r4.model.AllergyIntolerance();
|
||||
VersionConvertor_10_40.copyDomainResource(src, tgt);
|
||||
for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_40.convertIdentifier(t));
|
||||
if (src.hasOnset())
|
||||
tgt.setOnset(VersionConvertor_10_40.convertType(src.getOnsetElement()));
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"resourceType" : "AllergyIntolerance",
|
||||
"id" : "TBwnNbrAqC0Qw5Ha7AFT-2AB",
|
||||
"clinicalStatus" : {
|
||||
"coding" : [
|
||||
{
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"resourceType" : "AllergyIntolerance",
|
||||
"id": "TKebKfLXzu6Sp.LY-IpvpmQB",
|
||||
"clinicalStatus" : {
|
||||
"coding" : [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user