R6 Ballot (2nd Draft)

Publish-box (todo)

Example Location/wash-dc-metro (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Washington, DC metro area - location with a boundary

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

[a fhir:Location ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "wash-dc-metro"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/vhdir/StructureDefinition/vhdir-location"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/uv/vhdir/StructureDefinition/vhdir-location>
     ] )
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/location-boundary-geojson"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:Attachment ;
       fhir:contentType [ fhir:v "application/geo+json" ] ;
       fhir:data [ fhir:v "VGhlbWU6IA0KUmF3UGFyc2VkDQp7InR5cGUiOiJGZWF0dXJlQ29sbGVjdGlvbiIsInByb3BlcnRpZXMiOnsia2luZCI6InN0YXRlIiwic3RhdGUiOiJEQyJ9LCJmZWF0dXJlcyI6Ww0KeyJ0eXBlIjoiRmVhdHVyZSIsInByb3BlcnRpZXMiOnsia2luZCI6ImNvdW50eSIsIm5hbWUiOiJEaXN0cmljdCBvZiBDb2x1bWJpYSIsInN0YXRlIjoiREMifSwiZ2VvbWV0cnkiOnsidHlwZSI6Ik11bHRpUG9seWdvbiIsImNvb3JkaW5hdGVzIjpbW1tbLTc3LjAzNTMsMzguOTkzOV0sWy03Ny4wMDI0LDM4Ljk2NjVdLFstNzYuOTA5MywzOC44OTUzXSxbLTc3LjA0MDcsMzguNzkxMl0sWy03Ny4wNDYyLDM4Ljg0MDVdLFstNzcuMDQwNywzOC44NzM0XSxbLTc3LjExNzQsMzguOTMzNl1dXV19fQ0KXX0="^^xsd:base64Binary ] ; #   https:\/\/raw.githubusercontent.com\/johan\/world.geo.json\/master\/countries\/USA\/DC\/District%20of%20Columbia.geo.json  
       fhir:url [ fhir:v "https://github.com/OpenDataDE/State-zip-code-GeoJSON/raw/master/dc_district_of_columbia_zip_codes_geo.min.json"^^xsd:anyURI ] ; #   And a higher resolution boundary can be found here  
       fhir:size [ fhir:v "389"^^xsd:long ]
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:name [ fhir:v "Washington, DC metro area"] ; #   this record is active  
  fhir:form [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/location-physical-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "area" ] ;
       fhir:display [ fhir:v "Area" ]
     ] ) #   This location is a collection of buildings or other locations such as a site or a campus  
  ]] . # 

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


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.