@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-toc/DocumentReference/JF-DocumentReference> a fhir:DocumentReference ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "JF-DocumentReference"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/pacio-toc/StructureDefinition/TOC-DocumentReference" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/pacio-toc/StructureDefinition/TOC-DocumentReference>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Transition of Care DocumentReference for Patient Jane Fiction</p></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/pacio-toc/StructureDefinition/point-of-contact-extension" ] ;
     fhir:Extension.valueReference [
       fhir:link <http://hl7.org/fhir/us/pacio-toc/Practitioner/Practitioner-JudySalas> ;
       fhir:Reference.reference [ fhir:value "Practitioner/Practitioner-JudySalas" ]
     ]
  ] ;
  fhir:DocumentReference.masterIdentifier [
     fhir:Identifier.system [ fhir:value "http://example.org/MotownHomeHealth/id" ] ;
     fhir:Identifier.value [ fhir:value "0-87f37989294a408897aacd1fc5d8fd26" ]
  ] ;
  fhir:DocumentReference.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://example.org/MotownHomeHealth/id" ] ;
     fhir:Identifier.value [ fhir:value "0-87f37989294a408897aacd1fc5d8fd26" ]
  ] ;
  fhir:DocumentReference.status [ fhir:value "current"] ;
  fhir:DocumentReference.docStatus [ fhir:value "final"] ;
  fhir:DocumentReference.type [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:18761-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "18761-7" ] ;
       fhir:Coding.display [ fhir:value "Transfer Summary Note" ]
     ]
  ] ;
  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.version [ fhir:value "8.0.1" ] ;
       fhir:Coding.code [ fhir:value "clinical-note" ]
     ]
  ] ;
  fhir:DocumentReference.subject [
     fhir:link <http://hl7.org/fhir/us/pacio-toc/Patient/Example-Fiction> ;
     fhir:Reference.reference [ fhir:value "Patient/Example-Fiction" ]
  ] ;
  fhir:DocumentReference.date [ fhir:value "2024-05-10T14:25:34.001-05:00"^^xsd:dateTime] ;
  fhir:DocumentReference.content [
     fhir:index 0 ;
     fhir:DocumentReference.content.attachment [
       fhir:Attachment.contentType [ fhir:value "application/fhir+json" ] ;
       fhir:Attachment.url [ fhir:value "https://gw.interop.community/pacior4test/open/Composition/JF-TOCComposition2" ] ;
       fhir:Attachment.creation [ fhir:value "2024-05-10T14:25:34.001-05:00"^^xsd:dateTime ]
     ]
  ] .

<http://hl7.org/fhir/us/pacio-toc/Practitioner/Practitioner-JudySalas> a fhir:us .

<http://hl7.org/fhir/us/pacio-toc/Patient/Example-Fiction> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/pacio-toc/DocumentReference/JF-DocumentReference.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/pacio-toc/DocumentReference/JF-DocumentReference.ttl> .

# -------------------------------------------------------------------------------------

