US Core Implementation Guide
4.0.0 - STU4 Release

This page is part of the US Core (v4.0.0: STU4) based on FHIR R4. The current version which supercedes this version is 5.0.1. For a full list of available versions, see the Directory of published versions

: Episode Summary Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@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:DocumentReference;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "episode-summary"];
  fhir:Resource.meta [
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-name" ];
       fhir:Extension.valueString [ fhir:value "Episode Summary Example" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/instance-description" ];
       fhir:Extension.valueMarkdown [ fhir:value "This is a episode summary example for the *US Core DocumentReference Profile*." ]     ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>identifier</b>: id: urn:oid:2.16.840.1.113883.19.5.99999.1</p><p><b>status</b>: current</p><p><b>type</b>: <span title=\"Codes: {http://loinc.org 34133-9}\">CCD Document</span></p><p><b>category</b>: <span title=\"Codes: {http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw. Generated Summary: Medical Record Number: 1032702 (USUAL); active; Amy V. Shaw , Amy V. Baxter ; Phone: 555-555-5555, amy.shaw@example.com; gender: female; birthDate: 1987-02-20</a></p><p><b>date</b>: Mar 9, 2016 3:29:46 PM</p><p><b>author</b>: <a href=\"Practitioner-practitioner-1.html\">Ronald Bone, MD. Generated Summary: id: 9941339108, id: 25456; Ronald Bone </a></p><p><b>description</b>: Pulmonology clinic acute visit</p><blockquote><p><b>content</b></p><p><b>format</b>: <span title=\"{urn:oid:1.3.6.1.4.1.19376.1.2.3 urn:hl7-org:sdwg:ccda-structuredBody:2.1}\">Documents following C-CDA constraints using a structured body</span></p></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td>-</td><td><b>Period</b></td></tr><tr><td>*</td><td>Dec 22, 2004 9:00:00 PM --&gt; Dec 22, 2004 9:01:00 PM</td></tr></table></div>"
  ];
  fhir:DocumentReference.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.19.5.99999.1" ]
  ];
  fhir:DocumentReference.status [ fhir:value "current"];
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:34133-9;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "34133-9" ];
       fhir:Coding.display [ fhir:value "Summary of episode note" ]     ];
     fhir:CodeableConcept.text [ fhir:value "CCD Document" ]
  ];
  fhir:DocumentReference.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" ];
       fhir:Coding.code [ fhir:value "clinical-note" ];
       fhir:Coding.display [ fhir:value "Clinical Note" ]     ];
     fhir:CodeableConcept.text [ fhir:value "Clinical Note" ]
  ];
  fhir:DocumentReference.subject [
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Amy Shaw" ]
  ];
  fhir:DocumentReference.date [ fhir:value "2016-03-09T15:29:46Z"^^xsd:dateTime];
  fhir:DocumentReference.author [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Practitioner/practitioner-1" ];
     fhir:Reference.display [ fhir:value "Ronald Bone, MD" ]
  ];
  fhir:DocumentReference.description [ fhir:value "Pulmonology clinic acute visit"];
  fhir:DocumentReference.content [
     fhir:index 0;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "text/plain" ];
       fhir:Attachment.url [ fhir:value "/Binary/1-note" ];
       fhir:Attachment.title [ fhir:value "Uri where the data can be found: [base]/Binary/1-note" ]     ];
     fhir:DocumentReference.content.format [
       fhir:Coding.system [ fhir:value "urn:oid:1.3.6.1.4.1.19376.1.2.3" ];
       fhir:Coding.code [ fhir:value "urn:hl7-org:sdwg:ccda-structuredBody:2.1" ];
       fhir:Coding.display [ fhir:value "Documents following C-CDA constraints using a structured body" ]     ]
  ];
  fhir:DocumentReference.context [
     fhir:DocumentReference.context.period [
       fhir:Period.start [ fhir:value "2004-12-23T08:00:00+11:00"^^xsd:dateTime ];
       fhir:Period.end [ fhir:value "2004-12-23T08:01:00+11:00"^^xsd:dateTime ]     ]
  ].

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

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