US Core Implementation Guide
10.0.0-ballot - STU 10 Ballot United States of America flag

US Core Implementation Guide, published by HL7 International / Cross-Group Projects. This guide is not an authorized publication; it is the continuous build for version 10.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/US-Core/ and changes regularly. See the Directory of published versions

: AllergyIntolerance Provenance Example 1 - 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 -------------------------------------------------------------------

<http://hl7.org/fhir/Bundle/allergyintolerance-provenance-example1> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "allergyintolerance-provenance-example1"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2019-07-09T18:49:01.235+00:00"^^xsd:dateTime ]
  ] ;
  fhir:Bundle.type [ fhir:value "searchset"] ;
  fhir:Bundle.total [ fhir:value "1"^^xsd:nonNegativeInteger] ;
  fhir:Bundle.link [
     fhir:index 0 ;
     fhir:Bundle.link.relation [ fhir:value "self" ] ;
     fhir:Bundle.link.url [ fhir:value "http://example.org/fhir/AllergyIntolerance?patient=Patient/example&_revinclude=Provenance:target" ]
  ] ;
  fhir:Bundle.entry [
     fhir:index 0 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/AllergyIntolerance/79613" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/AllergyIntolerance/79613> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "match" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://example.org/fhir/Provenance/79614" ] ;
     fhir:Bundle.entry.resource <http://example.org/fhir/Provenance/79614> ;
     fhir:Bundle.entry.search [
       fhir:Bundle.entry.search.mode [ fhir:value "include" ]
     ]
  ] .

<http://example.org/fhir/AllergyIntolerance/79613> a fhir:AllergyIntolerance ;
  fhir:Resource.id [ fhir:value "79613"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"AllergyIntolerance_79613\"> </a><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance 79613</b></p><a name=\"79613\"> </a><a name=\"hc79613\"> </a><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\">version: 1; Last updated: 2019-07-09 15:26:23+0000</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>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical active}\">Active</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification confirmed}\">Confirmed</span></p><p><b>category</b>: Medication</p><p><b>criticality</b>: High Risk</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 762952008}\">Peanuts</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Amy V. Baxter  (no stated gender), DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>onset</b>: 2017-06-09</p><h3>Reactions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Manifestation</b></td><td><b>Onset</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://snomed.info/sct 247472004}\">Hives</span></td><td>2017-06-09</td></tr></table></div>"
  ] ;
  fhir:AllergyIntolerance.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ] ;
       fhir:Coding.code [ fhir:value "active" ] ;
       fhir:Coding.display [ fhir:value "Active" ]
     ]
  ] ;
  fhir:AllergyIntolerance.verificationStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ] ;
       fhir:Coding.code [ fhir:value "confirmed" ] ;
       fhir:Coding.display [ fhir:value "Confirmed" ]
     ]
  ] ;
  fhir:AllergyIntolerance.category [
     fhir:value "medication" ;
     fhir:index 0
  ] ;
  fhir:AllergyIntolerance.criticality [ fhir:value "high"] ;
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:762952008 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.version [ fhir:value "http://snomed.info/sct/731000124108" ] ;
       fhir:Coding.code [ fhir:value "762952008" ] ;
       fhir:Coding.display [ fhir:value "Peanuts" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Peanuts" ]
  ] ;
  fhir:AllergyIntolerance.patient [
     fhir:link <http://hl7.org/fhir/Patient/example> ;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ] ;
  fhir:AllergyIntolerance.onsetDateTime [ fhir:value "2017-06-09"^^xsd:date] ;
  fhir:AllergyIntolerance.reaction [
     fhir:index 0 ;
     fhir:AllergyIntolerance.reaction.manifestation [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a sct:247472004 ;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
         fhir:Coding.version [ fhir:value "http://snomed.info/sct/731000124108" ] ;
         fhir:Coding.code [ fhir:value "247472004" ] ;
         fhir:Coding.display [ fhir:value "Hives" ]
       ]
     ] ;
     fhir:AllergyIntolerance.reaction.onset [ fhir:value "2017-06-09"^^xsd:date ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://example.org/fhir/Provenance/79614> a fhir:Provenance ;
  fhir:Resource.id [ fhir:value "79614"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "1" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_79614\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Provenance 79614</b></p><a name=\"79614\"> </a><a name=\"hc79614\"> </a><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\">version: 1; Last updated: 2019-07-09 15:26:23+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-core-provenance.html\">US Core Provenance Profile</a></p></div><p>Provenance for <a href=\"Bundle-allergyintolerance-provenance-example1.html#AllergyIntolerance_79613\">AllergyIntolerance Peanuts</a></p><p>Summary</p><table class=\"grid\"><tr><td>Recorded</td><td>2019-07-09 15:26:23+0000</td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>Type</b></td><td><b>who</b></td><td><b>On Behalf Of</b></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"Practitioner-practitioner-1.html\">Practitioner Ronald Bone </a></td><td><a href=\"Organization-saint-luke-w-endpoint.html\">Organization Saint Luke's Hospital of Kansas City</a></td></tr><tr><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/provenance-participant-type author}\">Author</span></td><td><a href=\"Practitioner-practitioner-2.html\">Practitioner Fielding Kathy </a></td><td><a href=\"Organization-saint-luke-w-endpoint.html\">Organization Saint Luke's Hospital of Kansas City</a></td></tr></table></div>"
  ] ;
  fhir:Provenance.target [
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/AllergyIntolerance/79613/_history/1> ;
     fhir:Reference.reference [ fhir:value "AllergyIntolerance/79613/_history/1" ]
  ] ;
  fhir:Provenance.recorded [ fhir:value "2019-07-09T15:26:23.217+00:00"^^xsd:dateTime] ;
  fhir:Provenance.agent [
     fhir:index 0 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "author" ] ;
         fhir:Coding.display [ fhir:value "Author" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Practitioner/practitioner-1> ;
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ]
     ] ;
     fhir:Provenance.agent.onBehalfOf [
       fhir:link <http://hl7.org/fhir/Organization/saint-luke-w-endpoint> ;
       fhir:Reference.reference [ fhir:value "Organization/saint-luke-w-endpoint" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Provenance.agent.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ] ;
         fhir:Coding.code [ fhir:value "author" ] ;
         fhir:Coding.display [ fhir:value "Author" ]
       ]
     ] ;
     fhir:Provenance.agent.who [
       fhir:link <http://hl7.org/fhir/Practitioner/practitioner-2> ;
       fhir:Reference.reference [ fhir:value "Practitioner/practitioner-2" ]
     ] ;
     fhir:Provenance.agent.onBehalfOf [
       fhir:link <http://hl7.org/fhir/Organization/saint-luke-w-endpoint> ;
       fhir:Reference.reference [ fhir:value "Organization/saint-luke-w-endpoint" ]
     ]
  ] .

<http://hl7.org/fhir/AllergyIntolerance/79613/_history/1> a fhir:AllergyIntolerance .

<http://hl7.org/fhir/Practitioner/practitioner-1> a fhir:Practitioner .

<http://hl7.org/fhir/Organization/saint-luke-w-endpoint> a fhir:Organization .

<http://hl7.org/fhir/Practitioner/practitioner-2> a fhir:Practitioner .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Bundle/allergyintolerance-provenance-example1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/Bundle/allergyintolerance-provenance-example1.ttl> .