QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions
: AllergyIntolerance refuted 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:AllergyIntolerance ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example-refuted"] ; #
fhir:meta [
( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance> ] )
] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: AllergyIntolerance example-refuted</b></p><a name=\"example-refuted\"> </a><a name=\"hcexample-refuted\"> </a><a name=\"example-refuted-en-US\"> </a><p><b>identifier</b>: <code>http://acme.com/ids/patients/risks</code>/49476534</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical inactive}\">Inactive</span></p><p><b>verificationStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/allergyintolerance-verification refuted}\">Refuted</span></p><p><b>type</b>: Allergy</p><p><b>category</b>: Food</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 227493005}\">Cashew nuts</span></p><p><b>patient</b>: <a href=\"Patient-example.html\">Jim Chalmers Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))</a></p><p><b>recordedDate</b>: 2014-10-09 14:58:00+1100</p><p><b>recorder</b>: <a href=\"Practitioner-example.html\">Practitioner Adam Careful </a></p><p><b>asserter</b>: <a href=\"Patient-example.html\">Jim Chalmers Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --> (ongoing)))</a></p></div>"
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://acme.com/ids/patients/risks"^^xsd:anyURI ] ;
fhir:value [ fhir:v "49476534" ]
] ) ; # an identifier used for this allergic propensity (adverse reaction risk)
fhir:clinicalStatus [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "inactive" ] ] )
] ; # this allergy has been refuted
fhir:verificationStatus [
( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
fhir:code [ fhir:v "refuted" ] ] )
] ; #
fhir:type [ fhir:v "allergy"] ; #
fhir:category ( [ fhir:v "food"] ) ; # this categorisation is implied by "cashew nut" and therefore basically
# redundant, but many systems collect this field anyway, since it's either
# useful when the substance is not coded, or it's quicker to sort/filter on
# than using terminology based reasoning
fhir:code [
( fhir:coding [
a sct:227493005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "227493005" ] ;
fhir:display [ fhir:v "Cashew nuts" ] ] )
] ; # Allergy or intolerance code (substance, product, condition or negated/excluded statement)
# or text. A few times,
# there's a full description of a complex substance/product - in these caes, use the
# extension [url] to refer to a Substance resource.
fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
] ; # the patient that actually has the risk of adverse reaction
fhir:recordedDate [ fhir:v "2014-10-09T14:58:00+11:00"^^xsd:dateTime] ; # the date that this entry was recorded
fhir:recorder [
fhir:reference [ fhir:v "Practitioner/example" ]
] ; # who made the record / last updated it
fhir:asserter [
fhir:reference [ fhir:v "Patient/example" ]
] . # the patient is the reporter in this case