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

This page is part of the US Core (v6.1.0: STU6 Update) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions. Page versions: STU6.1 STU6 STU5 STU4 STU3

: AllergyIntolerance Provenance 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "c887e62f-6166-419f-8268-b5ecd6c7b901"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2019-07-09T18:49:01.235+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "http://example.org/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/AllergyIntolerance/79613"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/AllergyIntolerance/79613> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/Provenance/79614"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/Provenance/79614> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] ) . # 

<http://example.org/AllergyIntolerance/79613> a fhir:AllergyIntolerance ;
  fhir:id [ fhir:v "79613"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"79613\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource AllergyIntolerance &quot;79613&quot; Version &quot;1&quot; Updated &quot;2019-07-09 15:26:23+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-allergyintolerance.html\">US Core AllergyIntolerance Profile</a></p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#confirmed)</span></p><p><b>category</b>: medication</p><p><b>criticality</b>: high</p><p><b>code</b>: Peanuts <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT[US]</a>#762952008)</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; SHAW&quot;</p><p><b>onset</b>: 2017-06-09</p><h3>Reactions</h3><table class=\"grid\"><tr><td>-</td><td><b>Manifestation</b></td><td><b>Onset</b></td></tr><tr><td>*</td><td>Hives <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT[US]</a>#247472004)</span></td><td>2017-06-09</td></tr></table></div>"
  ] ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ]     ] )
  ] ; # 
  fhir:verificationStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
fhir:code [ fhir:v "confirmed" ] ;
fhir:display [ fhir:v "Confirmed" ]     ] )
  ] ; # 
  fhir:category ( [ fhir:v "medication"] ) ; # 
  fhir:criticality [ fhir:v "high"] ; # 
  fhir:code [
    ( fhir:coding [
a sct:762952008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/731000124108" ] ;
fhir:code [ fhir:v "762952008" ] ;
fhir:display [ fhir:v "Peanuts" ]     ] ) ;
fhir:text [ fhir:v "Peanuts" ]
  ] ; # 
  fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:onset [ fhir:v "2017-06-09"^^xsd:date] ; # 
  fhir:reaction ( [
    ( fhir:manifestation [
      ( fhir:coding [
a sct:247472004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:version [ fhir:v "http://snomed.info/sct/731000124108" ] ;
fhir:code [ fhir:v "247472004" ] ;
fhir:display [ fhir:v "Hives" ]       ] )     ] ) ;
fhir:onset [ fhir:v "2017-06-09"^^xsd:date ]
  ] ) . # 

<http://example.org/Provenance/79614> a fhir:Provenance ;
  fhir:id [ fhir:v "79614"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "1" ] ;
fhir:lastUpdated [ fhir:v "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Provenance</b><a name=\"79614\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Provenance &quot;79614&quot; Version &quot;1&quot; Updated &quot;2019-07-09 15:26:23+0000&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-provenance.html\">US Core Provenance Profile</a></p></div><p><b>target</b>: <a href=\"#AllergyIntolerance_79613\">See above (AllergyIntolerance/79613)</a></p><p><b>recorded</b>: Jul 9, 2019, 3:26:23 PM</p><blockquote><p><b>agent</b></p><p><b>type</b>: Author <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#author)</span></p><p><b>who</b>: <a href=\"Practitioner-practitioner-1.html\">Practitioner/practitioner-1</a> &quot; BONE&quot;</p><p><b>onBehalfOf</b>: <a href=\"Organization-saint-luke-w-endpoint.html\">Organization/saint-luke-w-endpoint</a> &quot;Saint Luke's Hospital of Kansas City&quot;</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Author <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#author)</span></p><p><b>who</b>: <a href=\"Practitioner-practitioner-2.html\">Practitioner/practitioner-2</a> &quot; KATHY&quot;</p><p><b>onBehalfOf</b>: <a href=\"Organization-saint-luke-w-endpoint.html\">Organization/saint-luke-w-endpoint</a> &quot;Saint Luke's Hospital of Kansas City&quot;</p></blockquote></div>"
  ] ; # 
  fhir:target ( [
fhir:reference [ fhir:v "AllergyIntolerance/79613" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime] ; # 
  fhir:agent ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "author" ] ;
fhir:display [ fhir:v "Author" ]       ] )     ] ;
fhir:who [
fhir:reference [ fhir:v "Practitioner/practitioner-1" ]     ] ;
fhir:onBehalfOf [
fhir:reference [ fhir:v "Organization/saint-luke-w-endpoint" ]     ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "author" ] ;
fhir:display [ fhir:v "Author" ]       ] )     ] ;
fhir:who [
fhir:reference [ fhir:v "Practitioner/practitioner-2" ]     ] ;
fhir:onBehalfOf [
fhir:reference [ fhir:v "Organization/saint-luke-w-endpoint" ]     ]
  ] ) . #