Example EpisodeOfCare/example (Turtle)
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 -------------------------------------------------------------------
[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:CodeableReference.reference [
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:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:EpisodeOfCare.managingOrganization [
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:Reference.reference [ fhir:value "Practitioner/14" ];
fhir:Reference.display [ fhir:value "Amanda Assigned" ]
];
fhir:EpisodeOfCare.careTeam [
fhir:index 0;
fhir:Reference.reference [ fhir:value "CareTeam/example" ];
fhir:Reference.display [ fhir:value "example care team" ]
];
fhir:EpisodeOfCare.account [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Account/example" ];
fhir:Reference.display [ fhir:value "example account" ]
]] .
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.