Common Data Models Harmonization
1.0.0 - STU 1 Publication

This page is part of the Common Data Models Harmonization FHIR IG (v1.0.0: STU 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: CDMH Encounter - 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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:Encounter;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2017-05-26T11:56:57.250-04:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-encounter>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Encounter Example</b></p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-drg-group" ];
     fhir:Extension.valueCode [ fhir:value "F" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-drg-group-version" ];
     fhir:Extension.valueCode [ fhir:value "02" ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "AMB" ];
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:308335008;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "308335008" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Office Visit" ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2015-11-01T17:00:14-05:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2015-11-01T18:00:14-05:00"^^xsd:dateTime ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-diagnosis-origin" ];
       fhir:Extension.valueCode [ fhir:value "OD" ]     ];
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/example" ]     ];
     fhir:Encounter.diagnosis.use [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/cdmh/CodeSystem/pcornet-diagnosis-classification-codes" ];
         fhir:Coding.code [ fhir:value "AD" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Office Visit" ]     ]
  ];
  fhir:Encounter.hospitalization [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-admitting-source-facility-type" ];
       fhir:Extension.valueCode [ fhir:value "AF" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-pcornet-discharge-status" ];
       fhir:Extension.valueCode [ fhir:value "HH" ]     ];
     fhir:Encounter.hospitalization.origin [
       fhir:Reference.reference [ fhir:value "Location/example" ]     ];
     fhir:Encounter.hospitalization.dischargeDisposition [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/cdmh/CodeSystem/pcornet-discharge-disposition" ];
         fhir:Coding.code [ fhir:value "A" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Discharged Alive" ]     ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "Location/example" ]     ]
  ].

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

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