Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-OperationDefinition | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R2_OperationDefinition_R5 | ||
This cross-version profile allows DSTU2 OperationDefinition content to be represented via FHIR R5 OperationDefinition resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | OperationDefinition(5.0.0) | Definition of an operation or a named query Constraints: cnl-0, opd-5, opd-6, opd-7 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this operation definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
ΣC | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. |
![]() ![]() |
Σ | 1..1 | code | Recommended name for operation in search url |
![]() ![]() |
Σ | 1..1 | boolean | Invoke at the system level? |
![]() ![]() |
Σ | 1..1 | boolean | Invoke at the type level? |
![]() ![]() |
ΣC | 1..1 | boolean | Invoke on an instance? |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| OperationDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.kind | Base | required | Operation Kind | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | OperationDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| ele-1 | error | OperationDefinition.implicitRules, OperationDefinition.modifierExtension, OperationDefinition.name, OperationDefinition.status, OperationDefinition.kind, OperationDefinition.code, OperationDefinition.system, OperationDefinition.type, OperationDefinition.instance | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | OperationDefinition.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| opd-5 | error | OperationDefinition | A query operation cannot be defined at the instance level |
(kind = 'query') implies (instance = false)
|
| opd-6 | error | OperationDefinition | A query operation requires input parameters to have a search type |
(kind = 'query') implies (parameter.all((use = 'in' and searchType.exists()) or (use != 'in')))
|
| opd-7 | error | OperationDefinition | Named queries always have a single output parameter named 'result' of type Bundle |
(kind = 'query') implies ((parameter.where(use = 'out').count() = 1) and (parameter.where(use = 'out').all(name = 'result' and type = 'Bundle')))
|
This structure is derived from OperationDefinition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | OperationDefinition(5.0.0) | Definition of an operation or a named query Constraints: cnl-0, opd-5, opd-6, opd-7 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for 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..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for this operation definition, represented as an absolute URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Additional identifier for the implementation guide (business identifier) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the operation definition | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this operation definition (computer friendly) | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
ΣC | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Name of a individual to contact additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.contact.name Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | DSTU2: Contact details for individual or publisher additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.contact.telecom Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
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: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | markdown | Why this operation definition is defined | |||||
![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() |
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..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.OperationDefinition for use in FHIR R5(0.1.0) | OperationDefinition) | DSTU2: base additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.base Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
Σ | 0..* | code | Types this operation applies to Binding: VersionIndependentResourceTypesAll (required): A type of resource, or a Reference (from all versions)
| ||||
![]() ![]() |
Σ | 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 Constraints: opd-1, opd-2, opd-3, opd-4 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 1..1 | code | Name in Parameters.parameter.name or in URL | ||||
![]() ![]() ![]() |
C | 1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. | ||||
![]() ![]() ![]() |
0..* | code | instance | type | system Binding: OperationParameterScope (required) | |||||
![]() ![]() ![]() |
1..1 | integer | Minimum Cardinality | |||||
![]() ![]() ![]() |
1..1 | string | Maximum Cardinality (a number or *) | |||||
![]() ![]() ![]() |
0..1 | markdown | Description of meaning/use | |||||
![]() ![]() ![]() |
C | 0..1 | code | What type this parameter has Binding: FHIRTypes (required): A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. | ||||
![]() ![]() ![]() |
0..* | code | Allowed sub-type this parameter can have (if type is abstract) Binding: FHIRTypes (required): A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. | |||||
![]() ![]() ![]() |
C | 0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets. If type is 'Resource', then this constrains the allowed resource types | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.StructureDefinition for use in FHIR R5(0.1.0) | StructureDefinition) | DSTU2: Profile on the type additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.parameter.profile Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() ![]() |
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 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.ValueSet for use in FHIR R5(0.1.0) | ValueSet) | DSTU2: Source of value set additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.parameter.binding.valueSet Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | string | Name of parameter to include in overload | |||||
![]() ![]() ![]() |
0..1 | string | Comments to go on overload | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| OperationDefinition.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| OperationDefinition.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| OperationDefinition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| OperationDefinition.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| OperationDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.kind | Base | required | Operation Kind | 📍5.0.0 | FHIR Std. |
| OperationDefinition.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍5.0.0 | FHIR Std. |
| OperationDefinition.resource | Base | required | Version Independent Resource Types (All) | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.use | Base | required | Operation Parameter Use | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.scope | Base | required | Operation Parameter Scope | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.type | Base | required | All FHIR Types | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.allowedType | Base | required | All FHIR Types | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.searchType | Base | required | SearchParamType | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.binding.strength | Base | required | BindingStrength | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | OperationDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | OperationDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | OperationDefinition.meta, OperationDefinition.meta.extension, OperationDefinition.meta.extension:meta, OperationDefinition.meta.versionId, OperationDefinition.meta.lastUpdated, OperationDefinition.meta.source, OperationDefinition.meta.profile, OperationDefinition.meta.security, OperationDefinition.meta.tag, OperationDefinition.implicitRules, OperationDefinition.language, OperationDefinition.text, OperationDefinition.text.extension, OperationDefinition.text.extension:text, OperationDefinition.text.status, OperationDefinition.text.div, OperationDefinition.extension, OperationDefinition.modifierExtension, OperationDefinition.url, OperationDefinition.identifier, OperationDefinition.version, OperationDefinition.versionAlgorithm[x], OperationDefinition.name, OperationDefinition.title, OperationDefinition.status, OperationDefinition.kind, OperationDefinition.experimental, OperationDefinition.date, OperationDefinition.publisher, OperationDefinition.contact, OperationDefinition.contact.extension, OperationDefinition.contact.extension:name, OperationDefinition.contact.extension:telecom, OperationDefinition.contact.name, OperationDefinition.contact.telecom, OperationDefinition.description, OperationDefinition.useContext, OperationDefinition.jurisdiction, OperationDefinition.purpose, OperationDefinition.copyright, OperationDefinition.copyrightLabel, OperationDefinition.affectsState, OperationDefinition.code, OperationDefinition.comment, OperationDefinition.base, OperationDefinition.base.extension, OperationDefinition.base.extension:base, OperationDefinition.resource, OperationDefinition.system, OperationDefinition.type, OperationDefinition.instance, OperationDefinition.inputProfile, OperationDefinition.outputProfile, OperationDefinition.parameter, OperationDefinition.parameter.extension, OperationDefinition.parameter.modifierExtension, OperationDefinition.parameter.name, OperationDefinition.parameter.use, OperationDefinition.parameter.scope, OperationDefinition.parameter.min, OperationDefinition.parameter.max, OperationDefinition.parameter.documentation, OperationDefinition.parameter.type, OperationDefinition.parameter.allowedType, OperationDefinition.parameter.targetProfile, OperationDefinition.parameter.targetProfile.extension, OperationDefinition.parameter.targetProfile.extension:profile, OperationDefinition.parameter.searchType, OperationDefinition.parameter.binding, OperationDefinition.parameter.binding.extension, OperationDefinition.parameter.binding.extension:valueSet, OperationDefinition.parameter.binding.modifierExtension, OperationDefinition.parameter.binding.strength, OperationDefinition.parameter.binding.valueSet, OperationDefinition.parameter.referencedFrom, OperationDefinition.parameter.referencedFrom.extension, OperationDefinition.parameter.referencedFrom.modifierExtension, OperationDefinition.parameter.referencedFrom.source, OperationDefinition.parameter.referencedFrom.sourceId, OperationDefinition.parameter.part, OperationDefinition.overload, OperationDefinition.overload.extension, OperationDefinition.overload.modifierExtension, OperationDefinition.overload.parameterName, OperationDefinition.overload.comment | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | OperationDefinition.meta.extension, OperationDefinition.meta.extension:meta, OperationDefinition.text.extension, OperationDefinition.text.extension:text, OperationDefinition.extension, OperationDefinition.modifierExtension, OperationDefinition.contact.extension, OperationDefinition.contact.extension:name, OperationDefinition.contact.extension:telecom, OperationDefinition.base.extension, OperationDefinition.base.extension:base, OperationDefinition.parameter.extension, OperationDefinition.parameter.modifierExtension, OperationDefinition.parameter.targetProfile.extension, OperationDefinition.parameter.targetProfile.extension:profile, OperationDefinition.parameter.binding.extension, OperationDefinition.parameter.binding.extension:valueSet, OperationDefinition.parameter.binding.modifierExtension, OperationDefinition.parameter.referencedFrom.extension, OperationDefinition.parameter.referencedFrom.modifierExtension, OperationDefinition.overload.extension, OperationDefinition.overload.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| opd-1 | error | OperationDefinition.parameter | Either a type must be provided, or parts |
type.exists() or part.exists()
|
| opd-2 | error | OperationDefinition.parameter | A search type can only be specified for parameters of type string |
searchType.exists() implies type = 'string'
|
| opd-3 | error | OperationDefinition.parameter | A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource |
targetProfile.exists() implies (type = 'Reference' or type = 'canonical' or type.memberOf('http://hl7.org/fhir/ValueSet/resource-types'))
|
| opd-4 | error | OperationDefinition.parameter | SearchParamType can only be specified on in parameters |
(use = 'out') implies searchType.empty()
|
| opd-5 | error | OperationDefinition | A query operation cannot be defined at the instance level |
(kind = 'query') implies (instance = false)
|
| opd-6 | error | OperationDefinition | A query operation requires input parameters to have a search type |
(kind = 'query') implies (parameter.all((use = 'in' and searchType.exists()) or (use != 'in')))
|
| opd-7 | error | OperationDefinition | Named queries always have a single output parameter named 'result' of type Bundle |
(kind = 'query') implies ((parameter.where(use = 'out').count() = 1) and (parameter.where(use = 'out').all(name = 'result' and type = 'Bundle')))
|
| txt-1 | error | OperationDefinition.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | OperationDefinition.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from OperationDefinition
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | OperationDefinition(5.0.0) | Definition of an operation or a named query Constraints: cnl-0, opd-5, opd-6, opd-7 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this operation definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
ΣC | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. |
![]() ![]() |
Σ | 1..1 | code | Recommended name for operation in search url |
![]() ![]() |
Σ | 1..1 | boolean | Invoke at the system level? |
![]() ![]() |
Σ | 1..1 | boolean | Invoke at the type level? |
![]() ![]() |
ΣC | 1..1 | boolean | Invoke on an instance? |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| OperationDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.kind | Base | required | Operation Kind | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | OperationDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| ele-1 | error | OperationDefinition.implicitRules, OperationDefinition.modifierExtension, OperationDefinition.name, OperationDefinition.status, OperationDefinition.kind, OperationDefinition.code, OperationDefinition.system, OperationDefinition.type, OperationDefinition.instance | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | OperationDefinition.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| opd-5 | error | OperationDefinition | A query operation cannot be defined at the instance level |
(kind = 'query') implies (instance = false)
|
| opd-6 | error | OperationDefinition | A query operation requires input parameters to have a search type |
(kind = 'query') implies (parameter.all((use = 'in' and searchType.exists()) or (use != 'in')))
|
| opd-7 | error | OperationDefinition | Named queries always have a single output parameter named 'result' of type Bundle |
(kind = 'query') implies ((parameter.where(use = 'out').count() = 1) and (parameter.where(use = 'out').all(name = 'result' and type = 'Bundle')))
|
Differential View
This structure is derived from OperationDefinition
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | OperationDefinition(5.0.0) | Definition of an operation or a named query Constraints: cnl-0, opd-5, opd-6, opd-7 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for 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..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 0..1 | uri | Canonical identifier for this operation definition, represented as an absolute URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Additional identifier for the implementation guide (business identifier) | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the operation definition | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this operation definition (computer friendly) | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
ΣC | 1..1 | code | operation | query Binding: OperationKind (required): Whether an operation is a normal operation or a query. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Name of a individual to contact additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.contact.name Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | DSTU2: Contact details for individual or publisher additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.contact.telecom Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
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: JurisdictionValueSet (extensible): Countries and regions within which this artifact is targeted for use. | ||||
![]() ![]() |
0..1 | markdown | Why this operation definition is defined | |||||
![]() ![]() |
0..1 | markdown | Use and/or publishing restrictions | |||||
![]() ![]() |
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..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.OperationDefinition for use in FHIR R5(0.1.0) | OperationDefinition) | DSTU2: base additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.base Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() |
Σ | 0..* | code | Types this operation applies to Binding: VersionIndependentResourceTypesAll (required): A type of resource, or a Reference (from all versions)
| ||||
![]() ![]() |
Σ | 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 Constraints: opd-1, opd-2, opd-3, opd-4 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 1..1 | code | Name in Parameters.parameter.name or in URL | ||||
![]() ![]() ![]() |
C | 1..1 | code | in | out Binding: OperationParameterUse (required): Whether an operation parameter is an input or an output parameter. | ||||
![]() ![]() ![]() |
0..* | code | instance | type | system Binding: OperationParameterScope (required) | |||||
![]() ![]() ![]() |
1..1 | integer | Minimum Cardinality | |||||
![]() ![]() ![]() |
1..1 | string | Maximum Cardinality (a number or *) | |||||
![]() ![]() ![]() |
0..1 | markdown | Description of meaning/use | |||||
![]() ![]() ![]() |
C | 0..1 | code | What type this parameter has Binding: FHIRTypes (required): A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. | ||||
![]() ![]() ![]() |
0..* | code | Allowed sub-type this parameter can have (if type is abstract) Binding: FHIRTypes (required): A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types. | |||||
![]() ![]() ![]() |
C | 0..* | canonical(StructureDefinition) | If type is Reference | canonical, allowed targets. If type is 'Resource', then this constrains the allowed resource types | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.StructureDefinition for use in FHIR R5(0.1.0) | StructureDefinition) | DSTU2: Profile on the type additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.parameter.profile Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | canonical | Primitive value for canonical | |||||
![]() ![]() ![]() |
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 | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.ValueSet for use in FHIR R5(0.1.0) | ValueSet) | DSTU2: Source of value set additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-OperationDefinition.parameter.binding.valueSet Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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 Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
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 Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..* | string | Name of parameter to include in overload | |||||
![]() ![]() ![]() |
0..1 | string | Comments to go on overload | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| OperationDefinition.meta.security | Base | extensible |
All Security Labels
|
📍5.0.0 | tx.fhir.org |
| OperationDefinition.meta.tag | Base | example | Common Tags | 📍5.0.0 | FHIR Std. |
| OperationDefinition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| OperationDefinition.text.status | Base | required | NarrativeStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| OperationDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| OperationDefinition.kind | Base | required | Operation Kind | 📍5.0.0 | FHIR Std. |
| OperationDefinition.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍5.0.0 | FHIR Std. |
| OperationDefinition.resource | Base | required | Version Independent Resource Types (All) | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.use | Base | required | Operation Parameter Use | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.scope | Base | required | Operation Parameter Scope | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.type | Base | required | All FHIR Types | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.allowedType | Base | required | All FHIR Types | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.searchType | Base | required | SearchParamType | 📍5.0.0 | FHIR Std. |
| OperationDefinition.parameter.binding.strength | Base | required | BindingStrength | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | OperationDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | OperationDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | OperationDefinition.meta, OperationDefinition.meta.extension, OperationDefinition.meta.extension:meta, OperationDefinition.meta.versionId, OperationDefinition.meta.lastUpdated, OperationDefinition.meta.source, OperationDefinition.meta.profile, OperationDefinition.meta.security, OperationDefinition.meta.tag, OperationDefinition.implicitRules, OperationDefinition.language, OperationDefinition.text, OperationDefinition.text.extension, OperationDefinition.text.extension:text, OperationDefinition.text.status, OperationDefinition.text.div, OperationDefinition.extension, OperationDefinition.modifierExtension, OperationDefinition.url, OperationDefinition.identifier, OperationDefinition.version, OperationDefinition.versionAlgorithm[x], OperationDefinition.name, OperationDefinition.title, OperationDefinition.status, OperationDefinition.kind, OperationDefinition.experimental, OperationDefinition.date, OperationDefinition.publisher, OperationDefinition.contact, OperationDefinition.contact.extension, OperationDefinition.contact.extension:name, OperationDefinition.contact.extension:telecom, OperationDefinition.contact.name, OperationDefinition.contact.telecom, OperationDefinition.description, OperationDefinition.useContext, OperationDefinition.jurisdiction, OperationDefinition.purpose, OperationDefinition.copyright, OperationDefinition.copyrightLabel, OperationDefinition.affectsState, OperationDefinition.code, OperationDefinition.comment, OperationDefinition.base, OperationDefinition.base.extension, OperationDefinition.base.extension:base, OperationDefinition.resource, OperationDefinition.system, OperationDefinition.type, OperationDefinition.instance, OperationDefinition.inputProfile, OperationDefinition.outputProfile, OperationDefinition.parameter, OperationDefinition.parameter.extension, OperationDefinition.parameter.modifierExtension, OperationDefinition.parameter.name, OperationDefinition.parameter.use, OperationDefinition.parameter.scope, OperationDefinition.parameter.min, OperationDefinition.parameter.max, OperationDefinition.parameter.documentation, OperationDefinition.parameter.type, OperationDefinition.parameter.allowedType, OperationDefinition.parameter.targetProfile, OperationDefinition.parameter.targetProfile.extension, OperationDefinition.parameter.targetProfile.extension:profile, OperationDefinition.parameter.searchType, OperationDefinition.parameter.binding, OperationDefinition.parameter.binding.extension, OperationDefinition.parameter.binding.extension:valueSet, OperationDefinition.parameter.binding.modifierExtension, OperationDefinition.parameter.binding.strength, OperationDefinition.parameter.binding.valueSet, OperationDefinition.parameter.referencedFrom, OperationDefinition.parameter.referencedFrom.extension, OperationDefinition.parameter.referencedFrom.modifierExtension, OperationDefinition.parameter.referencedFrom.source, OperationDefinition.parameter.referencedFrom.sourceId, OperationDefinition.parameter.part, OperationDefinition.overload, OperationDefinition.overload.extension, OperationDefinition.overload.modifierExtension, OperationDefinition.overload.parameterName, OperationDefinition.overload.comment | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | OperationDefinition.meta.extension, OperationDefinition.meta.extension:meta, OperationDefinition.text.extension, OperationDefinition.text.extension:text, OperationDefinition.extension, OperationDefinition.modifierExtension, OperationDefinition.contact.extension, OperationDefinition.contact.extension:name, OperationDefinition.contact.extension:telecom, OperationDefinition.base.extension, OperationDefinition.base.extension:base, OperationDefinition.parameter.extension, OperationDefinition.parameter.modifierExtension, OperationDefinition.parameter.targetProfile.extension, OperationDefinition.parameter.targetProfile.extension:profile, OperationDefinition.parameter.binding.extension, OperationDefinition.parameter.binding.extension:valueSet, OperationDefinition.parameter.binding.modifierExtension, OperationDefinition.parameter.referencedFrom.extension, OperationDefinition.parameter.referencedFrom.modifierExtension, OperationDefinition.overload.extension, OperationDefinition.overload.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| opd-1 | error | OperationDefinition.parameter | Either a type must be provided, or parts |
type.exists() or part.exists()
|
| opd-2 | error | OperationDefinition.parameter | A search type can only be specified for parameters of type string |
searchType.exists() implies type = 'string'
|
| opd-3 | error | OperationDefinition.parameter | A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource |
targetProfile.exists() implies (type = 'Reference' or type = 'canonical' or type.memberOf('http://hl7.org/fhir/ValueSet/resource-types'))
|
| opd-4 | error | OperationDefinition.parameter | SearchParamType can only be specified on in parameters |
(use = 'out') implies searchType.empty()
|
| opd-5 | error | OperationDefinition | A query operation cannot be defined at the instance level |
(kind = 'query') implies (instance = false)
|
| opd-6 | error | OperationDefinition | A query operation requires input parameters to have a search type |
(kind = 'query') implies (parameter.all((use = 'in' and searchType.exists()) or (use != 'in')))
|
| opd-7 | error | OperationDefinition | Named queries always have a single output parameter named 'result' of type Bundle |
(kind = 'query') implies ((parameter.where(use = 'out').count() = 1) and (parameter.where(use = 'out').all(name = 'result' and type = 'Bundle')))
|
| txt-1 | error | OperationDefinition.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | OperationDefinition.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from OperationDefinition
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron