Snapshot 3: Connectathon 32 Base

This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.

Example CarePlan/gpvisit (Turtle)

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

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

Encounter-specific care plan for GP visit

@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:CarePlan;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "gpvisit"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>  Represents the flow of a patient within a practice. The plan is created when\n        they arrive and represents the 'care' of the patient over the course of that encounter.\n        They first see the nurse for basic observations (BP, pulse, temp) then the doctor for\n        the consultation and finally the nurse again for a tetanus immunization. As the plan is\n        updated (e.g. a new activity added), different versions of the plan exist, and workflow timings\n        for reporting can be gained by examining the plan history. This example is the version after\n        seeing the doctor, and waiting for the nurse.The plan can either be created 'ad hoc' and modified as\n        the parient progresses, or start with a standard template (which can, of course, be altered to suit the patient.</p>\n    </div>"
  ]; # 
  fhir:DomainResource.contained [
     a fhir:Condition;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "p1" ];
     fhir:Condition.clinicalStatus [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
         fhir:Coding.code [ fhir:value "active" ]
       ]
     ];
     fhir:Condition.verificationStatus [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
         fhir:Coding.code [ fhir:value "confirmed" ]
       ]
     ];
     fhir:Condition.code [
       fhir:CodeableConcept.text [ fhir:value "Overseas encounter" ] #   Could coded if we wanted to... 
     ];
     fhir:Condition.subject [
       fhir:Reference.reference [ fhir:value "Patient/100" ];
       fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
     ]
  ], [
     a fhir:CareTeam;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "careteam" ];
     fhir:CareTeam.participant [
       fhir:index 0;
       fhir:Element.id [ fhir:value "part1" ];
       fhir:CareTeam.participant.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/local" ];
           fhir:Coding.code [ fhir:value "nur" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "nurse" ]
       ];
       fhir:CareTeam.participant.member [
         fhir:Reference.reference [ fhir:value "Practitioner/13" ];
         fhir:Reference.display [ fhir:value "Nurse Nancy" ]
       ]
     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "part2" ];
       fhir:CareTeam.participant.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/local" ];
           fhir:Coding.code [ fhir:value "doc" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "doctor" ]
       ];
       fhir:CareTeam.participant.member [
         fhir:Reference.reference [ fhir:value "Practitioner/14" ];
         fhir:Reference.display [ fhir:value "Doctor Dave" ]
       ]
     ]
  ], [
     a fhir:Goal;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "goal" ];
     fhir:Goal.lifecycleStatus [ fhir:value "planned" ];
     fhir:Goal.description [
       fhir:CodeableConcept.text [ fhir:value "Complete consultation" ]
     ];
     fhir:Goal.subject [
       fhir:Reference.reference [ fhir:value "Patient/100" ];
       fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
     ]
  ]; #   This is the reason for the encounter. It is referenced by the concern  
  fhir:CarePlan.status [ fhir:value "active"]; # 
  fhir:CarePlan.intent [ fhir:value "plan"]; # 
  fhir:CarePlan.subject [
     fhir:Reference.reference [ fhir:value "Patient/100" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ]; # 
  fhir:CarePlan.period [
     fhir:Period.start [ fhir:value "2013-01-01T10:30:00+00:00"^^xsd:dateTime ] #   This is the time the plan started - i.e. when they arrived 
  ]; #   No end yet as the encounter is still in progress. 
  fhir:CarePlan.careTeam [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#careteam" ]
  ]; # 
  fhir:CarePlan.addresses [
     fhir:index 0;
     fhir:CodeableReference.reference [
       fhir:Reference.reference [ fhir:value "#p1" ];
       fhir:Reference.display [ fhir:value "obesity" ]
     ]
  ]; # 
  fhir:CarePlan.goal [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#goal" ]
  ]; # 
  fhir:CarePlan.activity [
     fhir:index 0;
     fhir:CarePlan.activity.performedActivity [
       fhir:index 0;
       fhir:CodeableReference.reference [
         fhir:Reference.reference [ fhir:value "Encounter/example" ] #   This is a link to the nurse encounter. The assumption is that all contacts with practitioners\n        are modelled as separate encounters. Ideally, there will be  a 'master\/parent' encounter that ties them together.\n        If there is a single encounter, then all participants will be linked to that encounter. 
       ]
     ];
     fhir:CarePlan.activity.plannedActivityDetail [
       fhir:CarePlan.activity.plannedActivityDetail.kind [ fhir:value "Appointment" ]; #   This activity is for the initial nurse encounter where vitals are taken. It has been completed. 
       fhir:CarePlan.activity.plannedActivityDetail.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/local" ];
           fhir:Coding.code [ fhir:value "nursecon" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Nurse Consultation" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.status [ fhir:value "completed" ];
       fhir:CarePlan.activity.plannedActivityDetail.doNotPerform [ fhir:value "false"^^xsd:boolean ];
       fhir:CarePlan.activity.plannedActivityDetail.scheduledPeriod [
         fhir:Period.start [ fhir:value "2013-01-01T10:38:00+00:00"^^xsd:dateTime ]; #   the nurse saw the patient between 10:38 and 10:50  
         fhir:Period.end [ fhir:value "2013-01-01T10:50:00+00:00"^^xsd:dateTime ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Practitioner/13" ]; #   refer to the participant (the nurse) in this resource 
         fhir:Reference.display [ fhir:value "Nurse Nancy" ]
       ]
     ]
  ], [
     fhir:index 1;
     fhir:CarePlan.activity.plannedActivityDetail [
       fhir:CarePlan.activity.plannedActivityDetail.kind [ fhir:value "Appointment" ]; #   This activity is for the encounter with the doctor. It is scheduled, but not yet started,\n              so there is no timing[x]  or actionTaken element yet  
       fhir:CarePlan.activity.plannedActivityDetail.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/local" ];
           fhir:Coding.code [ fhir:value "doccon" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Doctor Consultation" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.status [ fhir:value "scheduled" ];
       fhir:CarePlan.activity.plannedActivityDetail.doNotPerform [ fhir:value "false"^^xsd:boolean ];
       fhir:CarePlan.activity.plannedActivityDetail.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "Practitioner/14" ]; #   refer to the participant (the nurse) in this resource 
         fhir:Reference.display [ fhir:value "Doctor Dave" ]
       ] #   The status is 'scheduled' so the doctor knows the patient is waiting.   
     ]
  ]] . # 

# - 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.