PSGC Terminology FHIR Implementation Guide
0.1.0 - ci-build Philippines flag

PSGC Terminology FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Resolve PSGC from Coordinates - TTL Representation

Draft as of 2026-06-23

Raw ttl | Download


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

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "resolve-psgc"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DefinicionDeOperacion resolve-psgc</b></p><a name=\"resolve-psgc\"> </a><a name=\"hcresolve-psgc\"> </a><p>URL: [base]/Location/$resolve-psgc</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>lat</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a></td><td/><td><div><p>Latitude (WGS84)</p>\n</div></td></tr><tr><td>IN</td><td>lon</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a></td><td/><td><div><p>Longitude (WGS84)</p>\n</div></td></tr><tr><td>OUT</td><td>code</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td/><td><div><p>Resolved PSGC code (most specific level found)</p>\n</div></td></tr><tr><td>OUT</td><td>hierarchy</td><td/><td>0..*</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td/><td><div><p>Full hierarchy path from region to resolved level</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [ fhir:v "https://australian-e-health-research-centre.gitlab.io/psgc-fhir-ig/OperationDefinition/resolve-psgc"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ResolvePSGC"] ; # 
  fhir:title [ fhir:v "Resolve PSGC from Coordinates"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2026-06-23T13:03:53+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "CSIRO Australian e-Health Research Centre"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "CSIRO Australian e-Health Research Centre" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://aehrc.csiro.au" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Reverse geocoding: resolve latitude/longitude to the PSGC code hierarchy via point-in-polygon spatial query."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PH" ] ;
fhir:display [ fhir:v "Philippines" ]     ] )
  ] ) ; # 
  fhir:code [ fhir:v "resolve-psgc"] ; # 
  fhir:resource ( [ fhir:v "Location"] ) ; # 
  fhir:system [ fhir:v false] ; # 
  fhir:type [ fhir:v true] ; # 
  fhir:instance [ fhir:v false] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "lat" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Latitude (WGS84)" ] ;
fhir:type [ fhir:v "decimal" ]
  ] [
fhir:name [ fhir:v "lon" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Longitude (WGS84)" ] ;
fhir:type [ fhir:v "decimal" ]
  ] [
fhir:name [ fhir:v "code" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Resolved PSGC code (most specific level found)" ] ;
fhir:type [ fhir:v "Coding" ]
  ] [
fhir:name [ fhir:v "hierarchy" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Full hierarchy path from region to resolved level" ] ;
fhir:type [ fhir:v "Coding" ]
  ] ) . #