This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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 xsd: <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:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>\n <b>Generated Narrative with Details</b>\n </p>\n <p>\n <b>id</b>: us01</p>\n <p>\n <b>active</b>: true</p>\n <p>\n <b>birthsex</b>: Male</p>\n <p>\n <b>name</b>: Peter James Chalmers (OFFICIAL)</p>\n <p>\n <b>telecom</b>: ph: (03) 5555 6473(WORK), person@example.org(WORK)</p>\n <p>\n <b>address</b>: 534 Erewhon St PleasantVille Vic 3999 (HOME)</p>\n <p>\n <b>race</b>: White, American Indian or Alaska Native, Asian, Shoshone, Filipino</p>\n <p>\n <b>ethnicity</b>: Hispanic or Latino, Dominican, Mexican</p>\n </div>" ]; fhir:extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-race" ]; fhir:extension [ fhir:index 0; fhir:Extension.url [ fhir:value "ombCategory" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "2106-3" ]; fhir:Coding.display [ fhir:value "White" ] ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "ombCategory" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "1002-5" ]; fhir:Coding.display [ fhir:value "American Indian or Alaska Native" ] ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "ombCategory" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "2028-9" ]; fhir:Coding.display [ fhir:value "Asian" ] ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "detailed" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "1586-7" ]; fhir:Coding.display [ fhir:value "Shoshone" ] ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "detailed" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Race" ]; fhir:Coding.code [ fhir:value "2036-2" ]; fhir:Coding.display [ fhir:value "Filipino" ] ] ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity" ]; fhir:extension [ fhir:index 0; fhir:Extension.url [ fhir:value "ombCategory" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Ethnicity" ]; fhir:Coding.code [ fhir:value "2135-2" ]; fhir:Coding.display [ fhir:value "Hispanic or Latino" ] ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "detailed" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Ethnicity" ]; fhir:Coding.code [ fhir:value "2184-0" ]; fhir:Coding.display [ fhir:value "Dominican" ] ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "detailed" ]; fhir:Extension.valueCoding [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/Ethnicity" ]; fhir:Coding.code [ fhir:value "2148-5" ]; fhir:Coding.display [ fhir:value "Mexican" ] ] ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-birthsex" ]; fhir:Extension.valueCode [ fhir:value "M" ] ]; fhir:Patient.active [ fhir:value "true"^^xsd:boolean]; fhir:Patient.name [ fhir:index 0; fhir:HumanName.use [ fhir:value "official" ]; fhir:HumanName.family [ fhir:value "Chalmers" ]; fhir:HumanName.given [ fhir:value "Peter"; fhir:index 0 ], [ 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:index 1; fhir:extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/us-core-direct" ]; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd: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.