OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

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

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

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:Resource.id [ fhir:value "location-partof-name"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: SearchParameter</b><a name=\"location-partof-name\"> </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 SearchParameter &quot;location-partof-name&quot; </p></div><p><b>url</b>: <code>http://fhir.openmrs.org/fhir/SearchParameter/location-partof-name</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: LocationPartOfNameSearchParameter</p><p><b>status</b>: active</p><p><b>date</b>: 2022-11-29 05:06:49+0000</p><p><b>contact</b>: OpenMRS, Inc.: <a href=\"https://openmrs.org\">https://openmrs.org</a></p><p><b>description</b>: Searches based on the partof location reference name field for the location record eg) /ws/fhir2/{release}/Location?partof.name={name}</p><p><b>code</b>: partOf-name</p><p><b>base</b>: Location</p><p><b>type</b>: reference</p><p><b>target</b>: OMRSLocation</p></div>"
  ];
  fhir:SearchParameter.url [ fhir:value "http://fhir.openmrs.org/fhir/SearchParameter/location-partof-name"];
  fhir:SearchParameter.version [ fhir:value "0.1.0"];
  fhir:SearchParameter.name [ fhir:value "LocationPartOfNameSearchParameter"];
  fhir:SearchParameter.status [ fhir:value "active"];
  fhir:SearchParameter.date [ fhir:value "2022-11-29T17:06:49+00:00"^^xsd:dateTime];
  fhir:SearchParameter.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "OpenMRS, Inc." ];
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "https://openmrs.org" ]     ]
  ];
  fhir:SearchParameter.description [ fhir:value "Searches based on the partof location reference name field for the location record eg) /ws/fhir2/{release}/Location?partof.name={name}"];
  fhir:SearchParameter.code [ fhir:value "partOf-name"];
  fhir:SearchParameter.base [
     fhir:value "Location";
     fhir:index 0
  ];
  fhir:SearchParameter.type [ fhir:value "reference"];
  fhir:SearchParameter.target [
     fhir:value "OMRSLocation";
     fhir:index 0
  ].

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

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.