Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-SearchParameter | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_SearchParameter_R3 | ||
This cross-version profile allows R5 SearchParameter content to be represented via FHIR STU3 SearchParameter resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | SearchParameter | Search Parameter for a resource Constraints: spd-1, spd-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this search parameter (globally unique) |
![]() ![]() |
Σ | 1..1 | string | Name for this search parameter (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. |
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() |
Σ | 1..1 | code | Code used in URL |
![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of FHIR. |
![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required): Data types allowed to be used for search parameters. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |
![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| SearchParameter.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| SearchParameter.base | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.type | Base | required | SearchParamType | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SearchParameter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| spd-1 | error | SearchParameter | If an xpath is present, there SHALL be an xpathUsage |
xpath.empty() or xpathUsage.exists()
|
| spd-2 | error | SearchParameter | Search parameters can only have chain names when the search parameter type is 'reference' |
chain.empty() or type = 'reference'
|
This structure is derived from SearchParameter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | SearchParameter | Search Parameter for a resource | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.contact | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: normal | phonetic | other additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.processingMode Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its expression query. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | code | R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.modifier Binding: R5SearchModifierCodeForR3 (0.1.0) (required): A supported modifier for a search parameter. | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | R5: definition additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.component.definition | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 1..1 | SearchParameter | Search Parameter for a resource Constraints: spd-1, spd-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |||||
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this search parameter (globally unique) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the search parameter | ||||
![]() ![]() |
Σ | 1..1 | string | Name for this search parameter (computer friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date this was last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.contact | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
Σ | 0..* | UsageContext | Context the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for search parameter (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use | ||||
![]() ![]() |
0..1 | markdown | Why this search parameter is defined | |||||
![]() ![]() |
Σ | 1..1 | code | Code used in URL | ||||
![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of FHIR. | ||||
![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required): Data types allowed to be used for search parameters. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..1 | uri | Original Definition for the search parameter | |||||
![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter | ||||
![]() ![]() |
C | 0..1 | string | FHIRPath expression that extracts the values | ||||
![]() ![]() |
C | 0..1 | string | XPath that extracts the values | ||||
![]() ![]() |
C | 0..1 | code | normal | phonetic | nearby | distance | other Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its xpath query. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: normal | phonetic | other additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.processingMode Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its expression query. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..* | code | Types of resource (if a resource reference) Binding: ResourceType (required): One of the resource types defined as part of FHIR. | |||||
![]() ![]() |
0..* | code | eq | ne | gt | lt | ge | le | sa | eb | ap Binding: SearchComparator (required): What Search Comparator Codes are supported in search | |||||
![]() ![]() |
0..* | code | missing | exact | contains | not | text | in | not-in | below | above | type Binding: SearchModifierCode (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | code | R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.modifier Binding: R5SearchModifierCodeForR3 (0.1.0) (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..* | string | Chained names supported | |||||
![]() ![]() |
0..* | BackboneElement | For Composite resources to define the parts | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | Reference(SearchParameter) | Defines how the part works | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | R5: definition additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.component.definition | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
1..1 | string | Subexpression relative to main expression | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| SearchParameter.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| SearchParameter.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍3.0.2 | FHIR Std. |
| SearchParameter.base | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.type | Base | required | SearchParamType | 📍3.0.2 | FHIR Std. |
| SearchParameter.xpathUsage | Base | required | XPathUsageType | 📍3.0.2 | FHIR Std. |
| SearchParameter.target | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.comparator | Base | required | SearchComparator | 📍3.0.2 | FHIR Std. |
| SearchParameter.modifier | Base | required |
SearchModifierCode
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SearchParameter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| spd-1 | error | SearchParameter | If an xpath is present, there SHALL be an xpathUsage |
xpath.empty() or xpathUsage.exists()
|
| spd-2 | error | SearchParameter | Search parameters can only have chain names when the search parameter type is 'reference' |
chain.empty() or type = 'reference'
|
This structure is derived from SearchParameter
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 1..1 | SearchParameter | Search Parameter for a resource Constraints: spd-1, spd-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this search parameter (globally unique) |
![]() ![]() |
Σ | 1..1 | string | Name for this search parameter (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. |
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() |
Σ | 1..1 | code | Code used in URL |
![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of FHIR. |
![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required): Data types allowed to be used for search parameters. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |
![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| SearchParameter.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| SearchParameter.base | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.type | Base | required | SearchParamType | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SearchParameter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| spd-1 | error | SearchParameter | If an xpath is present, there SHALL be an xpathUsage |
xpath.empty() or xpathUsage.exists()
|
| spd-2 | error | SearchParameter | Search parameters can only have chain names when the search parameter type is 'reference' |
chain.empty() or type = 'reference'
|
Differential View
This structure is derived from SearchParameter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | SearchParameter | Search Parameter for a resource | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.contact | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: normal | phonetic | other additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.processingMode Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its expression query. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | code | R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.modifier Binding: R5SearchModifierCodeForR3 (0.1.0) (required): A supported modifier for a search parameter. | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | uri | R5: definition additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.component.definition | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 1..1 | SearchParameter | Search Parameter for a resource Constraints: spd-1, spd-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: Common Languages (extensible): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-identifier]] | R5: Additional identifier for the search parameter (business identifier) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-identifier | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this search parameter (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyright]] | R5: Use and/or publishing restrictions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyright | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel]] | R5: Copyright holder and year(s) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-copyrightLabel | |||||
![]() ![]() ![]() |
0..1 | string | R5: FHIRPath expression that constraints the usage of this SearchParamete (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.constraint | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple values per parameter (or) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleOr | |||||
![]() ![]() ![]() |
0..1 | boolean | R5: Allow multiple parameters (and) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.multipleAnd | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this search parameter (globally unique) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the search parameter | ||||
![]() ![]() |
Σ | 1..1 | string | Name for this search parameter (computer friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date this was last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.contact | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
Σ | 0..* | UsageContext | Context the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for search parameter (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use | ||||
![]() ![]() |
0..1 | markdown | Why this search parameter is defined | |||||
![]() ![]() |
Σ | 1..1 | code | Code used in URL | ||||
![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of FHIR. | ||||
![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri Binding: SearchParamType (required): Data types allowed to be used for search parameters. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: number | date | string | token | reference | composite | quantity | uri | special URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.type Binding: SearchParamType (required): Data types allowed to be used for search parameters. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..1 | uri | Original Definition for the search parameter | |||||
![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter | ||||
![]() ![]() |
C | 0..1 | string | FHIRPath expression that extracts the values | ||||
![]() ![]() |
C | 0..1 | string | XPath that extracts the values | ||||
![]() ![]() |
C | 0..1 | code | normal | phonetic | nearby | distance | other Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its xpath query. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: normal | phonetic | other additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.processingMode Binding: XPathUsageType (required): How a search parameter relates to the set of elements returned by evaluating its expression query. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..* | code | Types of resource (if a resource reference) Binding: ResourceType (required): One of the resource types defined as part of FHIR. | |||||
![]() ![]() |
0..* | code | eq | ne | gt | lt | ge | le | sa | eb | ap Binding: SearchComparator (required): What Search Comparator Codes are supported in search | |||||
![]() ![]() |
0..* | code | missing | exact | contains | not | text | in | not-in | below | above | type Binding: SearchModifierCode (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | code | R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.modifier Binding: R5SearchModifierCodeForR3 (0.1.0) (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
0..* | string | Chained names supported | |||||
![]() ![]() |
0..* | BackboneElement | For Composite resources to define the parts | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
1..1 | Reference(SearchParameter) | Defines how the part works | |||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | R5: definition additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SearchParameter.component.definition | |||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() ![]() |
1..1 | string | Subexpression relative to main expression | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| SearchParameter.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| SearchParameter.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍3.0.2 | FHIR Std. |
| SearchParameter.base | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.type | Base | required | SearchParamType | 📍3.0.2 | FHIR Std. |
| SearchParameter.xpathUsage | Base | required | XPathUsageType | 📍3.0.2 | FHIR Std. |
| SearchParameter.target | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| SearchParameter.comparator | Base | required | SearchComparator | 📍3.0.2 | FHIR Std. |
| SearchParameter.modifier | Base | required |
SearchModifierCode
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | SearchParameter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SearchParameter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| spd-1 | error | SearchParameter | If an xpath is present, there SHALL be an xpathUsage |
xpath.empty() or xpathUsage.exists()
|
| spd-2 | error | SearchParameter | Search parameters can only have chain names when the search parameter type is 'reference' |
chain.empty() or type = 'reference'
|
This structure is derived from SearchParameter
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron