Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

6.19.8 Resource SearchParameter - Detailed Descriptions

Detailed Descriptions for the elements in the SearchParameter resource.

SearchParameter
Definition

A search parameter that defines a named search item that can be used to search/filter on a resource.

Control1..1
Comments

In FHIR, search is not performed directly on a resource (by XML or JSON path), but on a named parameter that maps into the resource content.

InvariantsDefined on this element
spd-1: If an xpath is present, there SHALL be an xpathUsage (expression: xpath.empty() or xpathUsage, xpath: not(exists(f:xpath)) or exists(f:xpathUsage))
SearchParameter.url
Definition

An absolute URL that is used to identify this search parameter when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this search parameter is (or will be) published.

Control1..1
Typeuri
Requirements

To allow referencing and reusing search parameter definitions under other names on operational systems (in case of name clash).

Summarytrue
SearchParameter.name
Definition

A free text natural language name identifying the search parameter.

Control1..1
Typestring
Summarytrue
Comments

This is often the same as the code for the parameter, but does not need to be.

SearchParameter.status
Definition

The status of this search parameter definition.

Control0..1
BindingConformanceResourceStatus: The lifecycle status of a Value Set or Concept Map. (Required)
Typecode
Is Modifiertrue
Summarytrue
Comments

This is not intended for use with actual conformance statements, but where conformance statements are used to describe possible or desired systems.

SearchParameter.experimental
Definition

A flag to indicate that this search parameter definition is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.

Control0..1
Typeboolean
Summarytrue
Comments

Allows filtering of search parameter definitions that are appropriate for use vs. not.

SearchParameter.publisher
Definition

The name of the individual or organization that published the search parameter.

Control0..1
Typestring
Requirements

Helps establish the "authority/credibility" of the search parameter. May also allow for contact.

Summarytrue
Comments

Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.

SearchParameter.contact
Definition

Contacts to assist a user in finding and communicating with the publisher.

Control0..*
Summarytrue
Comments

May be a web site, an email address, a telephone number (tel:), etc.

SearchParameter.contact.name
Definition

The name of an individual to contact regarding the search parameter.

Control0..1
Typestring
Summarytrue
Comments

If there is no named individual, the telecom is for the organization as a whole.

SearchParameter.contact.telecom
Definition

Contact details for individual (if a name was provided) or the publisher.

Control0..*
TypeContactPoint
Summarytrue
SearchParameter.date
Definition

The date (and optionally time) when the search parameter definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the search parameter changes.

Control0..1
TypedateTime
Summarytrue
Comments

Additional specific dates may be added as extensions.

SearchParameter.requirements
Definition

The Scope and Usage that this search parameter was created to meet.

Control0..1
Typestring
SearchParameter.code
Definition

The code used in the URL or the parameter name in a parameters resource for this search parameter.

Control1..1
Typecode
Summarytrue
Comments

For maximum compatibility, use only lowercase ASCII characters.

SearchParameter.base
Definition

The base resource type that this search parameter refers to.

Control1..1
BindingResourceType: Any defined Resource Type name
Typecode
Summarytrue
SearchParameter.type
Definition

The type of value a search parameter refers to, and how the content is interpreted.

Control1..1
BindingSearchParamType: Data types allowed to be used for search parameters. (Required)
Typecode
Summarytrue
SearchParameter.description
Definition

A description of the search parameters and how it used.

Control1..1
Typestring
Summarytrue
SearchParameter.xpath
Definition

An XPath expression that returns a set of elements for the search parameter.

Control0..1
Typestring
Comments

Note that the elements returned by the XPath are sometimes complex elements where logic is required to determine quite how to handle them; e.g. CodeableConcepts may contain text and/or multiple codings, where the codings themselves contain a code and a system.

InvariantsAffect this element
spd-1: If an xpath is present, there SHALL be an xpathUsage (expression: xpath.empty() or xpathUsage, xpath: not(exists(f:xpath)) or exists(f:xpathUsage))
SearchParameter.xpathUsage
Definition

How the search parameter relates to the set of elements returned by evaluating the xpath query.

Control0..1
BindingXPathUsageType: How a search parameter relates to the set of elements returned by evaluating its xpath query. (Required)
Typecode
InvariantsAffect this element
spd-1: If an xpath is present, there SHALL be an xpathUsage (expression: xpath.empty() or xpathUsage, xpath: not(exists(f:xpath)) or exists(f:xpathUsage))
SearchParameter.target
Definition

Types of resource (if a resource is referenced).

Control0..*
BindingResourceType: Any defined Resource Type name
Typecode