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-GPVisit.ttl

Raw Turtle, JSON-LD

Encounter to GP (Primary care Practitioner)

@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 xs: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir//CarePlan/gpvisit> a fhir:CarePlan;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "gpvisit"];
  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/100>;
         fhir:Reference.reference [ fhir:value "Patient/100" ];
         fhir:Reference.display [ fhir:value "Peter James Chalmers" ]       ];
       fhir:Condition.code [
         fhir:CodeableConcept.text [ fhir:value "Overseas encounter" ]       ];
       fhir:Condition.verificationStatus [ fhir:value "confirmed" ]     ]
  ];
  fhir:DomainResource.contained [
     fhir:index 1;
     fhir:Goal [
       fhir:index 0;
       fhir:Resource.id [ fhir:value "goal" ];
       fhir:Goal.subjectReference [
         fhir:reference <http://hl7.org/fhir/Patient/100>;
         fhir:Reference.reference [ fhir:value "Patient/100" ];
         fhir:Reference.display [ fhir:value "Peter James Chalmers" ]       ];
       fhir:Goal.description [ fhir:value "Complete consultation" ];
       fhir:Goal.status [ fhir:value "planned" ]     ]
  ];
  fhir:CarePlan.subjectReference [
     fhir:reference <http://hl7.org/fhir/Patient/100>;
     fhir:Reference.reference [ fhir:value "Patient/100" ];
     fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
  ];
  fhir:CarePlan.status [ fhir:value "active"];
  fhir:CarePlan.period [
     fhir:Period.start [ fhir:value "2013-01-01T10:30:00+00:00"^^xs:dateTime ]
  ];
  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:Element.id [ fhir:value "part1" ];
     fhir:CarePlan.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:CarePlan.participant.memberReference [
       fhir:reference <http://hl7.org/fhir/Practitioner/13>;
       fhir:Reference.reference [ fhir:value "Practitioner/13" ];
       fhir:Reference.display [ fhir:value "Nurse Nancy" ]     ]
  ];
  fhir:CarePlan.participant [
     fhir:index 1;
     fhir:Element.id [ fhir:value "part2" ];
     fhir:CarePlan.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:CarePlan.participant.memberReference [
       fhir:reference <http://hl7.org/fhir/Practitioner/14>;
       fhir:Reference.reference [ fhir:value "Practitioner/14" ];
       fhir:Reference.display [ fhir:value "Doctor Dave" ]     ]
  ];
  fhir:CarePlan.goal [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "#goal" ]
  ];
  fhir:CarePlan.activity [
     fhir:index 0;
     fhir:CarePlan.activity.actionResulting [
       fhir:index 0;
       fhir:reference <http://hl7.org/fhir/Encounter/example>;
       fhir:Reference.reference [ fhir:value "Encounter/example" ]     ];
     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 "encounter" ]         ]       ];
       fhir:CarePlan.activity.detail.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.detail.status [ fhir:value "completed" ];
       fhir:CarePlan.activity.detail.prohibited [ fhir:value "false"^^xs:boolean ];
       fhir:CarePlan.activity.detail.scheduledPeriod [
         fhir:Period.start [ fhir:value "2013-01-01T10:38:00+00:00"^^xs:dateTime ];
         fhir:Period.end [ fhir:value "2013-01-01T10:50:00+00:00"^^xs:dateTime ]       ];
       fhir:CarePlan.activity.detail.performerReference [
         fhir:index 0;
         fhir:reference <http://hl7.org/fhir/Practitioner/13>;
         fhir:Reference.reference [ fhir:value "Practitioner/13" ];
         fhir:Reference.display [ fhir:value "Nurse Nancy" ]       ]     ]
  ];
  fhir:CarePlan.activity [
     fhir:index 1;
     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 "encounter" ]         ]       ];
       fhir:CarePlan.activity.detail.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.detail.status [ fhir:value "scheduled" ];
       fhir:CarePlan.activity.detail.prohibited [ fhir:value "false"^^xs:boolean ];
       fhir:CarePlan.activity.detail.performerReference [
         fhir:index 0;
         fhir:reference <http://hl7.org/fhir/Practitioner/14>;
         fhir:Reference.reference [ fhir:value "Practitioner/14" ];
         fhir:Reference.display [ fhir:value "Doctor Dave" ]       ]     ]
  ].

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


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.