Publish-box (todo)
Example Location/wash-dc-metro (Turtle)
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:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Location</b><a name=\"wash-dc-metro\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Location "wash-dc-metro" </p><p style=\"margin-bottom: 0px\">Profile: <code>http://hl7.org/fhir/uv/vhdir/StructureDefinition/vhdir-location</code></p></div><p><b>Location Boundary (GeoJSON)</b>: </p><p><b>status</b>: active</p><p><b>name</b>: <span title=\" this record is active \">Washington, DC metro area</span></p><p><b>form</b>: Area <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-location-physical-type.html\">Location type</a>#area)</span></p></div>"
] ; #
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.