Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Location-examples-general.ttl

Example Location/3ad0687e-f477-468c-afd5-fcc2bf897819 (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Administration Work Group Standards Status : Informative Compartments : Not linked to any No defined compartments

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

General location examples

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/Bundle/3ad0687e-f477-468c-afd5-fcc2bf897819> a fhir:Bundle;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "3ad0687e-f477-468c-afd5-fcc2bf897819"];
  fhir:Bundle.type [ fhir:value "collection"];
  fhir:Bundle.entry [
     fhir:index 0;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/Location/2" ];
     fhir:Bundle.entry.resource <http://hl7.org/fhir/Location/2>
  ], [
     fhir:index 1;
     fhir:Bundle.entry.fullUrl [ fhir:value "http://hl7.org/fhir/Location/3" ];
     fhir:Bundle.entry.resource <http://hl7.org/fhir/Location/3>
  ] .

<http://hl7.org/fhir/Location/2> a fhir:Location;
  fhir:Resource.id [ fhir:value "2"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">USS Enterprise</div>"
  ];
  fhir:Location.status [ fhir:value "active"];
  fhir:Location.name [ fhir:value "USSS Enterprise-D"];
  fhir:Location.mode [ fhir:value "instance"] .

<http://hl7.org/fhir/Location/3> a fhir:Location;
  fhir:Resource.id [ fhir:value "3"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">USSS Enterprise-D Sickbay</div>"
  ];
  fhir:Location.status [ fhir:value "active"];
  fhir:Location.name [ fhir:value "USSS Enterprise-D Sickbay"];
  fhir:Location.mode [ fhir:value "instance"];
  fhir:Location.partOf [
     fhir:link <http://hl7.org/fhir/Location/2>;
     fhir:Reference.reference [ fhir:value "Location/2" ];
     fhir:Reference.display [ fhir:value "USS Enterprise" ]
  ] .

<http://hl7.org/fhir/Bundle/3ad0687e-f477-468c-afd5-fcc2bf897819> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "3ad0687e-f477-468c-afd5-fcc2bf897819"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "http://hl7.org/fhir/Location/2"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/Location/2>
     ] ;
     fhir:resource ( <http://hl7.org/fhir/Location/2> )
  ] [
     fhir:fullUrl [
       fhir:v "http://hl7.org/fhir/Location/3"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/Location/3>
     ] ;
     fhir:resource ( <http://hl7.org/fhir/Location/3> )
  ] ) . # 


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

<http://hl7.org/fhir/Location/2> a fhir:Location ;
  fhir:id [ fhir:v "2"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">USS Enterprise</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "USSS Enterprise-D"] ; # 
  fhir:mode [ fhir:v "instance"] . # 


<http://hl7.org/fhir/Bundle/3ad0687e-f477-468c-afd5-fcc2bf897819.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Bundle/3ad0687e-f477-468c-afd5-fcc2bf897819.ttl> .

<http://hl7.org/fhir/Location/3> a fhir:Location ;
  fhir:id [ fhir:v "3"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">USSS Enterprise-D Sickbay</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "USSS Enterprise-D Sickbay"] ; # 
  fhir:mode [ fhir:v "instance"] ; # 
  fhir:partOf [
     fhir:l <http://hl7.org/fhir/Location/2> ;
     fhir:reference [ fhir:v "Location/2" ] ;
     fhir:display [ fhir:v "USS Enterprise" ]
  ] . # 


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


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.