This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
Patient example showing US extensions
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xs: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir//Patient/us01> a fhir:Patient; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "us01"]; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-race" ]; fhir:Extension.valueCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "1096-7" ] ] ] ]; fhir:DomainResource.extension [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity" ]; fhir:Extension.valueCodeableConcept [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Ethnicity" ]; fhir:Coding.code [ fhir:value "2162-6" ] ] ] ]; fhir:Patient.active [ fhir:value "true"^^xs:boolean]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.use [ fhir:value "official" ]; fhir:HumanName.family [ fhir:value "Chalmers"; fhir:index 0 ]; fhir:HumanName.given [ fhir:value "Peter"; fhir:index 0 ]; fhir:HumanName.given [ fhir:value "James"; fhir:index 1 ] ]; fhir:Patient.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "phone" ]; fhir:ContactPoint.value [ fhir:value "(03) 5555 6473" ]; fhir:ContactPoint.use [ fhir:value "work" ] ]; fhir:Patient.telecom [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-direct" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xs:boolean ] ]; fhir:ContactPoint.system [ fhir:value "email" ]; fhir:ContactPoint.value [ fhir:value "person@example.org" ]; fhir:ContactPoint.use [ fhir:value "work" ] ]; fhir:Patient.address [ fhir:index 0; fhir:Address.use [ fhir:value "home" ]; fhir:Address.line [ fhir:value "534 Erewhon St"; fhir:index 0 ]; fhir:Address.city [ fhir:value "PleasantVille" ]; fhir:Address.district [ fhir:value "Orange County" ]; fhir:Address.state [ fhir:value "Vic" ]; fhir:Address.postalCode [ fhir:value "3999" ] ]. # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.