PACIO Advance Directive Interoperability Implementation Guide
0.1.0 - STU 1 Ballot

Publication Build: This will be filled in by the publication tooling

## : Example-Smith-Johnson-DocRef-Bundle - 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 -------------------------------------------------------------------

     a fhir:DocumentReference;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "Example-Smith-Johnson-DocRef-Bundle"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-DocumentReference";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-DocumentReference>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "generated" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"Example-Smith-Johnson-DocRef-Bundle\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-PADI-DocumentReference.html\">PACIO ADI Document Reference</a></p></div><p><b>masterIdentifier</b>: id: 0-87f37989294a408897aacd1fc5d8fd16</p><p><b>identifier</b>: id: 0-87f37989294a408897aacd1fc5d8fd16</p><p><b>status</b>: current</p><p><b>docStatus</b>: final</p><p><b>type</b>: Patient Personal advance care plan <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#81334-5)</span></p><p><b>category</b>: Advance directive <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#75320-2)</span></p><p><b>subject</b>: <a href=\"Patient-Example-Smith-Johnson-Patient1.html\">Patient/Example-Smith-Johnson-Patient1</a> \" SMITH-JOHNSON\"</p><p><b>date</b>: Mar 29, 2021 7:25:34 PM</p><p><b>author</b>: <a href=\"Patient-Example-Smith-Johnson-Patient1.html\">Patient/Example-Smith-Johnson-Patient1</a> \" SMITH-JOHNSON\"</p><p><b>authenticator</b>: <a href=\"Organization-Example-Smith-Johnson-OrganizationCustodian1.html\">Organization/Example-Smith-Johnson-OrganizationCustodian1</a> \"MyDirectives.com\"</p><p><b>custodian</b>: <a href=\"Organization-Example-Smith-Johnson-OrganizationCustodian1.html\">Organization/Example-Smith-Johnson-OrganizationCustodian1</a> \"MyDirectives.com\"</p><p><b>description</b>: Personal Advance Care Plan</p><p><b>securityLabel</b>: normal <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.0.0/CodeSystem-v3-Confidentiality.html\">Confidentiality</a>#N)</span></p><blockquote><p><b>content</b></p></blockquote></div>"
      ];
      fhir:DocumentReference.masterIdentifier [
         fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.823.1.7124" ];
         fhir:Identifier.value [ fhir:value "0-87f37989294a408897aacd1fc5d8fd16" ]
      ];
      fhir:DocumentReference.identifier [
         fhir:index 0;
         fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.3.3208.101.1" ];
         fhir:Identifier.value [ fhir:value "0-87f37989294a408897aacd1fc5d8fd16" ]
      ];
      fhir:DocumentReference.status [ fhir:value "current"];
      fhir:DocumentReference.docStatus [ fhir:value "final"];
      fhir:DocumentReference.type [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:81334-5;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "81334-5" ];
           fhir:Coding.display [ fhir:value "Patient Personal advance care plan" ]     ]
      ];
      fhir:DocumentReference.category [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           a loinc:75320-2;
           fhir:Coding.system [ fhir:value "http://loinc.org" ];
           fhir:Coding.code [ fhir:value "75320-2" ];
           fhir:Coding.display [ fhir:value "Advance directive" ]     ]
      ];
      fhir:DocumentReference.subject [
         fhir:Reference.reference [ fhir:value "Patient/Example-Smith-Johnson-Patient1" ]
      ];
      fhir:DocumentReference.date [ fhir:value "2021-03-29T14:25:34.001-05:00"^^xsd:dateTime];
      fhir:DocumentReference.author [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Patient/Example-Smith-Johnson-Patient1" ]
      ];
      fhir:DocumentReference.authenticator [
         fhir:Reference.reference [ fhir:value "Organization/Example-Smith-Johnson-OrganizationCustodian1" ]
      ];
      fhir:DocumentReference.custodian [
         fhir:Reference.reference [ fhir:value "Organization/Example-Smith-Johnson-OrganizationCustodian1" ]
      ];
      fhir:DocumentReference.description [ fhir:value "Personal Advance Care Plan"];
      fhir:DocumentReference.securityLabel [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-Confidentiality" ];
           fhir:Coding.code [ fhir:value "N" ];
           fhir:Coding.display [ fhir:value "normal" ]     ]
      ];
      fhir:DocumentReference.content [
         fhir:index 0;
         fhir:DocumentReference.content.attachment [
           fhir:Attachment.contentType [ fhir:value "application/fhir+json" ];
           fhir:Attachment.url [ fhir:value "Bundle/Example-Smith-Johnson-Bundle1" ]     ]
      ].

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

     a owl:Ontology;
      owl:imports fhir:fhir.ttl.