<?xml version="1.0" encoding="UTF-8"?>

<Goal xmlns="http://hl7.org/fhir">
  <id value="Example-Smith-Johnson-PersonalInterventionPreference5"/>
  <meta>
    <profile value="http://hl7.org/fhir/us/pacio-adi/StructureDefinition/PADI-PersonalInterventionPreference"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p>If it were possible to choose, here is where I would like to spend my final days:</p><p><i>At home.I would like to receive hospice care at home if possible.</i></p></div>
  </text>
  <lifecycleStatus value="proposed"/>
  <category>
    <coding>
      <system value="http://hl7.org/fhir/us/pacio-adi/CodeSystem/PADIGoalCategoryCS"/>
      <code value="intervention-preference"/>
      <display value="Intervention preference"/>
    </coding>
  </category>
  <category>
    <coding>
      <system value="http://loinc.org"/>
      <code value="75780-7"/>
      <display value="Preferred location to spend final days if possible to choose [Reported]"/>
    </coding>
  </category>
  <description>
    <extension url="http://hl7.org/fhir/us/pacio-adi/StructureDefinition/padi-contextualValue-extension">
      <extension url="Context">
        <valueString value="If it were possible to choose, here is where I would like to spend my final days"/>
      </extension>
      <extension url="Value">
        <valueString value="At home.I would like to receive hospice care at home if possible."/>
      </extension>
    </extension>
    <text value="If it were possible to choose, here is where I would like to spend my final days: At home.I would like to receive hospice care at home if possible."/>
  </description>
  <subject>
    <reference value="Patient/Example-Smith-Johnson-Patient1"/>
  </subject>
  <expressedBy>
    <reference value="Patient/Example-Smith-Johnson-Patient1"/>
  </expressedBy>
</Goal>