1.0.0 - release
            
          
CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cambio.se/StructureDefinition/OperationDefinitonInvalidateEncounter | Version: 1.0.0 | |||
| Active as of 2025-10-27 | Computable Name: OperationDefinitonInvalidateEncounter | |||
The operation $invalidate is an operation performed on the resource EncounterOutpatientReadSe. This operation is used invalidate an encounter that has been created in error. An example scenario is if the encounter was created for the wrong patient, meaning it should never have been valid.
| HTTP Method | Description | 
|---|---|
| POST | Invalidate a single outpatient encounter for a patient. | 
POST [baseURL]/Encounter/{id}/$invalidateUsages:
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..* | OperationDefinition | Definition of an operation or a named query Constraints: opd-0  | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
ΣC | 1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | 
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. Required Pattern: active  | 
![]() ![]()  | 
Σ | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. Required Pattern: operation  | 
![]() ![]()  | 
Σ | 0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | 
![]() ![]()  | 
Σ | 1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | 
![]() ![]()  | 
Σ | 0..* | code | Types this operation applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. Required Pattern: Encounter  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the system level? Required Pattern: false  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the type level? Required Pattern: false  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke on an instance? Required Pattern: true  | 
![]() ![]()  | 
C | 2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter.  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) | |
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: id  | 
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: string  | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| OperationDefinition.status | required | Pattern Value: activehttp://hl7.org/fhir/ValueSet/publication-status|4.0.1From the FHIR Standard  | |
| OperationDefinition.kind | required | Pattern Value: operationhttp://hl7.org/fhir/ValueSet/operation-kind|4.0.1From the FHIR Standard  | |
| OperationDefinition.resource | required | Pattern Value: Encounterhttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter.use | required | OperationParameterUsehttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:versionId.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:versionId.type | required | Pattern Value: idhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:reason.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:reason.type | required | Pattern Value: stringhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | OperationDefinition | 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 | OperationDefinition | 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 | OperationDefinition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | OperationDefinition | 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()  | |
| opd-0 | warning | OperationDefinition | 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}')  | |
| opd-1 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | Either a type must be provided, or parts : type.exists() or part.exists()  | |
| opd-2 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A search type can only be specified for parameters of type string : searchType.exists() implies type = 'string'  | |
| opd-3 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A targetProfile can only be specified for parameters of type Reference or Canonical : targetProfile.exists() implies (type = 'Reference' or type = 'canonical')  | 
This structure is derived from OperationDefinition
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | OperationDefinition | Definition of an operation or a named query | |
![]() ![]()  | 
1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | |
![]() ![]()  | 
1..1 | code | draft | active | retired | unknown Required Pattern: active  | |
![]() ![]()  | 
1..1 | code | operation | query Required Pattern: operation  | |
![]() ![]()  | 
0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | |
![]() ![]()  | 
1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | |
![]() ![]()  | 
0..* | code | Types this operation applies to Required Pattern: Encounter  | |
![]() ![]()  | 
1..1 | boolean | Invoke at the system level? Required Pattern: false  | |
![]() ![]()  | 
1..1 | boolean | Invoke at the type level? Required Pattern: false  | |
![]() ![]()  | 
1..1 | boolean | Invoke on an instance? Required Pattern: true  | |
![]() ![]()  | 
2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name  | |
![]() ![]() ![]()  | 
1..1 | BackboneElement | Parameters for the operation/query | |
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |
![]() ![]() ![]() ![]()  | 
0..1 | code | What type this parameter has Required Pattern: id  | |
![]() ![]() ![]()  | 
1..1 | BackboneElement | Parameters for the operation/query | |
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |
![]() ![]() ![]() ![]()  | 
0..1 | code | What type this parameter has Required Pattern: string  | |
  Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | OperationDefinition | Definition of an operation or a named query Constraints: opd-0  | ||||
![]() ![]()  | 
Σ | 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 | ||||
![]() ![]()  | 
Σ | 0..1 | uri | Canonical identifier for this operation definition, represented as a URI (globally unique) | ||||
![]() ![]()  | 
Σ | 0..1 | string | Business version of the operation definition | ||||
![]() ![]()  | 
ΣC | 1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name for this operation definition (human friendly) | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. Required Pattern: active  | ||||
![]() ![]()  | 
Σ | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. Required Pattern: operation  | ||||
![]() ![]()  | 
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]()  | 
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]()  | 
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]()  | 
0..1 | markdown | Natural language description of the operation definition | |||||
![]() ![]()  | 
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Intended jurisdiction for operation definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.  | ||||
![]() ![]()  | 
0..1 | markdown | Why this operation definition is defined | |||||
![]() ![]()  | 
Σ | 0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | ||||
![]() ![]()  | 
Σ | 1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | ||||
![]() ![]()  | 
0..1 | markdown | Additional information about use | |||||
![]() ![]()  | 
Σ | 0..1 | canonical(OperationDefinition) | Marks this as a profile of the base | ||||
![]() ![]()  | 
Σ | 0..* | code | Types this operation applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. Required Pattern: Encounter  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the system level? Required Pattern: false  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the type level? Required Pattern: false  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke on an instance? Required Pattern: true  | ||||
![]() ![]()  | 
0..1 | canonical(StructureDefinition) | Validation information for in parameters | |||||
![]() ![]()  | 
0..1 | canonical(StructureDefinition) | Validation information for out parameters | |||||
![]() ![]()  | 
C | 2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter.  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: id  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: string  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]()  | 
0..* | BackboneElement | Define overloaded variants for when  generating code | |||||
![]() ![]() ![]()  | 
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 | ||||
![]() ![]() ![]()  | 
0..* | string | Name of parameter to include in overload | |||||
![]() ![]() ![]()  | 
0..1 | string | Comments to go on overload | |||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| OperationDefinition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| OperationDefinition.status | required | Pattern Value: activehttp://hl7.org/fhir/ValueSet/publication-status|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.kind | required | Pattern Value: operationhttp://hl7.org/fhir/ValueSet/operation-kind|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdictionFrom the FHIR Standard  | ||||
| OperationDefinition.resource | required | Pattern Value: Encounterhttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.use | required | OperationParameterUsehttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.type | required | FHIRAllTypeshttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.type | required | Pattern Value: idhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.type | required | Pattern Value: stringhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | OperationDefinition | 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 | OperationDefinition | 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 | OperationDefinition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | OperationDefinition | 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()  | |
| opd-0 | warning | OperationDefinition | 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}')  | |
| opd-1 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | Either a type must be provided, or parts : type.exists() or part.exists()  | |
| opd-2 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A search type can only be specified for parameters of type string : searchType.exists() implies type = 'string'  | |
| opd-3 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A targetProfile can only be specified for parameters of type Reference or Canonical : targetProfile.exists() implies (type = 'Reference' or type = 'canonical')  | 
This structure is derived from OperationDefinition
Summary
Mandatory: 2 elements
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
C | 0..* | OperationDefinition | Definition of an operation or a named query Constraints: opd-0  | 
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
ΣC | 1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | 
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. Required Pattern: active  | 
![]() ![]()  | 
Σ | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. Required Pattern: operation  | 
![]() ![]()  | 
Σ | 0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | 
![]() ![]()  | 
Σ | 1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | 
![]() ![]()  | 
Σ | 0..* | code | Types this operation applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. Required Pattern: Encounter  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the system level? Required Pattern: false  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the type level? Required Pattern: false  | 
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke on an instance? Required Pattern: true  | 
![]() ![]()  | 
C | 2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter.  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) | |
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: id  | 
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: string  | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| OperationDefinition.status | required | Pattern Value: activehttp://hl7.org/fhir/ValueSet/publication-status|4.0.1From the FHIR Standard  | |
| OperationDefinition.kind | required | Pattern Value: operationhttp://hl7.org/fhir/ValueSet/operation-kind|4.0.1From the FHIR Standard  | |
| OperationDefinition.resource | required | Pattern Value: Encounterhttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter.use | required | OperationParameterUsehttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:versionId.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:versionId.type | required | Pattern Value: idhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:reason.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | |
| OperationDefinition.parameter:reason.type | required | Pattern Value: stringhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | OperationDefinition | 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 | OperationDefinition | 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 | OperationDefinition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | OperationDefinition | 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()  | |
| opd-0 | warning | OperationDefinition | 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}')  | |
| opd-1 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | Either a type must be provided, or parts : type.exists() or part.exists()  | |
| opd-2 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A search type can only be specified for parameters of type string : searchType.exists() implies type = 'string'  | |
| opd-3 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A targetProfile can only be specified for parameters of type Reference or Canonical : targetProfile.exists() implies (type = 'Reference' or type = 'canonical')  | 
Differential View
This structure is derived from OperationDefinition
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | OperationDefinition | Definition of an operation or a named query | |
![]() ![]()  | 
1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | |
![]() ![]()  | 
1..1 | code | draft | active | retired | unknown Required Pattern: active  | |
![]() ![]()  | 
1..1 | code | operation | query Required Pattern: operation  | |
![]() ![]()  | 
0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | |
![]() ![]()  | 
1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | |
![]() ![]()  | 
0..* | code | Types this operation applies to Required Pattern: Encounter  | |
![]() ![]()  | 
1..1 | boolean | Invoke at the system level? Required Pattern: false  | |
![]() ![]()  | 
1..1 | boolean | Invoke at the type level? Required Pattern: false  | |
![]() ![]()  | 
1..1 | boolean | Invoke on an instance? Required Pattern: true  | |
![]() ![]()  | 
2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name  | |
![]() ![]() ![]()  | 
1..1 | BackboneElement | Parameters for the operation/query | |
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |
![]() ![]() ![]() ![]()  | 
0..1 | code | What type this parameter has Required Pattern: id  | |
![]() ![]() ![]()  | 
1..1 | BackboneElement | Parameters for the operation/query | |
![]() ![]() ![]() ![]()  | 
1..1 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Required Pattern: in  | |
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |
![]() ![]() ![]() ![]()  | 
0..1 | code | What type this parameter has Required Pattern: string  | |
  Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
C | 0..* | OperationDefinition | Definition of an operation or a named query Constraints: opd-0  | ||||
![]() ![]()  | 
Σ | 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 | ||||
![]() ![]()  | 
Σ | 0..1 | uri | Canonical identifier for this operation definition, represented as a URI (globally unique) | ||||
![]() ![]()  | 
Σ | 0..1 | string | Business version of the operation definition | ||||
![]() ![]()  | 
ΣC | 1..1 | string | Name for this operation definition (computer friendly) Required Pattern: InvalidateEncounter  | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name for this operation definition (human friendly) | ||||
![]() ![]()  | 
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. Required Pattern: active  | ||||
![]() ![]()  | 
Σ | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. Required Pattern: operation  | ||||
![]() ![]()  | 
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]()  | 
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]()  | 
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]()  | 
0..1 | markdown | Natural language description of the operation definition | |||||
![]() ![]()  | 
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]()  | 
Σ | 0..* | CodeableConcept | Intended jurisdiction for operation definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.  | ||||
![]() ![]()  | 
0..1 | markdown | Why this operation definition is defined | |||||
![]() ![]()  | 
Σ | 0..1 | boolean | Whether content is changed by the operation Required Pattern: true  | ||||
![]() ![]()  | 
Σ | 1..1 | code | Name used to invoke the operation Required Pattern: invalidate  | ||||
![]() ![]()  | 
0..1 | markdown | Additional information about use | |||||
![]() ![]()  | 
Σ | 0..1 | canonical(OperationDefinition) | Marks this as a profile of the base | ||||
![]() ![]()  | 
Σ | 0..* | code | Types this operation applies to Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. Required Pattern: Encounter  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the system level? Required Pattern: false  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke at the type level? Required Pattern: false  | ||||
![]() ![]()  | 
Σ | 1..1 | boolean | Invoke on an instance? Required Pattern: true  | ||||
![]() ![]()  | 
0..1 | canonical(StructureDefinition) | Validation information for in parameters | |||||
![]() ![]()  | 
0..1 | canonical(StructureDefinition) | Validation information for out parameters | |||||
![]() ![]()  | 
C | 2..2 | BackboneElement | Parameters for the operation/query Slice: Unordered, Open by value:name Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]()  | 
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter.  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL Required Pattern: versionId  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Version specific identifier of the Encounter that shall be invalidated.  | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: id  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]() ![]()  | 
C | 1..1 | BackboneElement | Parameters for the operation/query Constraints: opd-1, opd-2, opd-3  | ||||
![]() ![]() ![]() ![]()  | 
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 | code | Name in Parameters.parameter.name or in URL Required Pattern: reason  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. Required Pattern: in  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | integer | Minimum Cardinality Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
1..1 | string | Maximum Cardinality (a number or *) Required Pattern: 1  | |||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Description of meaning/use Required Pattern: Reason for why the encounter is invalidated.  | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | What type this parameter has Binding: FHIRAllTypes (required): A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. Required Pattern: string  | ||||
![]() ![]() ![]() ![]()  | 
0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets | |||||
![]() ![]() ![]() ![]()  | 
C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (required): Data types allowed to be used for search parameters.  | ||||
![]() ![]() ![]() ![]()  | 
0..1 | BackboneElement | ValueSet details if this is coded | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | code | required | extensible | preferred | example Binding: BindingStrength (required): Indication of the degree of conformance expectations associated with a binding.  | |||||
![]() ![]() ![]() ![]() ![]()  | 
1..1 | canonical(ValueSet) | Source of value set | |||||
![]() ![]() ![]() ![]()  | 
0..* | BackboneElement | References to this parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
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 | string | Referencing parameter | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Element id of reference | |||||
![]() ![]() ![]() ![]()  | 
C | 0..* | See parameter (OperationDefinition) | Parts of a nested Parameter | ||||
![]() ![]()  | 
0..* | BackboneElement | Define overloaded variants for when  generating code | |||||
![]() ![]() ![]()  | 
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 | ||||
![]() ![]() ![]()  | 
0..* | string | Name of parameter to include in overload | |||||
![]() ![]() ![]()  | 
0..1 | string | Comments to go on overload | |||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| OperationDefinition.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| OperationDefinition.status | required | Pattern Value: activehttp://hl7.org/fhir/ValueSet/publication-status|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.kind | required | Pattern Value: operationhttp://hl7.org/fhir/ValueSet/operation-kind|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.jurisdiction | extensible | Jurisdiction ValueSethttp://hl7.org/fhir/ValueSet/jurisdictionFrom the FHIR Standard  | ||||
| OperationDefinition.resource | required | Pattern Value: Encounterhttp://hl7.org/fhir/ValueSet/resource-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.use | required | OperationParameterUsehttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.type | required | FHIRAllTypeshttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.type | required | Pattern Value: idhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:versionId.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.use | required | Pattern Value: inhttp://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.type | required | Pattern Value: stringhttp://hl7.org/fhir/ValueSet/all-types|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.searchType | required | SearchParamTypehttp://hl7.org/fhir/ValueSet/search-param-type|4.0.1From the FHIR Standard  | ||||
| OperationDefinition.parameter:reason.binding.strength | required | BindingStrengthhttp://hl7.org/fhir/ValueSet/binding-strength|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| dom-2 | error | OperationDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty()  | |
| dom-3 | error | OperationDefinition | 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 | OperationDefinition | 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 | OperationDefinition | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty()  | |
| dom-6 | best practice | OperationDefinition | 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()  | |
| opd-0 | warning | OperationDefinition | 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}')  | |
| opd-1 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | Either a type must be provided, or parts : type.exists() or part.exists()  | |
| opd-2 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A search type can only be specified for parameters of type string : searchType.exists() implies type = 'string'  | |
| opd-3 | error | OperationDefinition.parameter, OperationDefinition.parameter:versionId, OperationDefinition.parameter:reason | A targetProfile can only be specified for parameters of type Reference or Canonical : targetProfile.exists() implies (type = 'Reference' or type = 'canonical')  | 
This structure is derived from OperationDefinition
Summary
Mandatory: 2 elements
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron