| Name | Flags | Card. | Type | Description & Constraints | ||||
|---|---|---|---|---|---|---|---|---|
| N | DomainResource | Definition of an operation or a named query + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation + Rule: A query operation cannot be defined at the instance level + Rule: A query operation requires input parameters to have a search type + Rule: Named queries always have a single output parameter named 'result' of type Bundle Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension Interfaces Implemented: CanonicalResource | ||||||
| ΣC | 0..1 | uri | Canonical identifier for this operation definition, represented as an absolute URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic | |||||
| ΣTU | 0..* | Identifier | Additional identifier for the implementation guide (business identifier) | |||||
| Σ | 0..1 | string | Business version of the operation definition | |||||
| ΣTU | 0..1 | How to compare versions Binding: Version Algorithm (Extensible) | ||||||
| string | ||||||||
| Coding | ||||||||
| ΣC | 1..1 | string | Name for this operation definition (computer friendly) | |||||
| ΣT | 0..1 | string | Name for this operation definition (human friendly) | |||||
| ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (Required) | |||||
| ΣC | 1..1 | code | operation | query Binding: Operation Kind (Required) | |||||
| Σ | 0..1 | boolean | For testing purposes, not real usage | |||||
| Σ | 0..1 | dateTime | Date last changed | |||||
| ΣT | 0..1 | string | Name of the publisher/steward (organization or individual) | |||||
| Σ | 0..* | ContactDetail | Contact details for the publisher | |||||
| T | 0..1 | markdown | Natural language description of the operation definition | |||||
| ΣTU | 0..* | UsageContext | The context that the content is intended to support | |||||
| ΣXD | 0..* | CodeableConcept | Intended jurisdiction for operation definition (if applicable) Binding: Jurisdiction ValueSet (Extensible) | |||||
| T | 0..1 | markdown | Why this operation definition is defined | |||||
| TTU | 0..1 | markdown | Use and/or publishing restrictions | |||||
| TTU | 0..1 | string | Copyright holder and year(s) | |||||
| Σ | 0..1 | boolean | Whether content is changed by the operation | |||||
| Σ | 1..1 | code | Recommended name for operation in search url | |||||
| 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: Version Independent Resource Types (All) (Required)
| |||||
| Σ | 1..1 | boolean | Invoke at the system level? | |||||
| Σ | 1..1 | boolean | Invoke at the type level? | |||||
| ΣC | 1..1 | boolean | Invoke on an instance? | |||||
| 0..1 | canonical(StructureDefinition) | Validation information for in parameters | ||||||
| 0..1 | canonical(StructureDefinition) | Validation information for out parameters | ||||||
| C | 0..* | BackboneElement | Parameters for the operation/query + Rule: Either a type must be provided, or parts + Rule: A search type can only be specified for parameters of type string + Rule: A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource + Rule: SearchParamType can only be specified on in parameters | |||||
| C | 1..1 | code | Name in Parameters.parameter.name or in URL | |||||
| C | 1..1 | code | in | out Binding: Operation Parameter Use (Required) | |||||
| TU | 0..* | code | instance | type | system Binding: Operation Parameter Scope (Required) | |||||
| 1..1 | integer | Minimum Cardinality | ||||||
| 1..1 | string | Maximum Cardinality (a number or *) | ||||||
| T | 0..1 | markdown | Description of meaning/use | |||||
| C | 0..1 | code | What type this parameter has Binding: All FHIR Types (Required) | |||||
| TU | 0..* | code | Allowed sub-type this parameter can have (if type is abstract) Binding: All FHIR Types (Required) | |||||
| C | 0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets. If type is 'Resource', then this constrains the allowed resource types | |||||
| C | 0..1 | code | number | date | string | token | reference | composite | quantity | uri | special Binding: SearchParamType (Required) | |||||
| 0..1 | BackboneElement | ValueSet details if this is coded | ||||||
| 1..1 | code | required | extensible | preferred | example Binding: BindingStrength (Required) | ||||||
| 1..1 | canonical(ValueSet) | Source of value set | ||||||
| TU | 0..* | BackboneElement | References to this parameter | |||||
| 1..1 | string | Referencing parameter | ||||||
| 0..1 | string | Element id of reference | ||||||
| C | 0..* | see parameter | Parts of a nested Parameter | |||||
| 0..* | BackboneElement | Define overloaded variants for when generating code | ||||||
| 0..* | string | Name of parameter to include in overload | ||||||
| 0..1 | string | Comments to go on overload | ||||||