eHealthExchange Healthcare Directory Implementation Guide
1.17.0 - Release 1

: NameOrID - TTL Representation

Active as of 2026-10-01

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

<http://hl7.org/fhir/SearchParameter/sp-name-or-id> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "sp-name-or-id"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.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><h2>NameOrID</h2><p>Parameter <code>nameOrId</code>:<code>string</code></p><div><p>The organization's name or ID or alias, 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.alias | 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:SearchParameter.url [ fhir:value "https://sequoiaproject.org/fhir/ehx/SearchParameter/sp-name-or-id"] ;
  fhir:SearchParameter.version [ fhir:value "1.17.0"] ;
  fhir:SearchParameter.name [ fhir:value "NameOrID"] ;
  fhir:SearchParameter.status [ fhir:value "active"] ;
  fhir:SearchParameter.date [ fhir:value "2026-10-01T14:47:50-04:00"^^xsd:dateTime] ;
  fhir:SearchParameter.publisher [ fhir:value "eHealthExchange"] ;
  fhir:SearchParameter.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "eHealthExchange" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://ehealthexchange.org/" ]
     ]
  ] ;
  fhir:SearchParameter.description [ fhir:value "The organization's name or ID or alias, ignoring the resource type (`Organization/`) and version (`/_history/...`)"] ;
  fhir:SearchParameter.code [ fhir:value "nameOrId"] ;
  fhir:SearchParameter.base [
     fhir:value "Organization" ;
     fhir:index 0
  ] ;
  fhir:SearchParameter.type [ fhir:value "string"] ;
  fhir:SearchParameter.expression [ fhir:value "Organization.alias | Organization.name | Organization.id.replaceMatches('^(Organization/)?(?<id>[^/]+)(/_history/.+)?$', '${id}')"] .

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

<http://hl7.org/fhir/SearchParameter/sp-name-or-id.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/SearchParameter/sp-name-or-id.ttl> .