MediRecords FHIR Implementation Guide
1.4.1 - release


: Example Document Reference Out with no attachment - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://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:id [ fhir:v "573d5f35-a5e0-44f1-bd0b-56d2b8b3396a"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-documentreference-out"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-documentreference-out>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ] ;
fhir:display [ fhir:v "Unrestricted" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b><a name=\"573d5f35-a5e0-44f1-bd0b-56d2b8b3396a\"> </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 DocumentReference &quot;573d5f35-a5e0-44f1-bd0b-56d2b8b3396a&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-documentreference-out.html\">MR DocumentReference Out</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-Confidentiality http://terminology.hl7.org/CodeSystem/v3-Confidentiality}\">http://terminology.hl7.org/CodeSystem/v3-Confidentiality</span></p></div><p><b>MR DocumentReference Recipient Extension</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith</a> &quot; SMITH&quot;</p><p><b>MR DocumentReference Title Extension</b>: Greetings, Test Message</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Referral note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#57133-1)</span></p><p><b>category</b>: Letter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#51852-2)</span></p><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> &quot; GREY&quot;</p><p><b>date</b>: Nov 17, 2021, 2:56:18 PM</p><p><b>author</b>: <a href=\"PractitionerRole-6d6d7ce8-65c2-11e6-a20e-7b5deed40051.html\">PractitionerRole/6d6d7ce8-65c2-11e6-a20e-7b5deed40051: Dr John Smith</a></p><p><b>authenticator</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054: Dr John Smith</a> &quot; SMITH&quot;</p><p><b>custodian</b>: <a href=\"Organization-ade47c8c-9eed-11ea-a6fa-3f7e286deed9.html\">Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9: Healthy Live Clinic</a> &quot;Healthy Live Clinic&quot;</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Size</b></td></tr><tr><td style=\"display: none\">*</td><td>0</td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Encounter</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Encounter-1e5cae20-85bf-11e8-b401-ffccd711ad9g.html\">Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g</a></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-recipient-extn"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "Dr John Smith" ]     ]
  ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-document-ref-title-extn"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Greetings, Test Message" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:docStatus [ fhir:v "final"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:57133-1 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "57133-1" ] ;
fhir:display [ fhir:v "Referral note" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:51852-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "51852-2" ] ;
fhir:display [ fhir:v "Letter" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:date [ fhir:v "2021-11-17T14:56:18Z"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:reference [ fhir:v "PractitionerRole/6d6d7ce8-65c2-11e6-a20e-7b5deed40051" ] ;
fhir:display [ fhir:v "Dr John Smith" ]
  ] ) ; # 
  fhir:authenticator [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ] ;
fhir:display [ fhir:v "Dr John Smith" ]
  ] ; # 
  fhir:custodian [
fhir:reference [ fhir:v "Organization/ade47c8c-9eed-11ea-a6fa-3f7e286deed9" ] ;
fhir:display [ fhir:v "Healthy Live Clinic" ]
  ] ; # 
  fhir:content ( [
fhir:attachment [
fhir:size [ fhir:v "0"^^xsd:nonNegativeInteger ]     ]
  ] ) ; # 
  fhir:context [
    ( fhir:encounter [
fhir:reference [ fhir:v "Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g" ]     ] )
  ] . #