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-HealthcareAgent1 - TTL Representation

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @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:RelatedPerson;
      fhir:nodeRole fhir:treeRoot;
      fhir:Resource.id [ fhir:value "Example-Smith-Johnson-HealthcareAgent1"];
      fhir:Resource.meta [
         fhir:Meta.profile [
           fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-Participant";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-Participant>     ]
      ];
      fhir:DomainResource.text [
         fhir:Narrative.status [ fhir:value "additional" ];
         fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Primary Healthcare Agent</b></p><p>The person I choose as my Primary Healthcare Agent is:</p><p><i>Charles Johnson</i></p><p><i>(Son)</i></p><p><i>CharlesSJ@example.com</i></p><p>[SELECTED to act as a healthcare agent on 3/29/2021, at 2:25 PM CDT]</p><p>[ACCEPTED to act as a healthcare agent on 4/1/2021, at 3:39 PM CDT]</p></div>"
      ];
      fhir:RelatedPerson.patient [
         fhir:Reference.reference [ fhir:value "Patient/Example-Smith-Johnson-Patient1" ]
      ];
      fhir:RelatedPerson.relationship [
         fhir:index 0;
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleCode" ];
           fhir:Coding.code [ fhir:value "SON" ];
           fhir:Coding.display [ fhir:value "natural son" ]     ]
      ];
      fhir:RelatedPerson.name [
         fhir:index 0;
         fhir:HumanName.family [ fhir:value "Johnson" ];
         fhir:HumanName.given [
           fhir:value "Charles";
           fhir:index 0     ]
      ];
      fhir:RelatedPerson.telecom [
         fhir:index 0;
         fhir:ContactPoint.system [ fhir:value "email" ];
         fhir:ContactPoint.value [ fhir:value "CharlesSJ@example.com" ];
         fhir:ContactPoint.use [ fhir:value "home" ]
      ].

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

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