STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

List-example.ttl

Raw Turtle, JSON-LD

General List Example

@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 xs: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir//List/example> a fhir:List;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:List.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:uuid:a9fcea7c-fcdf-4d17-a5e0-f26dda030b59" ];
     fhir:Identifier.value [ fhir:value "23974652" ]
  ];
  fhir:List.status [ fhir:value "current"];
  fhir:List.mode [ fhir:value "changes"];
  fhir:List.subjectReference [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:List.encounter [
     fhir:reference <http://hl7.org/fhir/Encounter/example>;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:List.date [ fhir:value "2012-11-25T22:17:00+11:00"^^xs:dateTime];
  fhir:List.sourceReference [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:List.entry [
     fhir:index 0;
     fhir:List.entry.flag [
       fhir:CodeableConcept.text [ fhir:value "Deleted due to error" ]     ];
     fhir:List.entry.deleted [ fhir:value "true"^^xs:boolean ];
     fhir:List.entry.item [
       fhir:reference <http://hl7.org/fhir/Condition/example>;
       fhir:Reference.reference [ fhir:value "Condition/example" ]     ]
  ];
  fhir:List.entry [
     fhir:index 1;
     fhir:List.entry.flag [
       fhir:CodeableConcept.text [ fhir:value "Added" ]     ];
     fhir:List.entry.date [ fhir:value "2012-11-21"^^xs:date ];
     fhir:List.entry.item [
       fhir:reference <http://hl7.org/fhir/Condition/example2>;
       fhir:Reference.reference [ fhir:value "Condition/example2" ]     ]
  ].

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.