US Meds Implementation Guide (Release 1)

This page is part of the US-Medication FHIR IG (v1.0.0: STU 1) based on FHIR R3. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions

Example: Encounter-A

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@prefix fhir: <http://hl7.org/fhir/STU3/> .
@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:Encounter;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "A"];
  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>: A</p><p><b>status</b>: finished</p><p><b>class</b>: inpatient encounter (Details: http://hl7.org/fhir/STU3/v3/ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>subject</b>: <a href=\"Patient-test2.html\">Generated Summary: id: test2; Medical Record Number = 1032702 (USUAL); active; Brian Z ; ph: 555-555-5555(HOME); gender: male; birthDate: 05/01/1964</a></p><p><b>period</b>: 10/09/2016 --&gt; 12/09/2016</p></div>"
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://hl7.org/fhir/STU3/v3/ActCode" ];
     fhir:Coding.code [ fhir:value "IMP" ];
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/test2" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2016-09-10"^^xsd:date ];
     fhir:Period.end [ fhir:value "2016-09-12"^^xsd:date ]
  ].

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

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