@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 -------------------------------------------------------------------

<https://fhir.onyxhealth.io/us/arex/DocumentReference/ARexContentEntryClinicalNoteExample> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ARexContentEntryClinicalNoteExample"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.onyxhealth.io/us/arex/StructureDefinition/arex-content-entry" ;
       fhir:index 0 ;
       fhir:link <https://fhir.onyxhealth.io/us/arex/StructureDefinition/arex-content-entry>
     ]
  ] ;
  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 ARexContentEntryClinicalNoteExample</b></p><a name=\"ARexContentEntryClinicalNoteExample\"> </a><a name=\"hcARexContentEntryClinicalNoteExample\"> </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\">Profile: <a href=\"StructureDefinition-arex-content-entry.html\">ARex Content Entry</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11506-3}\">Progress note</span></p><p><b>subject</b>: <a href=\"Patient-ARexPatientExample.html\">Dana Everly  Female, DoB: 1974-03-19 ( http://example.org/payer/member#M10293847)</a></p><p><b>date</b>: 2026-08-10 13:02:11+0000</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>ContentType</b></td><td><b>Url</b></td><td><b>Size</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td/><td>application/pdf</td><td><a href=\"https://arex.example.org/fhir/Binary/8d31f0c2-progress-note\">https://arex.example.org/fhir/Binary/8d31f0c2-progress-note</a></td><td>4293120</td><td>Progress note 2026-07-28</td></tr></table></blockquote></div>"
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:11506-3 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "11506-3" ] ;
       fhir:Coding.display [ fhir:value "Progress note" ]
     ]
  ] ;
  fhir:DocumentReference.subject [
     fhir:link <https://fhir.onyxhealth.io/us/arex/Patient/ARexPatientExample> ;
     fhir:Reference.reference [ fhir:value "Patient/ARexPatientExample" ]
  ] ;
  fhir:DocumentReference.date [ fhir:value "2026-08-10T13:02:11Z"^^xsd:dateTime] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Element.extension [
           fhir:index 0 ;
           fhir:Extension.url [ fhir:value "algorithm" ] ;
           fhir:Extension.valueCode [ fhir:value "sha-256" ]
         ], [
           fhir:index 1 ;
           fhir:Extension.url [ fhir:value "value" ] ;
           fhir:Extension.valueString [ fhir:value "9f2c41b8e7a05d63c1148ba9f0e27dd53a6b8c19e40f7b2d85cc31a6f9047e2b" ]
         ] ;
         fhir:Extension.url [ fhir:value "https://fhir.onyxhealth.io/us/arex/StructureDefinition/arex-digest" ]
       ] ;
       fhir:Attachment.contentType [ fhir:value "application/pdf" ] ;
       fhir:Attachment.url [ fhir:value "https://arex.example.org/fhir/Binary/8d31f0c2-progress-note" ] ;
       fhir:Attachment.size [ fhir:value "4293120"^^xsd:nonNegativeInteger ] ;
       fhir:Attachment.title [ fhir:value "Progress note 2026-07-28" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.onyxhealth.io/us/arex/DocumentReference/ARexContentEntryClinicalNoteExample.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

