HL7 FHIR® UK Core
4.0.0 - CI Build

HL7 FHIR® UK Core - Local Development build (v4.0.0). See the Directory of published versions

AllergyIntolerance-UKCore-AllergyIntolerance-Example - TTL Representation

(back to description)

Raw ttl

Source view

@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:Resource.id [ fhir:value "UKCore-AllergyIntolerance-Example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-AllergyIntolerance";
       fhir:index 0;
       fhir:link <https://fhir.nhs.uk/R4/StructureDefinition/UKCore-AllergyIntolerance>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: UKCore-AllergyIntolerance-Example</p><p><b>meta</b>: </p><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow\">(Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'active' = 'Active', given as 'Active'})</span></p><p><b>verificationStatus</b>: Confirmed <span style=\"background: LightGoldenRodYellow\">(Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'confirmed' = 'Confirmed', given as 'Confirmed'})</span></p><p><b>type</b>: allergy</p><p><b>category</b>: medication</p><p><b>code</b>: Amoxicillin <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '372687004' = 'Amoxicillin (substance)', given as 'Amoxicillin'})</span></p><p><b>patient</b>: <a href=\"AllergyIntolerance-UKCore-AllergyIntolerance-Example.html\">Generated Summary: id: UKCore-Patient-Example; 9912003888; Richard SMITH (OFFICIAL); ph: 01131231234; gender: male; birthDate: 1970-09-11</a></p><p><b>encounter</b>: <a href=\"AllergyIntolerance-UKCore-AllergyIntolerance-Example.html\">Generated Summary: id: UKCore-Encounter-Example; 6f40cebe-7b55-461d-9d7f-eadb4c065762; status: finished; <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActCode IMP}\">inpatient encounter</span>; <span title=\"Codes: {http://snomed.info/sct 185212007}\">Seen in hospital ward (finding)</span>; period: 10 Dec 2019, 13:00:00 --&gt; 11 Dec 2019, 13:00:00; <span title=\"Codes: {http://snomed.info/sct 7922000}\">General treatment (procedure)</span></a></p><p><b>recordedDate</b>: 10 Dec 2019, 13:00:00</p><p><b>recorder</b>: <a href=\"AllergyIntolerance-UKCore-AllergyIntolerance-Example.html\">Generated Summary: id: UKCore-Practitioner-Example; G12345678; Paul Rastall ; ph: 0113 6323200(WORK); gender: male</a></p><p><b>asserter</b>: <a href=\"AllergyIntolerance-UKCore-AllergyIntolerance-Example.html\">Generated Summary: id: UKCore-Practitioner-Example; G12345678; Paul Rastall ; ph: 0113 6323200(WORK); gender: male</a></p><h3>Reactions</h3><table class=\"grid\"><tr><td>-</td><td><b>Manifestation</b></td><td><b>Severity</b></td></tr><tr><td>*</td><td>Urticarial rash <span style=\"background: LightGoldenRodYellow\">(Details : {SNOMED CT code '247472004' = 'Weal', given as 'Urticarial rash'})</span></td><td>mild</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.type [ fhir:value "allergy"];
  fhir:AllergyIntolerance.category [
     fhir:value "medication";
     fhir:index 0
  ];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:372687004;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "372687004" ];
       fhir:Coding.display [ fhir:value "Amoxicillin" ]     ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/UKCore-Patient-Example" ]
  ];
  fhir:AllergyIntolerance.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/UKCore-Encounter-Example" ]
  ];
  fhir:AllergyIntolerance.recordedDate [ fhir:value "2019-12-10T13:00:00+00:00"^^xsd:dateTime];
  fhir:AllergyIntolerance.recorder [
     fhir:Reference.reference [ fhir:value "Practitioner/UKCore-Practitioner-Example" ]
  ];
  fhir:AllergyIntolerance.asserter [
     fhir:Reference.reference [ fhir:value "Practitioner/UKCore-Practitioner-Example" ]
  ];
  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.code [ fhir:value "247472004" ];
         fhir:Coding.display [ fhir:value "Urticarial rash" ]       ]     ];
     fhir:AllergyIntolerance.reaction.severity [ fhir:value "mild" ]
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.