Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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

Episodeofcare-example.ttl

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification)

Episode of Care 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/EpisodeOfCare/example> a fhir:EpisodeOfCare;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      HACC Program for Peter James Chalmers at HL7 Healthcare 15 Sept 2014 - current<br/>\n			was on leave from 22 Sept - 24 Sept while in respite care\n    </div>"
  ];
  fhir:EpisodeOfCare.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://example.org/sampleepisodeofcare-identifier" ];
     fhir:Identifier.value [ fhir:value "123" ]
  ];
  fhir:EpisodeOfCare.status [ fhir:value "active"];
  fhir:EpisodeOfCare.statusHistory [
     fhir:index 0;
     fhir:EpisodeOfCare.statusHistory.status [ fhir:value "planned" ];
     fhir:EpisodeOfCare.statusHistory.period [
       fhir:Period.start [ fhir:value "2014-09-01"^^xsd:date ];
       fhir:Period.end [ fhir:value "2014-09-14"^^xsd:date ]
     ]
  ], [
     fhir:index 1;
     fhir:EpisodeOfCare.statusHistory.status [ fhir:value "active" ];
     fhir:EpisodeOfCare.statusHistory.period [
       fhir:Period.start [ fhir:value "2014-09-15"^^xsd:date ];
       fhir:Period.end [ fhir:value "2014-09-21"^^xsd:date ]
     ]
  ], [
     fhir:index 2;
     fhir:EpisodeOfCare.statusHistory.status [ fhir:value "onhold" ];
     fhir:EpisodeOfCare.statusHistory.period [
       fhir:Period.start [ fhir:value "2014-09-22"^^xsd:date ];
       fhir:Period.end [ fhir:value "2014-09-24"^^xsd:date ]
     ]
  ], [
     fhir:index 3;
     fhir:EpisodeOfCare.statusHistory.status [ fhir:value "active" ];
     fhir:EpisodeOfCare.statusHistory.period [
       fhir:Period.start [ fhir:value "2014-09-25"^^xsd:date ]
     ]
  ];
  fhir:EpisodeOfCare.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/episodeofcare-type" ];
       fhir:Coding.code [ fhir:value "hacc" ];
       fhir:Coding.display [ fhir:value "Home and Community Care" ]
     ]
  ];
  fhir:EpisodeOfCare.diagnosis [
     fhir:index 0;
     fhir:EpisodeOfCare.diagnosis.condition [
       fhir:link <http://hl7.org/fhir/Condition/stroke>;
       fhir:Reference.reference [ fhir:value "Condition/stroke" ]
     ];
     fhir:EpisodeOfCare.diagnosis.role [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ];
         fhir:Coding.code [ fhir:value "CC" ];
         fhir:Coding.display [ fhir:value "Chief complaint" ]
       ]
     ];
     fhir:EpisodeOfCare.diagnosis.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ];
  fhir:EpisodeOfCare.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:EpisodeOfCare.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/hl7>;
     fhir:Reference.reference [ fhir:value "Organization/hl7" ]
  ];
  fhir:EpisodeOfCare.period [
     fhir:Period.start [ fhir:value "2014-09-01"^^xsd:date ]
  ];
  fhir:EpisodeOfCare.referralRequest [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Referral from Example Aged Care Services" ]
  ];
  fhir:EpisodeOfCare.careManager [
     fhir:link <http://hl7.org/fhir/Practitioner/14>;
     fhir:Reference.reference [ fhir:value "Practitioner/14" ];
     fhir:Reference.display [ fhir:value "Amanda Assigned" ]
  ];
  fhir:EpisodeOfCare.team [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/CareTeam/example>;
     fhir:Reference.reference [ fhir:value "CareTeam/example" ];
     fhir:Reference.display [ fhir:value "example care team" ]
  ];
  fhir:EpisodeOfCare.account [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Account/example>;
     fhir:Reference.reference [ fhir:value "Account/example" ];
     fhir:Reference.display [ fhir:value "example account" ]
  ] .

<http://hl7.org/fhir/Condition/stroke> a fhir:Condition .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Organization/hl7> a fhir:Organization .

<http://hl7.org/fhir/Practitioner/14> a fhir:Practitioner .

<http://hl7.org/fhir/CareTeam/example> a fhir:CareTeam .

<http://hl7.org/fhir/Account/example> a fhir:Account .

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

<http://hl7.org/fhir/EpisodeOfCare/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/EpisodeOfCare/example.ttl> .

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


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.