eHealthExchange Healthcare Directory Implementation Guide
1.2.0 - Release 1

: NameOrID - TTL Representation

Active as of 2024-12-23

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 "sp-name-or-id"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: SearchParameter sp-name-or-id</b></p><a name=\"sp-name-or-id\"> </a><a name=\"hcsp-name-or-id\"> </a><a name=\"sp-name-or-id-en-US\"> </a><h2>NameOrID</h2><p>Parameter <code>nameOrId</code>:<code>string</code></p><div><p>The organization's name or ID, ignoring the resource type (<code>Organization/</code>) and version (<code>/_history/...</code>)</p>\n</div><table class=\"grid\"><tr><td>Resource</td><td><a href=\"http://hl7.org/fhir/R4/organization.html\">Organization</a></td></tr><tr><td>Expression</td><td><code>Organization.name | Organization.id.replaceMatches('^(Organization/)?(?&lt;id&gt;[^/]+)(/_history/.+)?$', '${id}')</code></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "https://sequoiaproject.org/fhir/ehx/SearchParameter/sp-name-or-id"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.2.0"] ; # 
  fhir:name [ fhir:v "NameOrID"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2024-12-23T14:12:01-05:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "eHealthExchange"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "eHealthExchange" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://ehealthexchange.org/" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The organization's name or ID, ignoring the resource type (`Organization/`) and version (`/_history/...`)"] ; # 
  fhir:code [ fhir:v "nameOrId"] ; # 
  fhir:base ( [ fhir:v "Organization"] ) ; # 
  fhir:type [ fhir:v "string"] ; # 
  fhir:expression [ fhir:v "Organization.name | Organization.id.replaceMatches('^(Organization/)?(?<id>[^/]+)(/_history/.+)?$', '${id}')"] . #