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)
|
if (src == null)
|
||||||
return null;
|
return null;
|
||||||
org.hl7.fhir.r4.model.AllergyIntolerance tgt = new org.hl7.fhir.r4.model.AllergyIntolerance();
|
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));
|
for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_40.convertIdentifier(t));
|
||||||
if (src.hasOnset())
|
if (src.hasOnset())
|
||||||
tgt.setOnset(VersionConvertor_10_40.convertType(src.getOnsetElement()));
|
tgt.setOnset(VersionConvertor_10_40.convertType(src.getOnsetElement()));
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"resourceType" : "AllergyIntolerance",
|
"resourceType" : "AllergyIntolerance",
|
||||||
|
"id" : "TBwnNbrAqC0Qw5Ha7AFT-2AB",
|
||||||
"clinicalStatus" : {
|
"clinicalStatus" : {
|
||||||
"coding" : [
|
"coding" : [
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"resourceType" : "AllergyIntolerance",
|
"resourceType" : "AllergyIntolerance",
|
||||||
|
"id": "TKebKfLXzu6Sp.LY-IpvpmQB",
|
||||||
"clinicalStatus" : {
|
"clinicalStatus" : {
|
||||||
"coding" : [
|
"coding" : [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue