OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: Search in Location endpoint basing on location partof attribute - TTL Representation

Active as of 2023-05-17

Raw ttl | Download


@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:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "location-partof"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>LocationPartOfSearchParameter</h2><p>Parameter <code>partOf</code>:<code>reference</code></p><div><p>Searches based on the partof field for the location record eg) /ws/fhir2/{release}/Location?partof={reference}</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></td></tr><tr><td>Expression</td><td>(none)</td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></td></tr><tr><td>Multiples</td><td>The parameter cannot repeat or have multiple values</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://fhir.openmrs.org/core/SearchParameter/location-partof"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "LocationPartOfSearchParameter"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2023-05-17T15:10:06+00:00"^^xsd:dateTime] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "OpenMRS, Inc." ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://openmrs.org" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Searches based on the partof field for the location record eg) /ws/fhir2/{release}/Location?partof={reference}"] ; # 
  fhir:code [ fhir:v "partOf"] ; # 
  fhir:base ( [ fhir:v "Location"] ) ; # 
  fhir:type [ fhir:v "reference"] ; # 
  fhir:target ( [ fhir:v "Location"] ) . #