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

Careplan-example.ttl

Raw Turtle, JSON-LD

General Person Example

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@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//CarePlan/example> a fhir:CarePlan;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ]
  ];
  fhir:DomainResource.contained [
     fhir:index 0;
     fhir:Condition [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "p1" ];
       fhir:Condition.patient [
         fhir:reference <http://hl7.org/fhir/Patient/example>;
         fhir:Reference.reference [ fhir:value "Patient/example" ];
         fhir:Reference.display [ fhir:value "Peter James Chalmers" ]       ];
       fhir:Condition.code [
         fhir:CodeableConcept.text [ fhir:value "Obesity" ]       ];
       fhir:Condition.verificationStatus [ fhir:value "confirmed" ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 1;
     fhir:Practitioner [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "pr1" ];
       fhir:Practitioner.name [
         fhir:index 0;
         fhir:HumanName.family [
           fhir:value "Dietician";
           fhir:index 0         ];
         fhir:HumanName.given [
           fhir:value "Dorothy";
           fhir:index 0         ]       ];
       fhir:Practitioner.practitionerRole [
         fhir:index 0;
         fhir:Practitioner.practitionerRole.specialty [
           fhir:index 0;
           fhir:CodeableConcept.text [ fhir:value "Dietician" ]         ]       ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 2;
     fhir:Goal [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "goal" ];
       fhir:DomainResource.extension [
         fhir:index 0;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "goal-target.measure" ];
           fhir:Extension.valueCodeableConcept [
             a loinc:29463-7;
             fhir:CodeableConcept.coding [
               fhir:index 0;
               a loinc:29463-7;
               fhir:Coding.system [ fhir:value "http://loinc.org" ];
               fhir:Coding.code [ fhir:value "29463-7" ];
               fhir:Coding.display [ fhir:value "Body weight" ]             ]           ]         ];
         fhir:Element.extension [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "goal-target.detail" ];
           fhir:Extension.valueQuantity [
             fhir:Quantity.value [ fhir:value "80"^^xs:decimal ];
             fhir:Quantity.system [ fhir:value "http://units-of-measure.org" ];
             fhir:Quantity.code [ fhir:value "kg" ]           ]         ];
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/goal-target" ]       ];
       fhir:Goal.subjectReference [
         fhir:reference <http://hl7.org/fhir/Patient/example>;
         fhir:Reference.reference [ fhir:value "Patient/example" ];
         fhir:Reference.display [ fhir:value "Peter James Chalmers" ]       ];
       fhir:Goal.description [ fhir:value "Target weight is 80 kg" ];
       fhir:Goal.status [ fhir:value "planned" ]     ]
  ];
  fhir:CarePlan.subjectReference [
     fhir:reference <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ];
  fhir:CarePlan.status [ fhir:value "active"];
  fhir:CarePlan.period [
     fhir:Period.end [ fhir:value "2013-01-01"^^xs:date ]
  ];
  fhir:CarePlan.addresses [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#p1" ];
     fhir:Reference.display [ fhir:value "obesity" ]
  ];
  fhir:CarePlan.participant [
     fhir:index 0;
     fhir:CarePlan.participant.role [
       fhir:CodeableConcept.text [ fhir:value "responsiblePerson" ]     ];
     fhir:CarePlan.participant.memberReference [
       fhir:reference <http://hl7.org/fhir/Patient/example>;
       fhir:Reference.reference [ fhir:value "Patient/example" ];
       fhir:Reference.display [ fhir:value "Peter James Chalmers" ]     ]
  ];
  fhir:CarePlan.participant [
     fhir:index 1;
     fhir:CarePlan.participant.role [
       fhir:CodeableConcept.text [ fhir:value "adviser" ]     ];
     fhir:CarePlan.participant.memberReference [
       fhir:Reference.reference [ fhir:value "#pr1" ];
       fhir:Reference.display [ fhir:value "Dorothy Dietition" ]     ]
  ];
  fhir:CarePlan.goal [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#goal" ]
  ];
  fhir:CarePlan.activity [
     fhir:index 0;
     fhir:CarePlan.activity.detail [
       fhir:CarePlan.activity.detail.category [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://hl7.org/fhir/care-plan-activity-category" ];
           fhir:Coding.code [ fhir:value "observation" ]         ]       ];
       fhir:CarePlan.activity.detail.code [
         fhir:CodeableConcept.text [ fhir:value "a code for weight measurement" ]       ];
       fhir:CarePlan.activity.detail.prohibited [ fhir:value "false"^^xs:boolean ];
       fhir:CarePlan.activity.detail.scheduledTiming [
         fhir:Timing.repeat [
           fhir:Timing.repeat.frequency [ fhir:value "1"^^xs:int ];
           fhir:Timing.repeat.period [ fhir:value "1"^^xs:decimal ];
           fhir:Timing.repeat.periodUnit [ fhir:value "d" ]         ]       ];
       fhir:CarePlan.activity.detail.performerReference [
         fhir:index 0;
         fhir:reference <http://hl7.org/fhir/Patient/example>;
         fhir:Reference.reference [ fhir:value "Patient/example" ];
         fhir:Reference.display [ fhir:value "Peter James Chalmers" ]       ]     ]
  ].

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


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.