@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/List/Example-Smith-Johnson-PersonalPrioritiesOrganizer1> a fhir:List ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Example-Smith-Johnson-PersonalPrioritiesOrganizer1"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalPrioritiesOrganizer" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-PersonalPrioritiesOrganizer>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>If I am so sick or seriously injured that I cannot express my own medical treatment preferences, and if I am not expected to live without additional treatment for my illness, disease, condition or injury, then I want my medical care team to know that these are the things that are most important to me:</p><ol><li><i>Avoiding prolonged dependence on machines</i></li><li><i>Not being a physical burden to my family</i></li><li><i>Dying at home</i></li></ol></div>"
  ] ;
  fhir:List.status [ fhir:value "current"] ;
  fhir:List.mode [ fhir:value "working"] ;
  fhir:List.title [ fhir:value "Priorities for Goals and Preferences"] ;
  fhir:List.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:81340-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "81340-2" ] ;
       fhir:Coding.display [ fhir:value "Goals AndOr preferences in order of priority - Reported" ]
     ]
  ] ;
  fhir:List.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:List.orderedBy [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/list-order" ] ;
       fhir:Coding.code [ fhir:value "priority" ]
     ]
  ] ;
  fhir:List.entry [
     fhir:index -1 ;
     fhir:List.entry.item [
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal1> ;
       fhir:Reference.reference [ fhir:value "Goal/Example-Smith-Johnson-PersonalGoal1" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:List.entry.item [
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal2> ;
       fhir:Reference.reference [ fhir:value "Goal/Example-Smith-Johnson-PersonalGoal2" ]
     ]
  ], [
     fhir:index -1 ;
     fhir:List.entry.item [
       fhir:link <http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal3> ;
       fhir:Reference.reference [ fhir:value "Goal/Example-Smith-Johnson-PersonalGoal3" ]
     ]
  ] .

<http://hl7.org/fhir/us/pacio-adi/Patient/Example-Smith-Johnson-Patient1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal1> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal2> a fhir:us .

<http://hl7.org/fhir/us/pacio-adi/Goal/Example-Smith-Johnson-PersonalGoal3> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/pacio-adi/List/Example-Smith-Johnson-PersonalPrioritiesOrganizer1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/pacio-adi/List/Example-Smith-Johnson-PersonalPrioritiesOrganizer1.ttl> .

# -------------------------------------------------------------------------------------

