US Core Implementation Guide
6.0.0 - STU6 United States of America flag

This page is part of the US Core (v6.0.0: STU6) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Targeted Provenance Patient Example - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-targeted-provenance"] ; # 
  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:extension ( [
fhir:id [ fhir:v "race" ] ;
    ( 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 "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:id [ fhir:v "ethnicity" ] ;
    ( 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 "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:id [ fhir:v "birthsex" ] ;
fhir:url [ fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"^^xsd:anyURI ] ;
fhir:value [ fhir:v "F" ]
  ] [
fhir:id [ fhir:v "genderIdentity" ] ;
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:identifier ( [
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:family [ fhir:v "Shaw" ] ;
    ( fhir:given [ fhir:v "Amy" ] [ fhir:v "V." ] )
  ] ) ; # 
  fhir:telecom ( [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "555-555-5555" ]
  ] ) ; # 
  fhir:gender [
fhir:v "female" ;
fhir:id [ fhir:v "gender" ]
  ] ; # 
  fhir:birthDate [ fhir:v "1987-02-20"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:line [ fhir:v "183 Mountain View St" ] ) ;
fhir:city [ fhir:v "Mounds" ] ;
fhir:state [ fhir:v "OK" ]
  ] ) . #