Dental Data Exchange
1.0.0 - STU 1

This page is part of the Dental Data Exchange (v1.0.0: STU1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Allergy example 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:AllergyIntolerance;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "Allergy-example-dental"];
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "4" ];
     fhir:Meta.lastUpdated [ fhir:value "2020-08-06T17:04:21.858+00:00"^^xsd:dateTime ];
     fhir:Meta.source [ fhir:value "#E8CdDQ0mBY5KkSU9" ];
     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\"><p><b>Generated Narrative</b></p><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</p><p><b>code</b>: <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 7980}\">Penicillin G (Ingredient)</span></p><p><b>patient</b>: <a href=\"Patient-example-dental.html\">Patient A. Generated Summary: Medical Record Number: 5152020 (USUAL); active: true; Patient A ; Phone: 123-456-7890, testA@email.com; gender: male; birthDate: 1990-01-01</a></p><p><b>onset</b>: 1998-05-01</p></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: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:AllergyIntolerance.category [
     fhir:value "medication";
     fhir:index 0
  ];
  fhir:AllergyIntolerance.criticality [ fhir:value "high"];
  fhir:AllergyIntolerance.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.nlm.nih.gov/research/umls/rxnorm" ];
       fhir:Coding.code [ fhir:value "7980" ];
       fhir:Coding.display [ fhir:value "Penicillin G" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Penicillin G (Ingredient)" ]
  ];
  fhir:AllergyIntolerance.patient [
     fhir:Reference.reference [ fhir:value "Patient/example-dental" ];
     fhir:Reference.display [ fhir:value "Patient A" ]
  ];
  fhir:AllergyIntolerance.onsetDateTime [ fhir:value "1998-05-01"^^xsd:date].

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

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