MII IG Meta
2025.0.0 - ci-build
MII IG Meta, published by Medizininformatik Initiative. This guide is not an authorized publication; it is the continuous build for version 2025.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medizininformatik-initiative/kerndatensatz-meta/ and changes regularly. See the Directory of published versions
Official URL: https://www.medizininformatik-initiative.de/fhir/modul-meta/StructureDefinition/mii-pr-meta-searchparameter | Version: 2025.0.0 | |||
Active as of 2024-07-01 | Computable Name: MII_PR_Meta_SearchParameter |
Das Profil legt die Mindestanforderungen fest, die SearchParameter-Ressourcen im Kerndatensatz erfüllen müssen.
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 | 0..* | SearchParameter | Search parameter for a resource Constraints: spd-0, spd-1, spd-2 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | uri | Canonical identifier for this search parameter, represented as a URI (globally unique) |
![]() ![]() ![]() |
Σ | 1..1 | string | Business version of the search parameter |
![]() ![]() ![]() |
ΣC | 1..1 | string | Name for this search parameter (computer friendly) |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() |
Σ | 1..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() |
Σ | 1..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter |
![]() ![]() ![]() |
ΣC | 1..1 | code | Code used in URL Constraints: search-param-code-regex |
![]() ![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
![]() ![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters. |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
SearchParameter.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
SearchParameter.base | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.type | Base | required | SearchParamType | 📍4.0.1 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
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 or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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()
|
dom-5 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | SearchParameter | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
spd-0 | warning | SearchParameter | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | SearchParameter | Search parameter for a resource | |
![]() ![]() ![]() |
1..1 | string | Business version of the search parameter | |
![]() ![]() ![]() |
1..1 | boolean | For testing purposes, not real usage | |
![]() ![]() ![]() |
1..1 | dateTime | Date last changed | |
![]() ![]() ![]() |
1..1 | string | Name of the publisher (organization or individual) | |
![]() ![]() ![]() |
1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() |
C | 1..1 | code | Code used in URL Constraints: search-param-code-regex |
![]() |
Id | Grade | Path(s) | Description | Expression |
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | SearchParameter | Search parameter for a resource Constraints: spd-0, 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: CommonLanguages (preferred): 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 | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Canonical identifier for this search parameter, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Business version of the search parameter | ||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Name for this search parameter (computer friendly) | ||||
![]() ![]() ![]() |
0..1 | canonical(SearchParameter) | Original definition for the search parameter | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() |
Σ | 1..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that 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 | |||||
![]() ![]() ![]() |
ΣC | 1..1 | code | Code used in URL Constraints: search-param-code-regex | ||||
![]() ![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters. | ||||
![]() ![]() ![]() |
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..* | code | Types of resource (if a resource reference) Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | |||||
![]() ![]() ![]() |
0..1 | boolean | Allow multiple values per parameter (or) | |||||
![]() ![]() ![]() |
0..1 | boolean | Allow multiple parameters (and) | |||||
![]() ![]() ![]() |
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 | identifier | ofType Binding: SearchModifierCode (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..* | string | Chained names supported | |||||
![]() ![]() ![]() |
0..* | BackboneElement | For Composite resources to define the parts | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | canonical(SearchParameter) | Defines how the part works | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Subexpression relative to main expression | |||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
SearchParameter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
SearchParameter.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
SearchParameter.jurisdiction | Base | extensible | Jurisdiction | 📍4.0.1 | FHIR Std. |
SearchParameter.base | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.type | Base | required | SearchParamType | 📍4.0.1 | FHIR Std. |
SearchParameter.xpathUsage | Base | required | XPathUsageType | 📍4.0.1 | FHIR Std. |
SearchParameter.target | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.comparator | Base | required | SearchComparator | 📍4.0.1 | FHIR Std. |
SearchParameter.modifier | Base | required | SearchModifierCode | 📍4.0.1 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
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 or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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()
|
dom-5 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | SearchParameter | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
spd-0 | warning | SearchParameter | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
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
Key Elements View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | SearchParameter | Search parameter for a resource Constraints: spd-0, spd-1, spd-2 |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | uri | Canonical identifier for this search parameter, represented as a URI (globally unique) |
![]() ![]() ![]() |
Σ | 1..1 | string | Business version of the search parameter |
![]() ![]() ![]() |
ΣC | 1..1 | string | Name for this search parameter (computer friendly) |
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() ![]() |
Σ | 1..1 | boolean | For testing purposes, not real usage |
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Date last changed |
![]() ![]() ![]() |
Σ | 1..1 | string | Name of the publisher (organization or individual) |
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher |
![]() ![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter |
![]() ![]() ![]() |
ΣC | 1..1 | code | Code used in URL Constraints: search-param-code-regex |
![]() ![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. |
![]() ![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters. |
![]() |
Path | Status | Usage | ValueSet | Version | Source |
SearchParameter.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
SearchParameter.base | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.type | Base | required | SearchParamType | 📍4.0.1 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
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 or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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()
|
dom-5 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | SearchParameter | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
spd-0 | warning | SearchParameter | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
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: ![]() ![]() |
---|---|---|---|---|
![]() ![]() |
0..* | SearchParameter | Search parameter for a resource | |
![]() ![]() ![]() |
1..1 | string | Business version of the search parameter | |
![]() ![]() ![]() |
1..1 | boolean | For testing purposes, not real usage | |
![]() ![]() ![]() |
1..1 | dateTime | Date last changed | |
![]() ![]() ![]() |
1..1 | string | Name of the publisher (organization or individual) | |
![]() ![]() ![]() |
1..* | ContactDetail | Contact details for the publisher | |
![]() ![]() ![]() |
C | 1..1 | code | Code used in URL Constraints: search-param-code-regex |
![]() |
Id | Grade | Path(s) | Description | Expression |
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
Snapshot View
Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | SearchParameter | Search parameter for a resource Constraints: spd-0, 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: CommonLanguages (preferred): 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 | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Canonical identifier for this search parameter, represented as a URI (globally unique) | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Business version of the search parameter | ||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Name for this search parameter (computer friendly) | ||||
![]() ![]() ![]() |
0..1 | canonical(SearchParameter) | Original definition for the search parameter | |||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() ![]() |
Σ | 1..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() ![]() |
Σ | 1..1 | dateTime | Date last changed | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() ![]() |
Σ | 1..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | Natural language description of the search parameter | ||||
![]() ![]() ![]() |
Σ | 0..* | UsageContext | The context that 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 | |||||
![]() ![]() ![]() |
ΣC | 1..1 | code | Code used in URL Constraints: search-param-code-regex | ||||
![]() ![]() ![]() |
Σ | 1..* | code | The resource type(s) this search parameter applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters. | ||||
![]() ![]() ![]() |
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..* | code | Types of resource (if a resource reference) Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | |||||
![]() ![]() ![]() |
0..1 | boolean | Allow multiple values per parameter (or) | |||||
![]() ![]() ![]() |
0..1 | boolean | Allow multiple parameters (and) | |||||
![]() ![]() ![]() |
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 | identifier | ofType Binding: SearchModifierCode (required): A supported modifier for a search parameter. | |||||
![]() ![]() ![]() |
0..* | string | Chained names supported | |||||
![]() ![]() ![]() |
0..* | BackboneElement | For Composite resources to define the parts | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
1..1 | canonical(SearchParameter) | Defines how the part works | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Subexpression relative to main expression | |||||
![]() |
Path | Status | Usage | ValueSet | Version | Source |
SearchParameter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
SearchParameter.status | Base | required | PublicationStatus | 📍4.0.1 | FHIR Std. |
SearchParameter.jurisdiction | Base | extensible | Jurisdiction | 📍4.0.1 | FHIR Std. |
SearchParameter.base | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.type | Base | required | SearchParamType | 📍4.0.1 | FHIR Std. |
SearchParameter.xpathUsage | Base | required | XPathUsageType | 📍4.0.1 | FHIR Std. |
SearchParameter.target | Base | required | ResourceType | 📍4.0.1 | FHIR Std. |
SearchParameter.comparator | Base | required | SearchComparator | 📍4.0.1 | FHIR Std. |
SearchParameter.modifier | Base | required | SearchModifierCode | 📍4.0.1 | FHIR Std. |
Id | Grade | Path(s) | Description | Expression |
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 or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).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()
|
dom-5 | error | SearchParameter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
dom-6 | best practice | SearchParameter | A resource should have narrative for robust management |
text.`div`.exists()
|
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
search-param-code-regex | error | SearchParameter.code | In SearchParameter.code DÜRFEN NICHT folgende Zeichen enthalten sein: Leerzeichen, `.`, `$`, `|`. |
matches('[^\\s.$|]+')
|
spd-0 | warning | SearchParameter | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
|
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
Other representations of profile: CSV, Excel, Schematron