International Patient Summary Implementation Guide
1.0.0 - STU 1

This page is part of the International Patient Summary Implementation Guide (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions

Observation: SH alcoholuse example - TTL Representation

(back to description)

Raw ttl

Source view

@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:Observation;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "alcoholuse-example"];
  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>: alcoholuse-example</p><p><b>status</b>: final</p><p><b>code</b>: Alcoholic drinks per day <span style=\"background: LightGoldenRodYellow\">(Details : {LOINC code '74013-4' = 'Alcoholic drinks per day', given as 'Alcoholic drinks per day'})</span></p><p><b>subject</b>: <a href=\"Patient-patient-example-female.html\">Generated Summary: id: patient-example-female; 574687583; active; Martha DeLarosa ; ph: +31788700800(HOME); gender: female; birthDate: 1992-05-01</a></p><p><b>effective</b>: Jul 15, 2019 12:00:00 AM</p><p><b>value</b>: 2 {wine glasses}/d<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code {wine glasses}/d = '{wine glasses}/d')</span></p></div>"
  ];
  fhir:Observation.status [ fhir:value "final"];
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:74013-4;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "74013-4" ];
       fhir:Coding.display [ fhir:value "Alcoholic drinks per day" ]     ]
  ];
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "Patient/patient-example-female" ]
  ];
  fhir:Observation.effectiveDateTime [ fhir:value "2019-07-15"^^xsd:date];
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ];
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
     fhir:Quantity.code [ fhir:value "{wine glasses}/d" ]
  ].

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

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