Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example List/current-allergies (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of current allergies list and List For extension

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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:List;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "current-allergies"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>List prepared for Dr Adam Careful</p>\n      <p>Patient Peter Chalmers, DOB = Dec 25, 1974, MRN = 12345 (Acme Healthcare) has the following allergies</p>\n      <ul>\n        <li>cashew nut allergenic extract Injectable Product (<b>High</b>)</li>\n        <li>Allergenic extract, penicillin (high)</li>\n      </ul>\n    </div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/list-for" ];
     fhir:Extension.valueReference [
       fhir:Reference.reference [ fhir:value "Patient/example" ];
       fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
     ]
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "working"];
  fhir:List.title [ fhir:value "Current Allergy List"];
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:52472-8;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "52472-8" ];
       fhir:Coding.display [ fhir:value "Allergies and Adverse Drug Reactions" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Current Allergy List" ]
  ];
  fhir:List.date [ fhir:value "2015-07-14T23:10:23+11:00"^^xsd:dateTime];
  fhir:List.source [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:List.orderedBy [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/list-order" ];
       fhir:Coding.code [ fhir:value "entry-date" ]
     ]
  ];
  fhir:List.entry [
     fhir:index 0;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "AllergyIntolerance/example" ]
     ]
  ], [
     fhir:index 1;
     fhir:List.entry.item [
       fhir:Reference.reference [ fhir:value "AllergyIntolerance/medication" ]
     ]
  ]] .

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

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

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.