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/preg (Turtle)

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

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

Care plan to address pregnancy

@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 "preg"]; # 
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A maternity care plan (for a pregnant woman).</p>\n      <p>LMP is 1st Jan, 2013 (a great new years party!) The plan has activities to take prenatal vitamins, schedule first antenatal,\n            and 'placeholders' for the second antenatal and delivery (there would be lots of others of course)</p>\n      <p>Note that where is a proposed 'status' element against each activity</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 "pregnancy" ]
     ];
     fhir:Condition.subject [
       fhir:Reference.reference [ fhir:value "Patient/1" ];
       fhir:Reference.display [ fhir:value "Eve Everywoman" ]
     ]
  ], [
     a fhir:Practitioner;
     fhir:index 1;
     fhir:Resource.id [ fhir:value "pr1" ];
     fhir:Practitioner.name [
       fhir:index 0;
       fhir:HumanName.family [ fhir:value "Midwife" ];
       fhir:HumanName.given [
         fhir:value "Mavis";
         fhir:index 0
       ]
     ]
  ], [
     a fhir:Practitioner;
     fhir:index 2;
     fhir:Resource.id [ fhir:value "pr2" ];
     fhir:Practitioner.name [
       fhir:index 0;
       fhir:HumanName.family [ fhir:value "Obstetrician" ];
       fhir:HumanName.given [
         fhir:value "Oscar";
         fhir:index 0
       ]
     ]
  ], [
     a fhir:CareTeam;
     fhir:index 3;
     fhir:Resource.id [ fhir:value "careteam" ];
     fhir:CareTeam.participant [
       fhir:index 0;
       fhir:CareTeam.participant.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/mysys" ];
           fhir:Coding.code [ fhir:value "lmc" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Midwife" ]
       ]; #   In New Zealand, there is a Lead Maternity Carer (LMC) - often a midwife  
       fhir:CareTeam.participant.member [
         fhir:Reference.reference [ fhir:value "#pr1" ]; #   This links to the clinician resource, so we get all the stuff related to that like address, contact etc...  
         fhir:Reference.display [ fhir:value "Mavis Midwife" ]
       ]
     ], [
       fhir:index 1;
       fhir:CareTeam.participant.role [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/mysys" ];
           fhir:Coding.code [ fhir:value "obs" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Obstretitian" ]
       ]; #   To indicate that there is an obstretian consultant involved in this case.  
       fhir:CareTeam.participant.member [
         fhir:Reference.reference [ fhir:value "#pr2" ]; #   This links to the clinician resource, so we get all the stuff related to that like address, contact etc...  
         fhir:Reference.display [ fhir:value "Oscar Obstetrician" ]
       ]
     ]
  ], [
     a fhir:Goal;
     fhir:index 4;
     fhir:Resource.id [ fhir:value "goal" ];
     fhir:Goal.lifecycleStatus [ fhir:value "active" ];
     fhir:Goal.description [
       fhir:CodeableConcept.text [ fhir:value "Maintain patient's health throughout pregnancy and ensure a healthy child" ]
     ];
     fhir:Goal.subject [
       fhir:Reference.reference [ fhir:value "Patient/1" ];
       fhir:Reference.display [ fhir:value "Eve Everywoman" ]
     ]
  ]; # 
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://example.org/fhir/StructureDefinition/careplan#lmp" ];
     fhir:Extension.valueDateTime [ fhir:value "2013-01-01"^^xsd:date ]
  ]; #   an extension to record the LMP, which is required at the plan level...  
  fhir:CarePlan.status [ fhir:value "active"]; # 
  fhir:CarePlan.intent [ fhir:value "plan"]; # 
  fhir:CarePlan.subject [
     fhir:Reference.reference [ fhir:value "Patient/1" ];
     fhir:Reference.display [ fhir:value "Eve Everywoman" ]
  ]; # 
  fhir:CarePlan.period [
     fhir:Period.start [ fhir:value "2013-01-01"^^xsd:date ]; #   The likely duration of the pregnancy  
     fhir:Period.end [ fhir:value "2013-10-01"^^xsd:date ]
  ]; # 
  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 "pregnancy" ]
     ]
  ]; # 
  fhir:CarePlan.goal [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#goal" ]
  ]; # 
  fhir:CarePlan.activity [
     fhir:index 0;
     fhir:CarePlan.activity.plannedActivityReference [
       fhir:Reference.display [ fhir:value "Prenatal vitamin MedicationRequest" ]
     ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://example.org/fhir/StructureDefinition/careplan#andetails" ];
       fhir:Extension.valueUri [ fhir:value "http://orionhealth.com/fhir/careplan/1andetails" ]
     ]; #   This will be the first antenatal encounter  ,   a link to further details about the first antenatal details  
     fhir:CarePlan.activity.plannedActivityDetail [
       fhir:CarePlan.activity.plannedActivityDetail.kind [ fhir:value "Appointment" ];
       fhir:CarePlan.activity.plannedActivityDetail.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/mySystem" ];
           fhir:Coding.code [ fhir:value "1an" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "First Antenatal encounter" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.status [ fhir:value "scheduled" ];
       fhir:CarePlan.activity.plannedActivityDetail.doNotPerform [ fhir:value "false"^^xsd:boolean ];
       fhir:CarePlan.activity.plannedActivityDetail.scheduledTiming [
         fhir:Timing.repeat [
           fhir:Timing.repeat.boundsPeriod [
             fhir:Period.start [ fhir:value "2013-02-14"^^xsd:date ];
             fhir:Period.end [ fhir:value "2013-02-28"^^xsd:date ]
           ]
         ] #   The encounter should occur between 14 feb and 28 feb  
       ];
       fhir:CarePlan.activity.plannedActivityDetail.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "#pr1" ];
         fhir:Reference.display [ fhir:value "Mavis Midwife" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.description [ fhir:value "The first antenatal encounter. This is where a detailed physical examination is performed.             and the pregnanacy discussed with the mother-to-be." ]
     ] #   This is a booked encounter with Mavis Midwife for the first antenatal checkup. \n        This entry is only made after the appointment (a planned encounter) has been made.\n        Commented out for now because Encounter hasn't been defined yet\n        <actionTaken>\n            <url value=\"xxx\"\/>\n            <display value=\"Appointment with Mavis midwife @12.30pm, 112 St albans Ave\"\/>\n        <\/actionTaken> 
  ], [
     fhir:index 2;
     fhir:CarePlan.activity.plannedActivityDetail [
       fhir:CarePlan.activity.plannedActivityDetail.kind [ fhir:value "Appointment" ]; #   This will be the second antenatal encounter - 3 months after LMP. It is not yet scheduled.  
       fhir:CarePlan.activity.plannedActivityDetail.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/mySystem" ];
           fhir:Coding.code [ fhir:value "an" ]
         ]; #   The code is just for an antenatal encounter. There are many of these, the first is special...  
         fhir:CodeableConcept.text [ fhir:value "Follow-up Antenatal encounter" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.status [ fhir:value "not-started" ];
       fhir:CarePlan.activity.plannedActivityDetail.doNotPerform [ fhir:value "false"^^xsd:boolean ];
       fhir:CarePlan.activity.plannedActivityDetail.scheduledTiming [
         fhir:Timing.repeat [
           fhir:Timing.repeat.boundsPeriod [
             fhir:Period.start [ fhir:value "2013-03-01"^^xsd:date ];
             fhir:Period.end [ fhir:value "2013-03-14"^^xsd:date ]
           ]
         ] #   The encounter should occur between 1 march and 14 march  
       ];
       fhir:CarePlan.activity.plannedActivityDetail.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "#pr1" ]; #   The performer is known, but the actual appointment is not yet made, hence there is no action element...  
         fhir:Reference.display [ fhir:value "Mavis Midwife" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.description [ fhir:value "The second antenatal encounter. Discuss any issues that arose from the first antenatal encounter" ]
     ]
  ], [
     fhir:index 3;
     fhir:CarePlan.activity.plannedActivityDetail [
       fhir:CarePlan.activity.plannedActivityDetail.kind [ fhir:value "Appointment" ]; #   This will be the delivery. It is not yet scheduled.  
       fhir:CarePlan.activity.plannedActivityDetail.code [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://example.org/mySystem" ];
           fhir:Coding.code [ fhir:value "del" ]
         ];
         fhir:CodeableConcept.text [ fhir:value "Delivery" ]
       ];
       fhir:CarePlan.activity.plannedActivityDetail.status [ fhir:value "not-started" ];
       fhir:CarePlan.activity.plannedActivityDetail.doNotPerform [ fhir:value "false"^^xsd:boolean ];
       fhir:CarePlan.activity.plannedActivityDetail.scheduledTiming [
         fhir:Timing.repeat [
           fhir:Timing.repeat.boundsPeriod [
             fhir:Period.start [ fhir:value "2013-09-01"^^xsd:date ];
             fhir:Period.end [ fhir:value "2013-09-14"^^xsd:date ]
           ]
         ] #   The delivery should occur between 1 September and 14 September  
       ];
       fhir:CarePlan.activity.plannedActivityDetail.performer [
         fhir:index 0;
         fhir:Reference.reference [ fhir:value "#pr1" ]; #   The intention is that Maris will be performing the delivery...  
         fhir:Reference.display [ fhir:value "Mavis Midwife" ]
       ]; #   Where the delivery is to occur... \n          Commented out for now because location resource isn't defined\n        <location>\n            <url value=\"loc100\"\/>\n            <display value=\"St Albans delivery suite\"\/>\n        <\/location> 
       fhir:CarePlan.activity.plannedActivityDetail.description [ fhir:value "The delivery." ]
     ]
  ]] . # 

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