QI-Core Implementation Guide: STU 4 (v4.0.0 for FHIR 4.0.1)

QI-Core Implementation Guide - This is the current published version.. See the Directory of published versions

Encounter/example

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@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.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter>     ]
  ];
  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>: example</p><p><b>meta</b>: </p><p><b>status</b>: in-progress</p><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>type</b>: Inpatient Hospital Care <span style=\"background: LightGoldenRodYellow\">(Details : {http://www.ama-assn.org/go/cpt code '99223' = '99223', given as 'Inpatient Hospital Care'})</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25; </a></p><h3>Diagnoses</h3><table class=\"grid\"><tr><td>-</td><td><b>Extension</b></td><td><b>Condition</b></td></tr><tr><td>*</td><td/><td><a href=\"Condition-appendicitis-example.html\">Generated Summary: id: appendicitis-example; <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span>; <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-ver-status confirmed}\">Confirmed</span>; <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span>; <span title=\"Codes: {http://snomed.info/sct 24484000}\">Severe (severity modifier)</span>; <span title=\"Codes: {http://snomed.info/sct 74400008}\">Appendicitis</span>; <span title=\"Codes: {http://snomed.info/sct 66754008}\">Appendix structure</span>; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM</a></td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure" ];
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "type" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a sct:80146002;
           fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
           fhir:Coding.code [ fhir:value "80146002" ];
           fhir:Coding.display [ fhir:value "Excision of appendix (procedure)" ]         ];
         fhir:CodeableConcept.text [ fhir:value "Excision of appendix (procedure)" ]       ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "rank" ];
       fhir:Extension.valuePositiveInt [ fhir:value "1"^^xsd:positiveInteger ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "procedure" ];
       fhir:Extension.valueReference [
         fhir:Reference.reference [ fhir:value "Procedure/example" ]       ]     ]
  ];
  fhir:Encounter.status [ fhir:value "in-progress"];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "IMP" ];
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://www.ama-assn.org/go/cpt" ];
       fhir:Coding.code [ fhir:value "99223" ];
       fhir:Coding.display [ fhir:value "Inpatient Hospital Care" ]     ]
  ];
  fhir:Encounter.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission" ];
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission" ];
           fhir:Coding.code [ fhir:value "y" ];
           fhir:Coding.display [ fhir:value "Yes" ]         ]       ]     ];
     fhir:Encounter.diagnosis.condition [
       fhir:Reference.reference [ fhir:value "Condition/appendicitis-example" ]     ]
  ].

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

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