@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/Composition/Example-Smith-Johnson-PACPComposition1> a fhir:Composition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-Smith-Johnson-PACPComposition1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PACPComposition" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PACPComposition>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber" ] ;
     fhir:Extension.valueString [ fhir:value "2022-03-29T14:25:34-05:00" ]
  ], [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-dataEnterer-extension" ] ;
     fhir:Extension.valueReference [
       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:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-expiration-date-extension" ] ;
     fhir:Extension.valueDateTime [ fhir:value "2028-03-29T14:25:34-05:00"^^xsd:dateTime ]
  ] ;
  fhir:Composition.identifier [
     fhir:Identifier.system [ fhir:value "http://example.org/GoodHealthClinic/id" ] ;
     fhir:Identifier.value [ fhir:value "0-87f37989294a408897aacd1fc5d8fd16" ]
  ] ;
  fhir:Composition.status [ fhir:value "final"] ;
  fhir:Composition.type [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       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:Composition.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:107903-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "107903-7" ] ;
       fhir:Coding.display [ fhir:value "Clinical note" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:42348-3 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "42348-3" ] ;
       fhir:Coding.display [ fhir:value "Advance healthcare directives" ]
     ]
  ] ;
  fhir:Composition.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:Composition.date [ fhir:value "2021-03-29T14:25:34-05:00"^^xsd:dateTime] ;
  fhir:Composition.author [
     fhir:index -1 ;
     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:Composition.title [ fhir:value "Personal Advance Care Plan"] ;
  fhir:Composition.attester [
     fhir:index -1 ;
     fhir:Composition.attester.mode [ fhir:value "personal" ] ;
     fhir:Composition.attester.party [
       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:Composition.custodian [
     fhir:link <http://hl7.org/fhir/us/pacio-adi/Organization/Example-Smith-Johnson-OrganizationCustodian1> ;
     fhir:Reference.reference [ fhir:value "Organization/Example-Smith-Johnson-OrganizationCustodian1" ]
  ] ;
  fhir:Composition.section [
     fhir:index -1 ;
     fhir:Element.extension [
       fhir:index -1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/adi-jurisdiction-extension" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index -1 ;
           fhir:Coding.system [ fhir:value "https://www.usps.com/" ] ;
           fhir:Coding.code [ fhir:value "MI" ] ;
           fhir:Coding.display [ fhir:value "Michigan" ]
         ]
       ]
     ] ;
     fhir:Composition.section.title [ fhir:value "Example Source Form - Betsy Smith-Johnson" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/us/pacio-adi/CodeSystem/adi-temp-cs" ] ;
         fhir:Coding.code [ fhir:value "advance_directive_source_form" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Binary/Example-Stub-SourceForm-Smith-Johnson-Binary> ;
       fhir:Reference.reference [ fhir:value "Binary/Example-Stub-SourceForm-Smith-Johnson-Binary" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Appointment of a Primary Healthcare Agent and Alternate Healthcare Agents" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:81335-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "81335-2" ] ;
         fhir:Coding.display [ fhir:value "Healthcare Agent" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-Notary1> ;
       fhir:Reference.reference [ fhir:value "RelatedPerson/Example-Smith-Johnson-Notary1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-HealthcareAgent1> ;
       fhir:Reference.reference [ fhir:value "RelatedPerson/Example-Smith-Johnson-HealthcareAgent1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-HealthcareAgent2> ;
       fhir:Reference.reference [ fhir:value "RelatedPerson/Example-Smith-Johnson-HealthcareAgent2" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Consent/Example-Smith-Johnson-HealthcareAgentConsent> ;
       fhir:Reference.reference [ fhir:value "Consent/Example-Smith-Johnson-HealthcareAgentConsent" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Patient Goals, Preferences, and Priorities for Care Experience" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:81338-6 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "81338-6" ] ;
         fhir:Coding.display [ fhir:value "Patient Goals, Preferences, and Priorities for Care Experience" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference2> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference2" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference3> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference3" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference4> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference4" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference5> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference5" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference6> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference6" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference7> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference7" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference8> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-CareExperiencePreference8" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Patient Goals, preferences, and priorities under certain conditions" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:107905-2 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "107905-2" ] ;
         fhir:Coding.display [ fhir:value "Treatment intervention preferences" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan1> ;
       fhir:Reference.reference [ fhir:value "CarePlan/Example-Smith-Johnson-PreferenceCarePlan1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan2> ;
       fhir:Reference.reference [ fhir:value "CarePlan/Example-Smith-Johnson-PreferenceCarePlan2" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan3> ;
       fhir:Reference.reference [ fhir:value "CarePlan/Example-Smith-Johnson-PreferenceCarePlan3" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Goals, Preferences and Priorities Upon Death" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:81337-8 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "81337-8" ] ;
         fhir:Coding.display [ fhir:value "Patient Goals, Preferences, and Priorities Upon Death" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-OrganDonationObservation1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-OrganDonationObservation1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-AutopsyObservation1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-AutopsyObservation1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-PersonalInterventionPreference1" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference3> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-PersonalInterventionPreference3" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference5> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-PersonalInterventionPreference5" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference6> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-PersonalInterventionPreference6" ]
     ], [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-UponDeathPreference1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-UponDeathPreference1" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Additional Documentation" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:77599-9 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "77599-9" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "generated" ]
     ] ;
     fhir:Composition.section.entry [
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-DocumentationObservation1> ;
       fhir:Reference.reference [ fhir:value "Observation/Example-Smith-Johnson-DocumentationObservation1" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Composition.section.title [ fhir:value "Witnesses and Notary" ] ;
     fhir:Composition.section.code [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         a loinc:81339-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "81339-4" ] ;
         fhir:Coding.display [ fhir:value "Witness and Notary Document" ]
       ]
     ] ;
     fhir:Composition.section.text [
       fhir:Narrative.status [ fhir:value "additional" ]
     ]
  ] .

<http://hl7.org/fhir/us/pacio-adi/Patient/Example-Smith-Johnson-Patient1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Organization/Example-Smith-Johnson-OrganizationCustodian1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Binary/Example-Stub-SourceForm-Smith-Johnson-Binary> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-Notary1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-HealthcareAgent1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/RelatedPerson/Example-Smith-Johnson-HealthcareAgent2> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Consent/Example-Smith-Johnson-HealthcareAgentConsent> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference2> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference3> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference4> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference5> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference6> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference7> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-CareExperiencePreference8> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan2> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/CarePlan/Example-Smith-Johnson-PreferenceCarePlan3> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-OrganDonationObservation1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-AutopsyObservation1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference3> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference5> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-PersonalInterventionPreference6> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-UponDeathPreference1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Observation/Example-Smith-Johnson-DocumentationObservation1> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/pacio-adi/Composition/Example-Smith-Johnson-PACPComposition1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/pacio-adi/Composition/Example-Smith-Johnson-PACPComposition1.ttl> .

# -------------------------------------------------------------------------------------

