Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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

Encounter-example-home.ttl

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: 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;
  fhir:nodeRole fhir:treeRoot;
  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 "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: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.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:Reference.reference [ fhir:value "Practitioner/example" ];
       fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
     ]
  ];
  fhir:Encounter.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.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> .

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


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.