LinuxForHealth FHIR Implementation Guide
8.0.0 - draft United States of America flag

LinuxForHealth FHIR Implementation Guide - Local Development build (v8.0.0). See the Directory of published versions

: CDM 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 "CDMEncounterExample"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/tenant-id" ];
       fhir:Extension.valueString [ fhir:value "99999" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/ingestion-batch-id" ];
       fhir:Extension.valueString [ fhir:value "b069a545-9506-40c6-8498-23de2e189143" ]     ];
     fhir:Meta.source [ fhir:value "http://acme-health.com/emr1" ];
     fhir:Meta.profile [
       fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/cdm-encounter";
       fhir:index 0;
       fhir:link <http://linuxforhealth.org/fhir/cdm/StructureDefinition/cdm-encounter>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"CDMEncounterExample\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter \"CDMEncounterExample\" </p><p style=\"margin-bottom: 0px\">Information Source: http://acme-health.com/emr1!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cdm-encounter.html\">CDM Encounter</a></p></div><p><b>Claim Type</b>: Financial information coming from the clinical data set <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-payer-claim-type.html\">Payer Claim Type Codes</a>#financial)</span></p><p><b>identifier</b>: Source System Row Identifier: e17be8c4-07be-43d2-a53c-9487881f6f70(use: OFFICIAL)</p><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>type</b>: Patient-initiated encounter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#270427003)</span></p><p><b>serviceType</b>: 367 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#367)</span></p><p><b>priority</b>: routine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ActPriority.html\">ActPriority</a>#R)</span></p><p><b>subject</b>: <a href=\"Patient-CDMPatientInstance.html\">Patient/CDMPatientInstance</a> \" MCLASTNAME\"</p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Period</b></td><td><b>Individual</b></td></tr><tr><td>*</td><td>primary performer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PPRF)</span></td><td>2020-04-15 09:00:00+0000 --&gt; 2020-04-15 09:15:00+0000</td><td><a href=\"Practitioner-DrKelly.html\">Practitioner/DrKelly</a> \" KELLY\"</td></tr></table><p><b>appointment</b>: <a href=\"Appointment-AppointmentExample.html\">Appointment/AppointmentExample</a></p><p><b>period</b>: 2020-04-15 09:00:00+0000 --&gt; 2020-04-15 09:15:00+0000</p><p><b>reasonCode</b>: Benign essential hypertension <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#1201005)</span></p><p><b>reasonReference</b>: <a href=\"Procedure-CDMProcedureExample.html\">Procedure/CDMProcedureExample</a></p><h3>Diagnoses</h3><table class=\"grid\"><tr><td>-</td><td><b>Condition</b></td><td><b>Use</b></td><td><b>Rank</b></td></tr><tr><td>*</td><td><a href=\"Condition-CDMConditionExample.html\">Condition/CDMConditionExample</a></td><td>Billing <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-diagnosis-role.html\">DiagnosisRole</a>#billing)</span></td><td>1</td></tr></table><h3>Locations</h3><table class=\"grid\"><tr><td>-</td><td><b>Location</b></td><td><b>Status</b></td><td><b>PhysicalType</b></td><td><b>Period</b></td></tr><tr><td>*</td><td><a href=\"Location-KellyClinic.html\">Location/KellyClinic</a> \"Kelly Clinic\"</td><td>completed</td><td>Building <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-location-physical-type.html\">Location type</a>#bu)</span></td><td>2020-04-15 09:00:00+0000 --&gt; 2020-04-15 09:15:00+0000</td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-GeneralHospital.html\">Organization/GeneralHospital</a> \"General Hospital\"</p></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/claim-type" ];
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/payer-claim-type" ];
         fhir:Coding.code [ fhir:value "financial" ]       ]     ]
  ];
  fhir:Encounter.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "official" ];
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://linuxforhealth.org/fhir/cdm/CodeSystem/identifier-type" ];
         fhir:Coding.code [ fhir:value "SSRI" ]       ]     ];
     fhir:Identifier.system [ fhir:value "http://acme-health.com/emr1/encounter" ];
     fhir:Identifier.value [ fhir:value "e17be8c4-07be-43d2-a53c-9487881f6f70" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Acme Health - EMR1" ]     ]
  ];
  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:270427003;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "270427003" ];
       fhir:Coding.display [ fhir:value "Patient-initiated encounter" ]     ]
  ];
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.518" ];
       fhir:Coding.code [ fhir:value "367" ]     ]
  ];
  fhir:Encounter.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActPriority" ];
       fhir:Coding.code [ fhir:value "R" ];
       fhir:Coding.display [ fhir:value "routine" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/CDMPatientInstance" ]
  ];
  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "PPRF" ];
         fhir:Coding.display [ fhir:value "primary performer" ]       ]     ];
     fhir:Encounter.participant.period [
       fhir:Period.start [ fhir:value "2020-04-15T09:00:00Z"^^xsd:dateTime ];
       fhir:Period.end [ fhir:value "2020-04-15T09:15:00Z"^^xsd:dateTime ]     ];
     fhir:Encounter.participant.individual [
       fhir:Reference.reference [ fhir:value "Practitioner/DrKelly" ]     ]
  ];
  fhir:Encounter.appointment [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Appointment/AppointmentExample" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2020-04-15T09:00:00Z"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2020-04-15T09:15:00Z"^^xsd:dateTime ]
  ];
  fhir:Encounter.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:1201005;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "1201005" ];
       fhir:Coding.display [ fhir:value "Benign essential hypertension" ]     ]
  ];
  fhir:Encounter.reasonReference [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://linuxforhealth.org/fhir/cdm/StructureDefinition/reference-sequence" ];
       fhir:Extension.valuePositiveInt [ fhir:value "1"^^xsd:positiveInteger ]     ];
     fhir:Reference.reference [ fhir:value "Procedure/CDMProcedureExample" ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/CDMConditionExample" ]     ];
     fhir:Encounter.diagnosis.use [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ];
         fhir:Coding.code [ fhir:value "billing" ];
         fhir:Coding.display [ fhir:value "Billing" ]       ]     ];
     fhir:Encounter.diagnosis.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ];
  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "Location/KellyClinic" ]     ];
     fhir:Encounter.location.status [ fhir:value "completed" ];
     fhir:Encounter.location.physicalType [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/location-physical-type" ];
         fhir:Coding.code [ fhir:value "bu" ];
         fhir:Coding.display [ fhir:value "Building" ]       ]     ];
     fhir:Encounter.location.period [
       fhir:Period.start [ fhir:value "2020-04-15T09:00:00Z"^^xsd:dateTime ];
       fhir:Period.end [ fhir:value "2020-04-15T09:15:00Z"^^xsd:dateTime ]     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/GeneralHospital" ]
  ].

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

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