STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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

Location-example.ttl

Raw Turtle, JSON-LD

Wing within a hospital

@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/Location/1> a fhir:Location;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "1"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Burgers UMC, South Wing, second floor</div>"
  ];
  fhir:extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/location-alias" ];
     fhir:Extension.valueString [ fhir:value "Burgers University Medical Center, South Wing, second floor" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/location-alias" ];
     fhir:Extension.valueString [ fhir:value "BU MC, SW, F2" ]
  ];
  fhir:Location.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "B1-S.F2" ]
  ];
  fhir:Location.status [ fhir:value "active"];
  fhir:Location.name [ fhir:value "South Wing, second floor"];
  fhir:Location.description [ fhir:value "Second floor of the Old South Wing, formerly in use by Psychiatry"];
  fhir:Location.mode [ fhir:value "instance"];
  fhir:Location.telecom [
     fhir:index 0;
     fhir:ContactPoint.system [ fhir:value "phone" ];
     fhir:ContactPoint.value [ fhir:value "2328" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 1;
     fhir:ContactPoint.system [ fhir:value "fax" ];
     fhir:ContactPoint.value [ fhir:value "2329" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ], [
     fhir:index 2;
     fhir:ContactPoint.system [ fhir:value "email" ];
     fhir:ContactPoint.value [ fhir:value "second wing admissions" ]
  ], [
     fhir:index 3;
     fhir:ContactPoint.system [ fhir:value "url" ];
     fhir:ContactPoint.value [ fhir:value "http://sampleorg.com/southwing" ];
     fhir:ContactPoint.use [ fhir:value "work" ]
  ];
  fhir:Location.address [
     fhir:Address.use [ fhir:value "work" ];
     fhir:Address.line [
       fhir:value "Galapagosweg 91, Building A";
       fhir:index 0
     ];
     fhir:Address.city [ fhir:value "Den Burg" ];
     fhir:Address.postalCode [ fhir:value "9105 PZ" ];
     fhir:Address.country [ fhir:value "NLD" ]
  ];
  fhir:Location.physicalType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/location-physical-type" ];
       fhir:Coding.code [ fhir:value "wi" ];
       fhir:Coding.display [ fhir:value "Wing" ]
     ]
  ];
  fhir:Location.position [
     fhir:Location.position.longitude [ fhir:value "-83.6945691"^^xsd:decimal ];
     fhir:Location.position.latitude [ fhir:value "42.25475478"^^xsd:decimal ];
     fhir:Location.position.altitude [ fhir:value "0"^^xsd:decimal ]
  ];
  fhir:Location.managingOrganization [
     fhir:link <http://hl7.org/fhir/Organization/f001>;
     fhir:Reference.reference [ fhir:value "Organization/f001" ]
  ];
  fhir:Location.endpoint [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Endpoint/example>;
     fhir:Reference.reference [ fhir:value "Endpoint/example" ]
  ] .

<http://hl7.org/fhir/Organization/f001> a fhir:Organization .

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

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


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.