Release 4B Snapshot 3: Connectathon 32 Base

This page is part of the Snapshot #3 for FHIR Specification (v4.3.0: R4B - STU ). The current version which supercedes this version is 5.0.0 R5 , released to support Connectathon 32 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Encounter-example-home.ttl

Example Encounter/home (Turtle)

Patient Administration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Encounter , Patient , Practitioner , RelatedPerson

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

Encounter example - virtual encounter

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/Encounter/home> a fhir:Encounter;

[a fhir:Encounter;

  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "home"];

  fhir:Resource.id [ fhir:value "home"]; # 

  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Encounter with patient @example who is at home</div>"
  ];

  ]; # 

  fhir:DomainResource.contained [
     a fhir:Location;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "home" ];
     fhir:Location.description [ fhir:value "Client's home" ];
     fhir:Location.mode [ fhir:value "kind" ]
  ];
  fhir:Encounter.status [ fhir:value "finished"];

  ]; # 
  fhir:Encounter.status [ fhir:value "completed"]; # 

  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "HH" ];
     fhir:Coding.display [ fhir:value "home health" ]
  ];

     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
       fhir:Coding.code [ fhir:value "HH" ]; #   Note that this value implies that the practitioner was at the patients home, \n			if it was a tele-service, then the virtual code should be used.  
       fhir:Coding.display [ fhir:value "home health" ]
     ]
  ]; # 

  fhir:Encounter.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;

     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];

  ]; # 

  fhir:Encounter.participant [
     fhir:index 0;
     fhir:Encounter.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "PPRF" ]
       ]
     ];

     fhir:Encounter.participant.period [
       fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
       fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
     ];
     fhir:Encounter.participant.individual [
       fhir:link <http://hl7.org/fhir/Practitioner/example>;

     fhir:Encounter.participant.actor [

       fhir:Reference.reference [ fhir:value "Practitioner/example" ];
       fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
     ]
  ];
  fhir:Encounter.period [

  ], [
     fhir:index 1;
     fhir:Encounter.participant.actor [
       fhir:Reference.reference [ fhir:value "Patient/example" ]
     ]
  ]; # 
  fhir:Encounter.actualPeriod [

     fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
     fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
  ];

  ]; # 

  fhir:Encounter.location [
     fhir:index 0;
     fhir:Encounter.location.location [
       fhir:Reference.reference [ fhir:value "#home" ];
       fhir:Reference.display [ fhir:value "Client's home" ]
     ];
     fhir:Encounter.location.status [ fhir:value "completed" ];
     fhir:Encounter.location.period [
       fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
       fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

  ]] . # 


# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Encounter/home.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Encounter/home.ttl> .

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