@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/us/core/Patient/example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>Amy V. Baxter </b> female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: USUAL))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Alternate names (see the one above)\">Alt. Name:</td><td colspan=\"3\">Amy V. Shaw (OLD)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: 555-555-5555(HOME)</li><li><a href=\"mailto:amy.shaw@example.com\">amy.shaw@example.com</a></li><li>49 Meadow St Mounds OK 74047 US (OLD)</li><li>183 Mountain View St Mounds OK 74048 US </li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity.  The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.\">US Core Ethnicity Extension:</td><td colspan=\"3\"><ul><li>ombCategory: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2135-2\">CDC Race and Ethnicity</a> 2135-2: Hispanic or Latino</li><li>detailed: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2184-0\">CDC Race and Ethnicity</a> 2184-0: Dominican</li><li>detailed: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2148-5\">CDC Race and Ethnicity</a> 2148-5: Mexican</li><li>text: Hispanic or Latino</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"A code classifying the person's sex assigned at birth  as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).\"><a href=\"StructureDefinition-us-core-birthsex.html\">US Core Birth Sex Extension:</a></td><td colspan=\"3\"><ul><li>F</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality.  The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race.  The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.\">US Core Race Extension:</td><td colspan=\"3\"><ul><li>ombCategory: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2106-3\">CDC Race and Ethnicity</a> 2106-3: White</li><li>ombCategory: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-1002-5\">CDC Race and Ethnicity</a> 1002-5: American Indian or Alaska Native</li><li>ombCategory: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2028-9\">CDC Race and Ethnicity</a> 2028-9: Asian</li><li>detailed: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-1586-7\">CDC Race and Ethnicity</a> 1586-7: Shoshone</li><li>detailed: <a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-CDCREC.html#CDCREC-2036-2\">CDC Race and Ethnicity</a> 2036-2: Filipino</li><li>text: Mixed</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This Extension profile represents a tribe or band with which a person associates and, optionally, whether they are enrolled.\">US Core Tribal Affiliation Extension:</td><td colspan=\"3\"><ul><li>tribalAffiliation: <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS 187}\">Shoshone</span></li><li>isEnrolled: false</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"This extension represents an individual's sense of being a man, woman, boy, girl, nonbinary, or something else, ascertained by asking them what that identity is. Systems requiring multiple gender identities and associated dates **SHOULD** use the FHIR R5 [genderIdentity extension](http://hl7.org/fhir/extensions/StructureDefinition-individual-genderIdentity.html). When future versions of US Core are based on FHIR R5, the FHIR R5 extension will supersede this extension.\"><a href=\"StructureDefinition-us-core-genderIdentity.html\">US Core Gender Identity Extension:</a></td><td colspan=\"3\"><ul><li><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-NullFlavor UNK}\">Unknown</span></li></ul></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2106-3" ] ;
         fhir:display [ fhir:v "White" ]
       ]
     ] [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1002-5" ] ;
         fhir:display [ fhir:v "American Indian or Alaska Native" ]
       ]
     ] [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2028-9" ] ;
         fhir:display [ fhir:v "Asian" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "1586-7" ] ;
         fhir:display [ fhir:v "Shoshone" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2036-2" ] ;
         fhir:display [ fhir:v "Filipino" ]
       ]
     ] [
       fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Mixed" ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "ombCategory"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2135-2" ] ;
         fhir:display [ fhir:v "Hispanic or Latino" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2184-0" ] ;
         fhir:display [ fhir:v "Dominican" ]
       ]
     ] [
       fhir:url [ fhir:v "detailed"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:Coding ;
         fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.6.238"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "2148-5" ] ;
         fhir:display [ fhir:v "Mexican" ]
       ]
     ] [
       fhir:url [ fhir:v "text"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Hispanic or Latino" ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"^^xsd:anyURI ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "tribalAffiliation"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "187" ] ;
           fhir:display [ fhir:v "Paiute-Shoshone Tribe of the Fallon Reservation and Colony, Nevada" ]
         ] ) ;
         fhir:text [ fhir:v "Shoshone" ]
       ]
     ] [
       fhir:url [ fhir:v "isEnrolled"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "false"^^xsd:boolean ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "F" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-NullFlavor"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "UNK" ] ;
         fhir:display [ fhir:v "Unknown" ]
       ] ) ;
       fhir:text [ fhir:v "Unknown" ]
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "usual" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MR" ] ;
         fhir:display [ fhir:v "Medical Record Number" ]
       ] ) ;
       fhir:text [ fhir:v "Medical Record Number" ]
     ] ;
     fhir:system [ fhir:v "http://hospital.smarthealthit.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "1032702" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "old" ] ;
     fhir:family [ fhir:v "Shaw" ] ;
     fhir:given ( [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
       fhir:end [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] [
     fhir:family [ fhir:v "Baxter" ] ;
     fhir:given ( [ fhir:v "Amy" ] [ fhir:v "V." ] ) ;
     fhir:suffix ( [ fhir:v "PharmD" ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "555-555-5555" ] ;
     fhir:use [ fhir:v "home" ]
  ] [
     fhir:system [ fhir:v "email" ] ;
     fhir:value [ fhir:v "amy.shaw@example.com" ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1987-02-20"^^xsd:date] ; # 
  fhir:address ( [
     fhir:use [ fhir:v "old" ] ;
     fhir:line ( [ fhir:v "49 Meadow St" ] ) ;
     fhir:city [ fhir:v "Mounds" ] ;
     fhir:state [ fhir:v "OK" ] ;
     fhir:postalCode [ fhir:v "74047" ] ;
     fhir:country [ fhir:v "US" ] ;
     fhir:period [
       fhir:start [ fhir:v "2016-12-06"^^xsd:date ] ;
       fhir:end [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] [
     fhir:line ( [ fhir:v "183 Mountain View St" ] ) ;
     fhir:city [ fhir:v "Mounds" ] ;
     fhir:state [ fhir:v "OK" ] ;
     fhir:postalCode [ fhir:v "74048" ] ;
     fhir:country [ fhir:v "US" ] ;
     fhir:period [
       fhir:start [ fhir:v "2020-07-22"^^xsd:date ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

