@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/us/pacio-adi/DocumentReference/Example-Smith-Johnson-DocRef-ACP-Decline-Service> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-Smith-Johnson-DocRef-ACP-Decline-Service"] ;
  fhir:Resource.meta [
     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 class=\"res-header-id\"><b>Generated Narrative: DocumentReference Example-Smith-Johnson-DocRef-ACP-Decline-Service</b></p><a name=\"Example-Smith-Johnson-DocRef-ACP-Decline-Service\"> </a><a name=\"hcExample-Smith-Johnson-DocRef-ACP-Decline-Service\"> </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=\"http://hl7.org/fhir/us/core/STU9/StructureDefinition-us-core-documentreference.html\">US Core DocumentReference Profile</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 100532-1}\">Social worker Progress Note</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 11506-3}\">Progress note</span></p><p><b>subject</b>: <a href=\"Patient-Example-Smith-Johnson-Patient1.html\">Smith-Johnson, Betsy Female, DoB: 1950-11-15 ( http://hl7.org/fhir/sid/us-medicare#United States Medicare Number#1PA3D58WH16)</a></p><p><b>date</b>: 2026-07-24 08:15:00+0000</p><p><b>custodian</b>: <a href=\"Organization/org-ED-Metro-Hospital\">Organization/org-ED-Metro-Hospital</a></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><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td>(base64 data - 1,440 base64 chars)</td><td>Social worker Advance Care Planning Note for Betsy Smith-Johnson</td><td>2026-07-24 08:15:00+0000</td></tr></table></blockquote></div>"
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:100532-1 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "100532-1" ] ;
       fhir:Coding.display [ fhir:value "Social worker Outpatient Progress note" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Social worker Progress Note" ]
  ] ;
  fhir:DocumentReference.category [
     fhir:index 0 ;
     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 <http://hl7.org/fhir/us/pacio-adi/Patient/Example-Smith-Johnson-Patient1> ;
     fhir:Reference.reference [ fhir:value "Patient/Example-Smith-Johnson-Patient1" ]
  ] ;
  fhir:DocumentReference.date [ fhir:value "2026-07-24T08:15:00.000+00:00"^^xsd:dateTime] ;
  fhir:DocumentReference.custodian [
     fhir:link <http://hl7.org/fhir/us/pacio-adi/Organization/org-ED-Metro-Hospital> ;
     fhir:Reference.reference [ fhir:value "Organization/org-ED-Metro-Hospital" ]
  ] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "text/plain" ] ;
       fhir:Attachment.data [ fhir:value "R09PRCBIRUFMVEggQ0xJTklDCkNsaW5pY2FsIFNvY2lhbCBXb3JrIEVuY291bnRlciBOb3RlCgpQYXRpZW50OiBCZXRzeSBTbWl0aC1Kb2huc29uCk1STjogR0hDLTAwMDE4NDcgKGZpY3RpdGlvdXMpCkRhdGUgb2YgU2VydmljZTogMDcvMjQvMjAyNgpBdXRob3I6IE1hcmdhcmV0IFJleW5vbGRzLCBMQ1NXCkVuY291bnRlciBUeXBlOiBPdXRwYXRpZW50IFNvY2lhbCBXb3JrCgpNYXJnYXJldCBSZXlub2xkcywgTENTVywgbWV0IGJyaWVmbHkgd2l0aCBCZXRzeSBTbWl0aC1Kb2huc29uIGFuZCBwcm92aWRlZCBnZW5lcmFsIGVkdWNhdGlvbiByZWdhcmRpbmcgYWR2YW5jZSBjYXJlIHBsYW5uaW5nLCBpbmNsdWRpbmcgdGhlIHB1cnBvc2Ugb2YgZGlzY3Vzc2luZyBhbmQgZG9jdW1lbnRpbmcgZnV0dXJlIGhlYWx0aGNhcmUgcHJlZmVyZW5jZXMgYW5kIGlkZW50aWZ5aW5nIGEgaGVhbHRoY2FyZSBkZWNpc2lvbi1tYWtlci4gU29jaWFsIHdvcmsgc2VydmljZXMgd2VyZSBvZmZlcmVkIHRvIGFzc2lzdCB3aXRoIGZ1cnRoZXIgZGlzY3Vzc2lvbiBvciBjb21wbGV0aW9uIG9mIGFkdmFuY2UgY2FyZSBwbGFubmluZyBkb2N1bWVudHMuCgpNcy4gU21pdGgtSm9obnNvbiBkZWNsaW5lZCBhZHZhbmNlIGNhcmUgcGxhbm5pbmcgc2VydmljZXMgYXQgdGhpcyB0aW1lLCBzdGF0aW5nIHRoYXQgc2hlIHByZWZlcnMgbm90IHRvIGRpc2N1c3MgaGVyIGNhcmUgcHJlZmVyZW5jZXMgY3VycmVudGx5LiBIZXIgZGVjaXNpb24gd2FzIGFja25vd2xlZGdlZCBhbmQgcmVzcGVjdGVkLiBTaGUgd2FzIGluZm9ybWVkIHRoYXQgc3VwcG9ydCByZW1haW5zIGF2YWlsYWJsZSB0aHJvdWdoIEdvb2QgSGVhbHRoIENsaW5pYyBzaG91bGQgc2hlIHdpc2ggdG8gcmV2aXNpdCB0aGUgdG9waWMgaW4gdGhlIGZ1dHVyZS4gTm8gYWRkaXRpb25hbCBzb2NpYWwgd29yayBmb2xsb3ctdXAgaXMgaW5kaWNhdGVkIGF0IHRoaXMgdGltZSB1bmxlc3MgcmVxdWVzdGVkIGJ5IHRoZSBwYXRpZW50IG9yIGNhcmUgdGVhbS4KCkVsZWN0cm9uaWNhbGx5IHNpZ25lZCBieTogTWFyZ2FyZXQgUmV5bm9sZHMsIExDU1cKR29vZCBIZWFsdGggQ2xpbmlj"^^xsd:base64Binary ] ;
       fhir:Attachment.title [ fhir:value "Social worker Advance Care Planning Note for Betsy Smith-Johnson" ] ;
       fhir:Attachment.creation [ fhir:value "2026-07-24T08:15:00.000+00:00"^^xsd:dateTime ]
     ]
  ] .

<http://hl7.org/fhir/us/pacio-adi/Patient/Example-Smith-Johnson-Patient1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Organization/org-ED-Metro-Hospital> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/pacio-adi/DocumentReference/Example-Smith-Johnson-DocRef-ACP-Decline-Service.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/pacio-adi/DocumentReference/Example-Smith-Johnson-DocRef-ACP-Decline-Service.ttl> .

# -------------------------------------------------------------------------------------

