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 Appointment 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:Appointment;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "AppointmentExample"];
  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-appointment";
       fhir:index 0;
       fhir:link <http://linuxforhealth.org/fhir/cdm/StructureDefinition/cdm-appointment>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Appointment</b><a name=\"AppointmentExample\"> </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 Appointment \"AppointmentExample\" </p><p style=\"margin-bottom: 0px\">Information Source: http://acme-health.com/emr1!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cdm-appointment.html\">CDM Appointment</a></p></div><p><b>identifier</b>: Source System Row Identifier: 7e5ce175-e626-43ec-b8d2-9c1c1207e9ba(use: OFFICIAL)</p><p><b>status</b>: booked</p><p><b>serviceCategory</b>: 17 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#17)</span></p><p><b>serviceType</b>: 367 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#367)</span></p><p><b>specialty</b>: General medicine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#394802001)</span></p><p><b>appointmentType</b>: A routine check-up, such as an annual physical <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v2-0276.html\">appointmentReason</a>#CHECKUP)</span></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>start</b>: Apr 15, 2020, 9:00:00 AM</p><p><b>end</b>: Apr 15, 2020, 9:15:00 AM</p><p><b>minutesDuration</b>: 15</p><p><b>created</b>: 2020-04-01 11:45:00+0000</p><p><b>comment</b>: Patient medications working as expected. DM under control. Refill Bytolic and Valartan.</p><p><b>patientInstruction</b>: Take your meds every day.  Excercise more, eat less!</p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Patient-CDMPatientInstance.html\">Patient/CDMPatientInstance</a> \" MCLASTNAME\"</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: 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></p><p><b>actor</b>: <a href=\"Practitioner-DrKelly.html\">Practitioner/DrKelly</a> \" KELLY\"</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p><p><b>period</b>: 2020-04-15 09:00:00+0000 --&gt; 2020-04-15 09:15:00+0000</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\"Location-KellyClinic.html\">Location/KellyClinic</a> \"Kelly Clinic\"</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p><p><b>period</b>: 2020-04-15 09:00:00+0000 --&gt; 2020-04-15 09:15:00+0000</p></blockquote></div>"
  ];
  fhir:Appointment.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/appointment" ];
     fhir:Identifier.value [ fhir:value "7e5ce175-e626-43ec-b8d2-9c1c1207e9ba" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "Acme Health - EMR1" ]     ]
  ];
  fhir:Appointment.status [ fhir:value "booked"];
  fhir:Appointment.serviceCategory [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:oid:2.16.840.1.113883.4.642.3.516" ];
       fhir:Coding.code [ fhir:value "17" ]     ]
  ];
  fhir:Appointment.serviceType [
     fhir:index 0;
     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:Appointment.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:394802001;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "394802001" ];
       fhir:Coding.display [ fhir:value "General medicine" ]     ]
  ];
  fhir:Appointment.appointmentType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0276" ];
       fhir:Coding.code [ fhir:value "CHECKUP" ]     ]
  ];
  fhir:Appointment.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:Appointment.start [ fhir:value "2020-04-15T09:00:00Z"^^xsd:dateTime];
  fhir:Appointment.end [ fhir:value "2020-04-15T09:15:00Z"^^xsd:dateTime];
  fhir:Appointment.minutesDuration [ fhir:value "15"^^xsd:positiveInteger];
  fhir:Appointment.created [ fhir:value "2020-04-01T11:45:00Z"^^xsd:dateTime];
  fhir:Appointment.comment [ fhir:value "Patient medications working as expected. DM under control. Refill Bytolic and Valartan."];
  fhir:Appointment.patientInstruction [ fhir:value "Take your meds every day.  Excercise more, eat less!"];
  fhir:Appointment.participant [
     fhir:index 0;
     fhir:Appointment.participant.actor [
       fhir:Reference.reference [ fhir:value "Patient/CDMPatientInstance" ]     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index 1;
     fhir:Appointment.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:Appointment.participant.actor [
       fhir:Reference.reference [ fhir:value "Practitioner/DrKelly" ]     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ];
     fhir:Appointment.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:index 2;
     fhir:Appointment.participant.actor [
       fhir:Reference.reference [ fhir:value "Location/KellyClinic" ]     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ];
     fhir:Appointment.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 ]     ]
  ].

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

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