JohnMoehrke Emancipation
0.1.0 - ci-build

JohnMoehrke Emancipation, published by John Moehrke (himself). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/emancipation/ and changes regularly. See the Directory of published versions

## : DocumentReference Emancipation Paperwork 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 -------------------------------------------------------------------

    <http://hl7.org/fhir/DocumentReference/ex-documentreference> a fhir:DocumentReference ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:Resource.id [ fhir:value "ex-documentreference"] ;
      fhir:Resource.meta [
         fhir:Meta.security [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActReason" ] ;
           fhir:Coding.code [ fhir:value "HTEST" ]
         ]
      ] ;
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ] ;
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference ex-documentreference</b></p><a name=\"ex-documentreference\"> </a><a name=\"hcex-documentreference\"> </a><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\"/><p style=\"margin-bottom: 0px\">Security Label: <a href=\"http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActReason.html\">test health data (Details: ActReason code HTEST = 'test health data')</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 64292-6}\">Release of information consent</span></p><p><b>subject</b>: <a href=\"Patient-ex-patient.html\">John Schmidt  Other, DoB: 2009-07-25</a></p><p><b>date</b>: 2026-08-16 23:11:33+1000</p><p><b>author</b>: <a href=\"Organization-ex-organization.html\">Organization somewhere org</a></p><p><b>description</b>: The captured signed document</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Data</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td><code> </code></td><td>Hello World</td></tr></table></blockquote></div>"
      ] ;
      fhir:DocumentReference.status [ fhir:value "current"] ;
      fhir:DocumentReference.type [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           a loinc:64292-6 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "64292-6" ] ;
           fhir:Coding.display [ fhir:value "Release of information consent" ]
         ]
      ] ;
      fhir:DocumentReference.subject [
         fhir:link <http://hl7.org/fhir/Patient/ex-patient> ;
         fhir:Reference.reference [ fhir:value "Patient/ex-patient" ]
      ] ;
      fhir:DocumentReference.date [ fhir:value "2026-08-16T23:11:33+10:00"^^xsd:dateTime] ;
      fhir:DocumentReference.author [
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/Organization/ex-organization> ;
         fhir:Reference.reference [ fhir:value "Organization/ex-organization" ]
      ] ;
      fhir:DocumentReference.description [ fhir:value "The captured signed document"] ;
      fhir:DocumentReference.content [
         fhir:index 0 ;
         fhir:DocumentReference.content.attachment [
           fhir:Attachment.contentType [ fhir:value "text/plain" ] ;
           fhir:Attachment.data [ fhir:value " "^^xsd:base64Binary ] ;
           fhir:Attachment.title [ fhir:value "Hello World" ]
         ]
      ] .

    <http://hl7.org/fhir/Patient/ex-patient> a fhir:Patient .

    <http://hl7.org/fhir/Organization/ex-organization> a fhir:Organization .

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

    <http://hl7.org/fhir/DocumentReference/ex-documentreference.ttl> a owl:Ontology ;
      owl:imports fhir:fhir.ttl ;
      owl:versionIRI <http://build.fhir.org/DocumentReference/ex-documentreference.ttl> .