FHIR Chat · Extension with multiple elements · implementers

Stream: implementers

Topic: Extension with multiple elements


view this post on Zulip Tim Berezny (Sep 05 2018 at 11:54):

I want to translate an object in my local data model that has multiple elements into an extension with multiple elements. Is the correct way to do this by using a nested extension within an extension (like the code below from the documentation: https://www.hl7.org/fhir/extensibility.html )?

{
"resourceType": "Patient",
"extension": [{
"url": "http://hl7.org/fhir/StructureDefinition/patient-clinicalTrial",
"extension": [{
"url": "NCT",
"valueString": "123456789"
},
{
"url": "period",
"valuePeriod": {
"start": "2009-03-14"
}
},
{
"url": "reason",
"valueCodeableConcept": {
"coding": [{
"system": "http://acme.org/codes/general",
"code": "tt14j"
}]
}
},
{
"url": "http://acme.org/fhir/StructureDefinition/registrar",
"valueReference": {
"reference": "Practitioner/example"
}
}]
}]
}

view this post on Zulip Lloyd McKenzie (Sep 05 2018 at 14:44):

Yes.


Last updated: Apr 12 2022 at 19:14 UTC