Page Status: draft updated 2025-08-08

OperationDefinition

Page index

General information

OperationDefinition is used to define special operations that are not a part of the FHIR REST standard. See special operations for more information.

Profile

idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
urlΣ0..1uri
versionΣ0..1string
nameΣ C1..1string
titleΣ0..1string
statusΣ ?!1..1codeBinding
kindΣ1..1codeBinding
experimentalΣ0..1boolean
dateΣ0..1dateTime
publisherΣ0..1string
contactΣ0..*ContactDetail
description0..1markdown
useContextΣ0..*UsageContext
jurisdictionΣ0..*CodeableConceptBinding
purpose0..1markdown
affectsStateΣ0..1boolean
codeΣ1..1code
comment0..1markdown
baseΣ0..1canonical(OperationDefinition)
resourceΣ0..*codeBinding
systemΣ1..1boolean
typeΣ1..1boolean
instanceΣ1..1boolean
inputProfile0..1canonical(StructureDefinition)
outputProfile0..1canonical(StructureDefinition)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
name1..1code
use1..1codeBinding
min1..1integer
max1..1string
documentation0..1string
typeC0..1codeBinding
targetProfile0..*canonical(StructureDefinition)
searchTypeC0..1codeBinding
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
strength1..1codeBinding
valueSet1..1canonical(ValueSet)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
source1..1string
sourceId0..1string
partC0..*see (parameter)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
parameterName0..*string
comment0..1string
OperationDefinition
ShortDefinition of an operation or a named query
Definition

A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).

Cardinality0..*
Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-3: 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: 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: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
  • opd-0: 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}')
Mappings
  • rim: Entity. Role, or Act
  • workflow: Definition
  • rim: n/a
OperationDefinition.id
ShortLogical id of this artifact
Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Cardinality0..1
Typestring
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

OperationDefinition.meta
ShortMetadata about the resource
Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Cardinality0..1
TypeMeta
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.implicitRules
ShortA set of rules under which this content was created
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Cardinality0..1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.language
ShortLanguage of the resource content
Definition

The base language in which the resource is written.

Cardinality0..1
Typecode
Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.text
ShortText summary of the resource, for human interpretation
Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Cardinality0..1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Act.text?
OperationDefinition.contained
ShortContained, inline Resources
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

Cardinality0..*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Mappings
  • rim: N/A
OperationDefinition.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.modifierExtension
ShortExtensions that cannot be ignored
Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
Aliasextensions, user content
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.url
ShortCanonical identifier for this operation definition, represented as a URI (globally unique)
Definition

An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers.

Cardinality0..1
Typeuri
SummaryTrue
Requirements

Allows the operation definition to be referenced by a single globally unique identifier.

Comments

Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions.

In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.url
  • w5: FiveWs.identifier
OperationDefinition.version
ShortBusiness version of the operation definition
Definition

The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

Cardinality0..1
Typestring
SummaryTrue
Comments

There may be different operation definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format [url]|[version].

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.version
  • w5: FiveWs.version
OperationDefinition.name
ShortName for this operation definition (computer friendly)
Definition

A natural language name identifying the operation definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.

Cardinality1..1
Typestring
SummaryTrue
Requirements

Support human navigation and code generation.

Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

ConditionsThe cardinality or value of this element may be affected by these constraints: inv-0
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.title
OperationDefinition.title
ShortName for this operation definition (human friendly)
Definition

A short, descriptive, user-friendly title for the operation definition.

Cardinality0..1
Typestring
SummaryTrue
Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.title
OperationDefinition.status
Shortdraft | active | retired | unknown
Definition

The status of this operation definition. Enables tracking the life-cycle of the content.

Cardinality1..1
Typecode
Binding

The lifecycle status of an artifact.

PublicationStatus (required)

ModifierTrue
SummaryTrue
Comments

Allows filtering of operation definitions that are appropriate for use versus not.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.status {different ValueSet}
  • w5: FiveWs.status
OperationDefinition.kind
Shortoperation | query
Definition

Whether this is an operation or a named query.

Cardinality1..1
Typecode
Binding

Whether an operation is a normal operation or a query.

OperationKind (required)

SummaryTrue
Comments

Named queries are invoked differently, and have different capabilities.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.class
OperationDefinition.experimental
ShortFor testing purposes, not real usage
Definition

A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

Cardinality0..1
Typeboolean
SummaryTrue
Requirements

Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition.

Comments

Allows filtering of operation definitions that are appropriate for use versus not.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.experimental
  • w5: FiveWs.class
OperationDefinition.date
ShortDate last changed
Definition

The date (and optionally time) when the operation definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes.

Cardinality0..1
TypedateTime
SummaryTrue
AliasRevision Date
Comments

Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.date
  • w5: FiveWs.recorded
OperationDefinition.publisher
ShortName of the publisher (organization or individual)
Definition

The name of the organization or individual that published the operation definition.

Cardinality0..1
Typestring
SummaryTrue
Requirements

Helps establish the "authority/credibility" of the operation definition. May also allow for contact.

Comments

Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the operation definition. This item SHOULD be populated unless the information is available from context.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.publisher
  • w5: FiveWs.witness
OperationDefinition.contact
ShortContact details for the publisher
Definition

Contact details to assist a user in finding and communicating with the publisher.

Cardinality0..*
TypeContactDetail
SummaryTrue
Comments

May be a web site, an email address, a telephone number, etc.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.contact
OperationDefinition.description
ShortNatural language description of the operation definition
Definition

A free text natural language description of the operation definition from a consumer's perspective.

Cardinality0..1
Typemarkdown
Comments

This description can be used to capture details such as why the operation definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.description
OperationDefinition.useContext
ShortThe context that the content is intended to support
Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition instances.

Cardinality0..*
TypeUsageContext
SummaryTrue
Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
OperationDefinition.jurisdiction
ShortIntended jurisdiction for operation definition (if applicable)
Definition

A legal or geographic region in which the operation definition is intended to be used.

Cardinality0..*
TypeCodeableConcept
Binding

Countries and regions within which this artifact is targeted for use.

Jurisdiction ValueSet (extensible)

SummaryTrue
Comments

It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Definition.jurisdiction
OperationDefinition.purpose
ShortWhy this operation definition is defined
Definition

Explanation of why this operation definition is needed and why it has been designed as it has.

Cardinality0..1
Typemarkdown
Comments

This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this operation definition.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.purpose
  • w5: FiveWs.why[x]
  • objimpl: no-gen-base
OperationDefinition.affectsState
ShortWhether content is changed by the operation
Definition

Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'.

Cardinality0..1
Typeboolean
SummaryTrue
Comments

What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:

  1. Servers SHALL support POST method for all operations.

  2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.code
ShortName used to invoke the operation
Definition

The name used to invoke the operation.

Cardinality1..1
Typecode
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.comment
ShortAdditional information about use
Definition

Additional information about how to use this operation or named query.

Cardinality0..1
Typemarkdown
Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.base
ShortMarks this as a profile of the base
Definition

Indicates that this operation definition is a constraining profile on the base.

Cardinality0..1
Typecanonical(OperationDefinition)
SummaryTrue
Comments

A constrained profile can make optional parameters required or not used and clarify documentation.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.derivedFrom
OperationDefinition.resource
ShortTypes this operation applies to
Definition

The types on which this operation can be executed.

Cardinality0..*
Typecode
Binding

One of the resource types defined as part of this version of FHIR.

ResourceType (required)

SummaryTrue
Comments

If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • workflow: Definition.subject[x]
OperationDefinition.system
ShortInvoke at the system level?
Definition

Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).

Cardinality1..1
Typeboolean
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.type
ShortInvoke at the type level?
Definition

Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context).

Cardinality1..1
Typeboolean
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.instance
ShortInvoke on an instance?
Definition

Indicates whether this operation can be invoked on a particular instance of one of the given types.

Cardinality1..1
Typeboolean
SummaryTrue
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.inputProfile
ShortValidation information for in parameters
Definition

Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole.

Cardinality0..1
Typecanonical(StructureDefinition)
Comments

If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.outputProfile
ShortValidation information for out parameters
Definition

Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource.

Cardinality0..1
Typecanonical(StructureDefinition)
Comments

If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter
ShortParameters for the operation/query
Definition

The parameters for the operation/query.

Cardinality0..*
TypeBackboneElement
Comments

Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • opd-1: Either a type must be provided, or parts
    type.exists() or part.exists()
  • opd-2: A search type can only be specified for parameters of type string
    searchType.exists() implies type = 'string'
  • opd-3: A targetProfile can only be specified for parameters of type Reference or Canonical
    targetProfile.exists() implies (type = 'Reference' or type = 'canonical')
Mappings
  • rim: n/a
OperationDefinition.parameter.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
OperationDefinition.parameter.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
OperationDefinition.parameter.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.parameter.name
ShortName in Parameters.parameter.name or in URL
Definition

The name of used to identify the parameter.

Cardinality1..1
Typecode
Comments

This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.use
Shortin | out
Definition

Whether this is an input or an output parameter.

Cardinality1..1
Typecode
Binding

Whether an operation parameter is an input or an output parameter.

OperationParameterUse (required)

Comments

If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.min
ShortMinimum Cardinality
Definition

The minimum number of times this parameter SHALL appear in the request or response.

Cardinality1..1
Typeinteger
Comments

32 bit number; for values larger than this, use decimal

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.max
ShortMaximum Cardinality (a number or *)
Definition

The maximum number of times this element is permitted to appear in the request or response.

Cardinality1..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.documentation
ShortDescription of meaning/use
Definition

Describes the meaning or use of this parameter.

Cardinality0..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.type
ShortWhat type this parameter has
Definition

The type for this parameter.

Cardinality0..1
Typecode
Binding

A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.

FHIRAllTypes (required)

Comments

if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.

ConditionsThe cardinality or value of this element may be affected by these constraints: opd-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.targetProfile
ShortIf type is Reference | canonical, allowed targets
Definition

Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.

Cardinality0..*
Typecanonical(StructureDefinition)
Comments

Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.searchType
Shortnumber | date | string | token | reference | composite | quantity | uri | special
Definition

How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.

Cardinality0..1
Typecode
Binding

Data types allowed to be used for search parameters.

SearchParamType (required)

ConditionsThe cardinality or value of this element may be affected by these constraints: opd-2
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.binding
ShortValueSet details if this is coded
Definition

Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).

Cardinality0..1
TypeBackboneElement
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
OperationDefinition.parameter.binding.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
OperationDefinition.parameter.binding.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
OperationDefinition.parameter.binding.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.parameter.binding.strength
Shortrequired | extensible | preferred | example
Definition

Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.

Cardinality1..1
Typecode
Binding

Indication of the degree of conformance expectations associated with a binding.

BindingStrength (required)

Aliasconformance, extensibility
Comments

For further discussion, see Using Terminologies.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.binding.valueSet
ShortSource of value set
Definition

Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.

Cardinality1..1
Typecanonical(ValueSet)
Comments

For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.referencedFrom
ShortReferences to this parameter
Definition

Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.

Cardinality0..*
TypeBackboneElement
Comments

Resolution applies if the referenced parameter exists.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
OperationDefinition.parameter.referencedFrom.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
OperationDefinition.parameter.referencedFrom.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
OperationDefinition.parameter.referencedFrom.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.parameter.referencedFrom.source
ShortReferencing parameter
Definition

The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource.

Cardinality1..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.referencedFrom.sourceId
ShortElement id of reference
Definition

The id of the element in the referencing resource that is expected to resolve to this resource.

Cardinality0..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.parameter.part
ShortParts of a nested Parameter
Definition

The parts of a nested Parameter.

Cardinality0..*
Typesee (parameter)
Comments

Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined.

ConditionsThe cardinality or value of this element may be affected by these constraints: opd-1
OperationDefinition.overload
ShortDefine overloaded variants for when generating code
Definition

Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation.

Cardinality0..*
TypeBackboneElement
Comments

The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
OperationDefinition.overload.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
OperationDefinition.overload.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
OperationDefinition.overload.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
OperationDefinition.overload.parameterName
ShortName of parameter to include in overload
Definition

Name of parameter to include in overload.

Cardinality0..*
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
OperationDefinition.overload.comment
ShortComments to go on overload
Definition

Comments to go on overload.

Cardinality0..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="OperationDefinition" />
<lastUpdated value="2019-11-01T09:29:23.356+11:00" />
</meta>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
<valueString value="Foundation.Conformance" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="normative" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
<valueCode value="4.0.0" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
<valueInteger value="5" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
<valueCode value="anonymous" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
<valueCode value="fhir" />
</extension>
<url value="http://hl7.org/fhir/StructureDefinition/OperationDefinition" />
<version value="4.0.1" />
<name value="OperationDefinition" />
<status value="active" />
<date value="2019-11-01T09:29:23+11:00" />
<publisher value="Health Level Seven International (FHIR Infrastructure)" />
<system value="url" />
<value value="http://hl7.org/fhir" />
</telecom>
</contact>
<system value="url" />
<value value="http://www.hl7.org/Special/committees/fiwg/index.cfm" />
</telecom>
</contact>
<description value="A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)." />
<fhirVersion value="4.0.1" />
<identity value="workflow" />
<uri value="http://hl7.org/fhir/workflow" />
<name value="Workflow Pattern" />
</mapping>
<identity value="rim" />
<uri value="http://hl7.org/v3" />
<name value="RIM Mapping" />
</mapping>
<identity value="w5" />
<uri value="http://hl7.org/fhir/fivews" />
<name value="FiveWs Pattern Mapping" />
</mapping>
<identity value="objimpl" />
<uri value="http://hl7.org/fhir/object-implementation" />
<name value="Object Implementation Information" />
</mapping>
<kind value="resource" />
<abstract value="false" />
<type value="OperationDefinition" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/DomainResource">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super">
<valueString value="MetadataResource" />
</extension>
</baseDefinition>
<derivation value="specialization" />
<element id="OperationDefinition">
<path value="OperationDefinition" />
<short value="Definition of an operation or a named query" />
<definition value="A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition" />
<min value="0" />
<max value="*" />
</base>
<key value="dom-2" />
<severity value="error" />
<human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
<expression value="contained.contained.empty()" />
<xpath value="not(parent::f:contained and f:contained)" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-3" />
<severity value="error" />
<human value="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" />
<expression value="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()" />
<xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-4" />
<severity value="error" />
<human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
<expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
<xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="dom-5" />
<severity value="error" />
<human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
<expression value="contained.meta.security.empty()" />
<xpath value="not(exists(f:contained/*/f:meta/f:security))" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
<valueBoolean value="true" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
<valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
</extension>
<key value="dom-6" />
<severity value="warning" />
<human value="A resource should have narrative for robust management" />
<expression value="text.`div`.exists()" />
<xpath value="exists(f:text/h:div)" />
<source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
</constraint>
<key value="opd-0" />
<severity value="warning" />
<human value="Name should be usable as an identifier for the module by machine processing applications such as code generation" />
<expression value="name.matches('[A-Z]([A-Za-z0-9_]){0,254}')" />
<xpath value="not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="Entity. Role, or Act" />
</mapping>
<identity value="workflow" />
<map value="Definition" />
</mapping>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.id">
<path value="OperationDefinition.id" />
<short value="Logical id of this artifact" />
<definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
<comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
<min value="0" />
<max value="1" />
<path value="Resource.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.meta">
<path value="OperationDefinition.meta" />
<short value="Metadata about the resource" />
<definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
<min value="0" />
<max value="1" />
<path value="Resource.meta" />
<min value="0" />
<max value="1" />
</base>
<code value="Meta" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.implicitRules">
<path value="OperationDefinition.implicitRules" />
<short value="A set of rules under which this content was created" />
<definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." />
<comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
<min value="0" />
<max value="1" />
<path value="Resource.implicitRules" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.language">
<path value="OperationDefinition.language" />
<short value="Language of the resource content" />
<definition value="The base language in which the resource is written." />
<comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
<min value="0" />
<max value="1" />
<path value="Resource.language" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
<valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Language" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="preferred" />
<description value="A human language." />
<valueSet value="http://hl7.org/fhir/ValueSet/languages" />
</binding>
</element>
<element id="OperationDefinition.text">
<path value="OperationDefinition.text" />
<short value="Text summary of the resource, for human interpretation" />
<definition value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
<comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later." />
<alias value="narrative" />
<alias value="html" />
<alias value="xhtml" />
<alias value="display" />
<min value="0" />
<max value="1" />
<path value="DomainResource.text" />
<min value="0" />
<max value="1" />
</base>
<code value="Narrative" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="Act.text?" />
</mapping>
</element>
<element id="OperationDefinition.contained">
<path value="OperationDefinition.contained" />
<short value="Contained, inline Resources" />
<definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
<comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." />
<alias value="inline resources" />
<alias value="anonymous resources" />
<alias value="contained resources" />
<min value="0" />
<max value="*" />
<path value="DomainResource.contained" />
<min value="0" />
<max value="*" />
</base>
<code value="Resource" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.extension">
<path value="OperationDefinition.extension" />
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.modifierExtension">
<path value="OperationDefinition.modifierExtension" />
<short value="Extensions that cannot be ignored" />
<definition value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="DomainResource.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" />
<isSummary value="false" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.url">
<path value="OperationDefinition.url" />
<short value="Canonical identifier for this operation definition, represented as a URI (globally unique)" />
<definition value="An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers." />
<comment value="Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found." />
<requirements value="Allows the operation definition to be referenced by a single globally unique identifier." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.url" />
<min value="0" />
<max value="1" />
</base>
<code value="uri" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.url" />
</mapping>
<identity value="w5" />
<map value="FiveWs.identifier" />
</mapping>
</element>
<element id="OperationDefinition.version">
<path value="OperationDefinition.version" />
<short value="Business version of the operation definition" />
<definition value="The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." />
<comment value="There may be different operation definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format [url]|[version]." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.version" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.version" />
</mapping>
<identity value="w5" />
<map value="FiveWs.version" />
</mapping>
</element>
<element id="OperationDefinition.name">
<path value="OperationDefinition.name" />
<short value="Name for this operation definition (computer friendly)" />
<definition value="A natural language name identifying the operation definition. This name should be usable as an identifier for the module by machine processing applications such as code generation." />
<comment value="The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." />
<requirements value="Support human navigation and code generation." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.name" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<condition value="inv-0" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.title" />
</mapping>
</element>
<element id="OperationDefinition.title">
<path value="OperationDefinition.title" />
<short value="Name for this operation definition (human friendly)" />
<definition value="A short, descriptive, user-friendly title for the operation definition." />
<comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.title" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.title" />
</mapping>
</element>
<element id="OperationDefinition.status">
<path value="OperationDefinition.status" />
<short value="draft | active | retired | unknown" />
<definition value="The status of this operation definition. Enables tracking the life-cycle of the content." />
<comment value="Allows filtering of operation definitions that are appropriate for use versus not." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.status" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="true" />
<isModifierReason value="This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="PublicationStatus" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The lifecycle status of an artifact." />
<valueSet value="http://hl7.org/fhir/ValueSet/publication-status|4.0.1" />
</binding>
<identity value="workflow" />
<map value="Definition.status {different ValueSet}" />
</mapping>
<identity value="w5" />
<map value="FiveWs.status" />
</mapping>
</element>
<element id="OperationDefinition.kind">
<path value="OperationDefinition.kind" />
<short value="operation | query" />
<definition value="Whether this is an operation or a named query." />
<comment value="Named queries are invoked differently, and have different capabilities." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.kind" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="OperationKind" />
</extension>
<strength value="required" />
<description value="Whether an operation is a normal operation or a query." />
<valueSet value="http://hl7.org/fhir/ValueSet/operation-kind|4.0.1" />
</binding>
<identity value="w5" />
<map value="FiveWs.class" />
</mapping>
</element>
<element id="OperationDefinition.experimental">
<path value="OperationDefinition.experimental" />
<short value="For testing purposes, not real usage" />
<definition value="A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." />
<comment value="Allows filtering of operation definitions that are appropriate for use versus not." />
<requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.experimental" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.experimental" />
</mapping>
<identity value="w5" />
<map value="FiveWs.class" />
</mapping>
</element>
<element id="OperationDefinition.date">
<path value="OperationDefinition.date" />
<short value="Date last changed" />
<definition value="The date (and optionally time) when the operation definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes." />
<comment value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." />
<alias value="Revision Date" />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.date" />
<min value="0" />
<max value="1" />
</base>
<code value="dateTime" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.date" />
</mapping>
<identity value="w5" />
<map value="FiveWs.recorded" />
</mapping>
</element>
<element id="OperationDefinition.publisher">
<path value="OperationDefinition.publisher" />
<short value="Name of the publisher (organization or individual)" />
<definition value="The name of the organization or individual that published the operation definition." />
<comment value="Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the operation definition. This item SHOULD be populated unless the information is available from context." />
<requirements value="Helps establish the "authority/credibility" of the operation definition. May also allow for contact." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.publisher" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.publisher" />
</mapping>
<identity value="w5" />
<map value="FiveWs.witness" />
</mapping>
</element>
<element id="OperationDefinition.contact">
<path value="OperationDefinition.contact" />
<short value="Contact details for the publisher" />
<definition value="Contact details to assist a user in finding and communicating with the publisher." />
<comment value="May be a web site, an email address, a telephone number, etc." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.contact" />
<min value="0" />
<max value="*" />
</base>
<code value="ContactDetail" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.contact" />
</mapping>
</element>
<element id="OperationDefinition.description">
<path value="OperationDefinition.description" />
<short value="Natural language description of the operation definition" />
<definition value="A free text natural language description of the operation definition from a consumer's perspective." />
<comment value="This description can be used to capture details such as why the operation definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created)." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.description" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="workflow" />
<map value="Definition.description" />
</mapping>
</element>
<element id="OperationDefinition.useContext">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use" />
</extension>
<path value="OperationDefinition.useContext" />
<short value="The context that the content is intended to support" />
<definition value="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition instances." />
<comment value="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." />
<requirements value="Assist in searching for appropriate content." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.useContext" />
<min value="0" />
<max value="*" />
</base>
<code value="UsageContext" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.useContext" />
</mapping>
</element>
<element id="OperationDefinition.jurisdiction">
<path value="OperationDefinition.jurisdiction" />
<short value="Intended jurisdiction for operation definition (if applicable)" />
<definition value="A legal or geographic region in which the operation definition is intended to be used." />
<comment value="It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.jurisdiction" />
<min value="0" />
<max value="*" />
</base>
<code value="CodeableConcept" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Jurisdiction" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="extensible" />
<description value="Countries and regions within which this artifact is targeted for use." />
<valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction" />
</binding>
<identity value="workflow" />
<map value="Definition.jurisdiction" />
</mapping>
</element>
<element id="OperationDefinition.purpose">
<path value="OperationDefinition.purpose" />
<short value="Why this operation definition is defined" />
<definition value="Explanation of why this operation definition is needed and why it has been designed as it has." />
<comment value="This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this operation definition." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.purpose" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="workflow" />
<map value="Definition.purpose" />
</mapping>
<identity value="w5" />
<map value="FiveWs.why[x]" />
</mapping>
<identity value="objimpl" />
<map value="no-gen-base" />
</mapping>
</element>
<element id="OperationDefinition.affectsState">
<path value="OperationDefinition.affectsState" />
<short value="Whether content is changed by the operation" />
<definition value="Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'." />
<comment value="What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:\n\n1. Servers SHALL support POST method for all operations.\n\n2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.affectsState" />
<min value="0" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.code">
<path value="OperationDefinition.code" />
<short value="Name used to invoke the operation" />
<definition value="The name used to invoke the operation." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.code" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.comment">
<path value="OperationDefinition.comment" />
<short value="Additional information about use" />
<definition value="Additional information about how to use this operation or named query." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.comment" />
<min value="0" />
<max value="1" />
</base>
<code value="markdown" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.base">
<path value="OperationDefinition.base" />
<short value="Marks this as a profile of the base" />
<definition value="Indicates that this operation definition is a constraining profile on the base." />
<comment value="A constrained profile can make optional parameters required or not used and clarify documentation." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.base" />
<min value="0" />
<max value="1" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationDefinition" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.derivedFrom" />
</mapping>
</element>
<element id="OperationDefinition.resource">
<path value="OperationDefinition.resource" />
<short value="Types this operation applies to" />
<definition value="The types on which this operation can be executed." />
<comment value="If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.resource" />
<min value="0" />
<max value="*" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ResourceType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="One of the resource types defined as part of this version of FHIR." />
<valueSet value="http://hl7.org/fhir/ValueSet/resource-types|4.0.1" />
</binding>
<identity value="workflow" />
<map value="Definition.subject[x]" />
</mapping>
</element>
<element id="OperationDefinition.system">
<path value="OperationDefinition.system" />
<short value="Invoke at the system level?" />
<definition value="Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context)." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.system" />
<min value="1" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.type">
<path value="OperationDefinition.type" />
<short value="Invoke at the type level?" />
<definition value="Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context)." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.type" />
<min value="1" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.instance">
<path value="OperationDefinition.instance" />
<short value="Invoke on an instance?" />
<definition value="Indicates whether this operation can be invoked on a particular instance of one of the given types." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.instance" />
<min value="1" />
<max value="1" />
</base>
<code value="boolean" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="true" />
</element>
<element id="OperationDefinition.inputProfile">
<path value="OperationDefinition.inputProfile" />
<short value="Validation information for in parameters" />
<definition value="Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole." />
<comment value="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.inputProfile" />
<min value="0" />
<max value="1" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.outputProfile">
<path value="OperationDefinition.outputProfile" />
<short value="Validation information for out parameters" />
<definition value="Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource." />
<comment value="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.outputProfile" />
<min value="0" />
<max value="1" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter">
<path value="OperationDefinition.parameter" />
<short value="Parameters for the operation/query" />
<definition value="The parameters for the operation/query." />
<comment value="Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.parameter" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="opd-1" />
<severity value="error" />
<human value="Either a type must be provided, or parts" />
<expression value="type.exists() or part.exists()" />
<xpath value="exists(f:type) or exists(f:part)" />
</constraint>
<key value="opd-2" />
<severity value="error" />
<human value="A search type can only be specified for parameters of type string" />
<expression value="searchType.exists() implies type = 'string'" />
<xpath value="not(exists(f:searchType)) or (f:type/@value = 'string')" />
</constraint>
<key value="opd-3" />
<severity value="error" />
<human value="A targetProfile can only be specified for parameters of type Reference or Canonical" />
<expression value="targetProfile.exists() implies (type = 'Reference' or type = 'canonical')" />
<xpath value="not(exists(f:targetProfile)) or ((f:type/@value = 'Reference') or (f:type/@value = 'canonical'))" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.id">
<path value="OperationDefinition.parameter.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.extension">
<path value="OperationDefinition.parameter.extension" />
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.modifierExtension">
<path value="OperationDefinition.parameter.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.parameter.name">
<path value="OperationDefinition.parameter.name" />
<short value="Name in Parameters.parameter.name or in URL" />
<definition value="The name of used to identify the parameter." />
<comment value="This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.name" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.use">
<path value="OperationDefinition.parameter.use" />
<short value="in | out" />
<definition value="Whether this is an input or an output parameter." />
<comment value="If a parameter name is used for both an input and an output parameter, the parameter should be defined twice." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.use" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="OperationParameterUse" />
</extension>
<strength value="required" />
<description value="Whether an operation parameter is an input or an output parameter." />
<valueSet value="http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.min">
<path value="OperationDefinition.parameter.min" />
<short value="Minimum Cardinality" />
<definition value="The minimum number of times this parameter SHALL appear in the request or response." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.min" />
<min value="1" />
<max value="1" />
</base>
<code value="integer" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.max">
<path value="OperationDefinition.parameter.max" />
<short value="Maximum Cardinality (a number or *)" />
<definition value="The maximum number of times this element is permitted to appear in the request or response." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.max" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.documentation">
<path value="OperationDefinition.parameter.documentation" />
<short value="Description of meaning/use" />
<definition value="Describes the meaning or use of this parameter." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.parameter.documentation" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.type">
<path value="OperationDefinition.parameter.type" />
<short value="What type this parameter has" />
<definition value="The type for this parameter." />
<comment value="if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.parameter.type" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="opd-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="FHIRAllTypes" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." />
<valueSet value="http://hl7.org/fhir/ValueSet/all-types|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.targetProfile">
<path value="OperationDefinition.parameter.targetProfile" />
<short value="If type is Reference | canonical, allowed targets" />
<definition value="Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide." />
<comment value="Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient)." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.parameter.targetProfile" />
<min value="0" />
<max value="*" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.searchType">
<path value="OperationDefinition.parameter.searchType" />
<short value="number | date | string | token | reference | composite | quantity | uri | special" />
<definition value="How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.parameter.searchType" />
<min value="0" />
<max value="1" />
</base>
<code value="code" />
</type>
<condition value="opd-2" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="SearchParamType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="Data types allowed to be used for search parameters." />
<valueSet value="http://hl7.org/fhir/ValueSet/search-param-type|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.binding">
<path value="OperationDefinition.parameter.binding" />
<short value="ValueSet details if this is coded" />
<definition value="Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.parameter.binding" />
<min value="0" />
<max value="1" />
</base>
<code value="BackboneElement" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.binding.id">
<path value="OperationDefinition.parameter.binding.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.binding.extension">
<path value="OperationDefinition.parameter.binding.extension" />
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.binding.modifierExtension">
<path value="OperationDefinition.parameter.binding.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.parameter.binding.strength">
<path value="OperationDefinition.parameter.binding.strength" />
<short value="required | extensible | preferred | example" />
<definition value="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." />
<comment value="For further discussion, see [Using Terminologies](terminologies.html)." />
<alias value="conformance" />
<alias value="extensibility" />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.binding.strength" />
<min value="1" />
<max value="1" />
</base>
<code value="code" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="BindingStrength" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="Indication of the degree of conformance expectations associated with a binding." />
<valueSet value="http://hl7.org/fhir/ValueSet/binding-strength|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.binding.valueSet">
<path value="OperationDefinition.parameter.binding.valueSet" />
<short value="Source of value set" />
<definition value="Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used." />
<comment value="For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.binding.valueSet" />
<min value="1" />
<max value="1" />
</base>
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.referencedFrom">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use" />
</extension>
<path value="OperationDefinition.parameter.referencedFrom" />
<short value="References to this parameter" />
<definition value="Identifies other resource parameters within the operation invocation that are expected to resolve to this resource." />
<comment value="Resolution applies if the referenced parameter exists." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.parameter.referencedFrom" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.referencedFrom.id">
<path value="OperationDefinition.parameter.referencedFrom.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.referencedFrom.extension">
<path value="OperationDefinition.parameter.referencedFrom.extension" />
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.parameter.referencedFrom.modifierExtension">
<path value="OperationDefinition.parameter.referencedFrom.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.parameter.referencedFrom.source">
<path value="OperationDefinition.parameter.referencedFrom.source" />
<short value="Referencing parameter" />
<definition value="The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource." />
<min value="1" />
<max value="1" />
<path value="OperationDefinition.parameter.referencedFrom.source" />
<min value="1" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.referencedFrom.sourceId">
<path value="OperationDefinition.parameter.referencedFrom.sourceId" />
<short value="Element id of reference" />
<definition value="The id of the element in the referencing resource that is expected to resolve to this resource." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.parameter.referencedFrom.sourceId" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.parameter.part">
<path value="OperationDefinition.parameter.part" />
<short value="Parts of a nested Parameter" />
<definition value="The parts of a nested Parameter." />
<comment value="Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.parameter.part" />
<min value="0" />
<max value="*" />
</base>
<contentReference value="#OperationDefinition.parameter" />
<condition value="opd-1" />
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.overload">
<path value="OperationDefinition.overload" />
<short value="Define overloaded variants for when generating code" />
<definition value="Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation." />
<comment value="The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.overload" />
<min value="0" />
<max value="*" />
</base>
<code value="BackboneElement" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.overload.id">
<path value="OperationDefinition.overload.id" />
<representation value="xmlAttr" />
<short value="Unique id for inter-element referencing" />
<definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
<min value="0" />
<max value="1" />
<path value="Element.id" />
<min value="0" />
<max value="1" />
</base>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
<valueUrl value="string" />
</extension>
<code value="http://hl7.org/fhirpath/System.String" />
</type>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.overload.extension">
<path value="OperationDefinition.overload.extension" />
<short value="Additional content defined by implementations" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<alias value="extensions" />
<alias value="user content" />
<min value="0" />
<max value="*" />
<path value="Element.extension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.overload.modifierExtension">
<path value="OperationDefinition.overload.modifierExtension" />
<short value="Extensions that cannot be ignored even if unrecognized" />
<definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
<comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
<requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
<alias value="extensions" />
<alias value="user content" />
<alias value="modifiers" />
<min value="0" />
<max value="*" />
<path value="BackboneElement.modifierExtension" />
<min value="0" />
<max value="*" />
</base>
<code value="Extension" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<key value="ext-1" />
<severity value="error" />
<human value="Must have either extensions or value[x], not both" />
<expression value="extension.exists() != value.exists()" />
<xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])" />
<source value="http://hl7.org/fhir/StructureDefinition/Extension" />
</constraint>
<isModifier value="true" />
<isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
<isSummary value="true" />
<identity value="rim" />
<map value="N/A" />
</mapping>
</element>
<element id="OperationDefinition.overload.parameterName">
<path value="OperationDefinition.overload.parameterName" />
<short value="Name of parameter to include in overload" />
<definition value="Name of parameter to include in overload." />
<min value="0" />
<max value="*" />
<path value="OperationDefinition.overload.parameterName" />
<min value="0" />
<max value="*" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
<element id="OperationDefinition.overload.comment">
<path value="OperationDefinition.overload.comment" />
<short value="Comments to go on overload" />
<definition value="Comments to go on overload." />
<min value="0" />
<max value="1" />
<path value="OperationDefinition.overload.comment" />
<min value="0" />
<max value="1" />
</base>
<code value="string" />
</type>
<key value="ele-1" />
<severity value="error" />
<human value="All FHIR elements must have a @value or children" />
<expression value="hasValue() or (children().count() > id.count())" />
<xpath value="@value|f:*|h:div" />
<source value="http://hl7.org/fhir/StructureDefinition/Element" />
</constraint>
<isModifier value="false" />
<isSummary value="false" />
</element>
</snapshot>
<element id="OperationDefinition">
<path value="OperationDefinition" />
<short value="Definition of an operation or a named query" />
<definition value="A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction)." />
<min value="0" />
<max value="*" />
<key value="opd-0" />
<severity value="warning" />
<human value="Name should be usable as an identifier for the module by machine processing applications such as code generation" />
<expression value="name.matches('[A-Z]([A-Za-z0-9_]){0,254}')" />
<xpath value="not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')" />
</constraint>
<identity value="workflow" />
<map value="Definition" />
</mapping>
<identity value="rim" />
<map value="n/a" />
</mapping>
</element>
<element id="OperationDefinition.url">
<path value="OperationDefinition.url" />
<short value="Canonical identifier for this operation definition, represented as a URI (globally unique)" />
<definition value="An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers." />
<comment value="Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found." />
<requirements value="Allows the operation definition to be referenced by a single globally unique identifier." />
<min value="0" />
<max value="1" />
<code value="uri" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.url" />
</mapping>
<identity value="w5" />
<map value="FiveWs.identifier" />
</mapping>
</element>
<element id="OperationDefinition.version">
<path value="OperationDefinition.version" />
<short value="Business version of the operation definition" />
<definition value="The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." />
<comment value="There may be different operation definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format [url]|[version]." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.version" />
</mapping>
<identity value="w5" />
<map value="FiveWs.version" />
</mapping>
</element>
<element id="OperationDefinition.name">
<path value="OperationDefinition.name" />
<short value="Name for this operation definition (computer friendly)" />
<definition value="A natural language name identifying the operation definition. This name should be usable as an identifier for the module by machine processing applications such as code generation." />
<comment value="The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." />
<requirements value="Support human navigation and code generation." />
<min value="1" />
<max value="1" />
<code value="string" />
</type>
<condition value="inv-0" />
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.title" />
</mapping>
</element>
<element id="OperationDefinition.title">
<path value="OperationDefinition.title" />
<short value="Name for this operation definition (human friendly)" />
<definition value="A short, descriptive, user-friendly title for the operation definition." />
<comment value="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.title" />
</mapping>
</element>
<element id="OperationDefinition.status">
<path value="OperationDefinition.status" />
<short value="draft | active | retired | unknown" />
<definition value="The status of this operation definition. Enables tracking the life-cycle of the content." />
<comment value="Allows filtering of operation definitions that are appropriate for use versus not." />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
<isModifier value="true" />
<isModifierReason value="This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration" />
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="PublicationStatus" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="The lifecycle status of an artifact." />
<valueSet value="http://hl7.org/fhir/ValueSet/publication-status|4.0.1" />
</binding>
<identity value="workflow" />
<map value="Definition.status {different ValueSet}" />
</mapping>
<identity value="w5" />
<map value="FiveWs.status" />
</mapping>
</element>
<element id="OperationDefinition.kind">
<path value="OperationDefinition.kind" />
<short value="operation | query" />
<definition value="Whether this is an operation or a named query." />
<comment value="Named queries are invoked differently, and have different capabilities." />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="OperationKind" />
</extension>
<strength value="required" />
<description value="Whether an operation is a normal operation or a query." />
<valueSet value="http://hl7.org/fhir/ValueSet/operation-kind|4.0.1" />
</binding>
<identity value="w5" />
<map value="FiveWs.class" />
</mapping>
</element>
<element id="OperationDefinition.experimental">
<path value="OperationDefinition.experimental" />
<short value="For testing purposes, not real usage" />
<definition value="A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." />
<comment value="Allows filtering of operation definitions that are appropriate for use versus not." />
<requirements value="Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition." />
<min value="0" />
<max value="1" />
<code value="boolean" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.experimental" />
</mapping>
<identity value="w5" />
<map value="FiveWs.class" />
</mapping>
</element>
<element id="OperationDefinition.date">
<path value="OperationDefinition.date" />
<short value="Date last changed" />
<definition value="The date (and optionally time) when the operation definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes." />
<comment value="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." />
<alias value="Revision Date" />
<min value="0" />
<max value="1" />
<code value="dateTime" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.date" />
</mapping>
<identity value="w5" />
<map value="FiveWs.recorded" />
</mapping>
</element>
<element id="OperationDefinition.publisher">
<path value="OperationDefinition.publisher" />
<short value="Name of the publisher (organization or individual)" />
<definition value="The name of the organization or individual that published the operation definition." />
<comment value="Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the operation definition. This item SHOULD be populated unless the information is available from context." />
<requirements value="Helps establish the "authority/credibility" of the operation definition. May also allow for contact." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.publisher" />
</mapping>
<identity value="w5" />
<map value="FiveWs.witness" />
</mapping>
</element>
<element id="OperationDefinition.contact">
<path value="OperationDefinition.contact" />
<short value="Contact details for the publisher" />
<definition value="Contact details to assist a user in finding and communicating with the publisher." />
<comment value="May be a web site, an email address, a telephone number, etc." />
<min value="0" />
<max value="*" />
<code value="ContactDetail" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.contact" />
</mapping>
</element>
<element id="OperationDefinition.description">
<path value="OperationDefinition.description" />
<short value="Natural language description of the operation definition" />
<definition value="A free text natural language description of the operation definition from a consumer's perspective." />
<comment value="This description can be used to capture details such as why the operation definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created)." />
<min value="0" />
<max value="1" />
<code value="markdown" />
</type>
<identity value="workflow" />
<map value="Definition.description" />
</mapping>
</element>
<element id="OperationDefinition.useContext">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use" />
</extension>
<path value="OperationDefinition.useContext" />
<short value="The context that the content is intended to support" />
<definition value="The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition instances." />
<comment value="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." />
<requirements value="Assist in searching for appropriate content." />
<min value="0" />
<max value="*" />
<code value="UsageContext" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.useContext" />
</mapping>
</element>
<element id="OperationDefinition.jurisdiction">
<path value="OperationDefinition.jurisdiction" />
<short value="Intended jurisdiction for operation definition (if applicable)" />
<definition value="A legal or geographic region in which the operation definition is intended to be used." />
<comment value="It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended." />
<min value="0" />
<max value="*" />
<code value="CodeableConcept" />
</type>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="Jurisdiction" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="extensible" />
<description value="Countries and regions within which this artifact is targeted for use." />
<valueSet value="http://hl7.org/fhir/ValueSet/jurisdiction" />
</binding>
<identity value="workflow" />
<map value="Definition.jurisdiction" />
</mapping>
</element>
<element id="OperationDefinition.purpose">
<path value="OperationDefinition.purpose" />
<short value="Why this operation definition is defined" />
<definition value="Explanation of why this operation definition is needed and why it has been designed as it has." />
<comment value="This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this operation definition." />
<min value="0" />
<max value="1" />
<code value="markdown" />
</type>
<identity value="workflow" />
<map value="Definition.purpose" />
</mapping>
<identity value="w5" />
<map value="FiveWs.why[x]" />
</mapping>
<identity value="objimpl" />
<map value="no-gen-base" />
</mapping>
</element>
<element id="OperationDefinition.affectsState">
<path value="OperationDefinition.affectsState" />
<short value="Whether content is changed by the operation" />
<definition value="Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'." />
<comment value="What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:\n\n1. Servers SHALL support POST method for all operations.\n\n2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false." />
<min value="0" />
<max value="1" />
<code value="boolean" />
</type>
<isSummary value="true" />
</element>
<element id="OperationDefinition.code">
<path value="OperationDefinition.code" />
<short value="Name used to invoke the operation" />
<definition value="The name used to invoke the operation." />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
<isSummary value="true" />
</element>
<element id="OperationDefinition.comment">
<path value="OperationDefinition.comment" />
<short value="Additional information about use" />
<definition value="Additional information about how to use this operation or named query." />
<min value="0" />
<max value="1" />
<code value="markdown" />
</type>
</element>
<element id="OperationDefinition.base">
<path value="OperationDefinition.base" />
<short value="Marks this as a profile of the base" />
<definition value="Indicates that this operation definition is a constraining profile on the base." />
<comment value="A constrained profile can make optional parameters required or not used and clarify documentation." />
<min value="0" />
<max value="1" />
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/OperationDefinition" />
</type>
<isSummary value="true" />
<identity value="workflow" />
<map value="Definition.derivedFrom" />
</mapping>
</element>
<element id="OperationDefinition.resource">
<path value="OperationDefinition.resource" />
<short value="Types this operation applies to" />
<definition value="The types on which this operation can be executed." />
<comment value="If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization." />
<min value="0" />
<max value="*" />
<code value="code" />
</type>
<isSummary value="true" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="ResourceType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="One of the resource types defined as part of this version of FHIR." />
<valueSet value="http://hl7.org/fhir/ValueSet/resource-types|4.0.1" />
</binding>
<identity value="workflow" />
<map value="Definition.subject[x]" />
</mapping>
</element>
<element id="OperationDefinition.system">
<path value="OperationDefinition.system" />
<short value="Invoke at the system level?" />
<definition value="Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context)." />
<min value="1" />
<max value="1" />
<code value="boolean" />
</type>
<isSummary value="true" />
</element>
<element id="OperationDefinition.type">
<path value="OperationDefinition.type" />
<short value="Invoke at the type level?" />
<definition value="Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context)." />
<min value="1" />
<max value="1" />
<code value="boolean" />
</type>
<isSummary value="true" />
</element>
<element id="OperationDefinition.instance">
<path value="OperationDefinition.instance" />
<short value="Invoke on an instance?" />
<definition value="Indicates whether this operation can be invoked on a particular instance of one of the given types." />
<min value="1" />
<max value="1" />
<code value="boolean" />
</type>
<isSummary value="true" />
</element>
<element id="OperationDefinition.inputProfile">
<path value="OperationDefinition.inputProfile" />
<short value="Validation information for in parameters" />
<definition value="Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole." />
<comment value="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not." />
<min value="0" />
<max value="1" />
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
</element>
<element id="OperationDefinition.outputProfile">
<path value="OperationDefinition.outputProfile" />
<short value="Validation information for out parameters" />
<definition value="Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource." />
<comment value="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not." />
<min value="0" />
<max value="1" />
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
</element>
<element id="OperationDefinition.parameter">
<path value="OperationDefinition.parameter" />
<short value="Parameters for the operation/query" />
<definition value="The parameters for the operation/query." />
<comment value="Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined." />
<min value="0" />
<max value="*" />
<code value="BackboneElement" />
</type>
<key value="opd-1" />
<severity value="error" />
<human value="Either a type must be provided, or parts" />
<expression value="type.exists() or part.exists()" />
<xpath value="exists(f:type) or exists(f:part)" />
</constraint>
<key value="opd-2" />
<severity value="error" />
<human value="A search type can only be specified for parameters of type string" />
<expression value="searchType.exists() implies type = 'string'" />
<xpath value="not(exists(f:searchType)) or (f:type/@value = 'string')" />
</constraint>
<key value="opd-3" />
<severity value="error" />
<human value="A targetProfile can only be specified for parameters of type Reference or Canonical" />
<expression value="targetProfile.exists() implies (type = 'Reference' or type = 'canonical')" />
<xpath value="not(exists(f:targetProfile)) or ((f:type/@value = 'Reference') or (f:type/@value = 'canonical'))" />
</constraint>
</element>
<element id="OperationDefinition.parameter.name">
<path value="OperationDefinition.parameter.name" />
<short value="Name in Parameters.parameter.name or in URL" />
<definition value="The name of used to identify the parameter." />
<comment value="This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers." />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
</element>
<element id="OperationDefinition.parameter.use">
<path value="OperationDefinition.parameter.use" />
<short value="in | out" />
<definition value="Whether this is an input or an output parameter." />
<comment value="If a parameter name is used for both an input and an output parameter, the parameter should be defined twice." />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="OperationParameterUse" />
</extension>
<strength value="required" />
<description value="Whether an operation parameter is an input or an output parameter." />
<valueSet value="http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.min">
<path value="OperationDefinition.parameter.min" />
<short value="Minimum Cardinality" />
<definition value="The minimum number of times this parameter SHALL appear in the request or response." />
<min value="1" />
<max value="1" />
<code value="integer" />
</type>
</element>
<element id="OperationDefinition.parameter.max">
<path value="OperationDefinition.parameter.max" />
<short value="Maximum Cardinality (a number or *)" />
<definition value="The maximum number of times this element is permitted to appear in the request or response." />
<min value="1" />
<max value="1" />
<code value="string" />
</type>
</element>
<element id="OperationDefinition.parameter.documentation">
<path value="OperationDefinition.parameter.documentation" />
<short value="Description of meaning/use" />
<definition value="Describes the meaning or use of this parameter." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
</element>
<element id="OperationDefinition.parameter.type">
<path value="OperationDefinition.parameter.type" />
<short value="What type this parameter has" />
<definition value="The type for this parameter." />
<comment value="if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined." />
<min value="0" />
<max value="1" />
<code value="code" />
</type>
<condition value="opd-1" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="FHIRAllTypes" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." />
<valueSet value="http://hl7.org/fhir/ValueSet/all-types|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.targetProfile">
<path value="OperationDefinition.parameter.targetProfile" />
<short value="If type is Reference | canonical, allowed targets" />
<definition value="Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide." />
<comment value="Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient)." />
<min value="0" />
<max value="*" />
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/StructureDefinition" />
</type>
</element>
<element id="OperationDefinition.parameter.searchType">
<path value="OperationDefinition.parameter.searchType" />
<short value="number | date | string | token | reference | composite | quantity | uri | special" />
<definition value="How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'." />
<min value="0" />
<max value="1" />
<code value="code" />
</type>
<condition value="opd-2" />
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="SearchParamType" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="Data types allowed to be used for search parameters." />
<valueSet value="http://hl7.org/fhir/ValueSet/search-param-type|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.binding">
<path value="OperationDefinition.parameter.binding" />
<short value="ValueSet details if this is coded" />
<definition value="Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)." />
<min value="0" />
<max value="1" />
<code value="BackboneElement" />
</type>
</element>
<element id="OperationDefinition.parameter.binding.strength">
<path value="OperationDefinition.parameter.binding.strength" />
<short value="required | extensible | preferred | example" />
<definition value="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." />
<comment value="For further discussion, see [Using Terminologies](terminologies.html)." />
<alias value="conformance" />
<alias value="extensibility" />
<min value="1" />
<max value="1" />
<code value="code" />
</type>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
<valueString value="BindingStrength" />
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding">
<valueBoolean value="true" />
</extension>
<strength value="required" />
<description value="Indication of the degree of conformance expectations associated with a binding." />
<valueSet value="http://hl7.org/fhir/ValueSet/binding-strength|4.0.1" />
</binding>
</element>
<element id="OperationDefinition.parameter.binding.valueSet">
<path value="OperationDefinition.parameter.binding.valueSet" />
<short value="Source of value set" />
<definition value="Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used." />
<comment value="For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not." />
<min value="1" />
<max value="1" />
<code value="canonical" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ValueSet" />
</type>
</element>
<element id="OperationDefinition.parameter.referencedFrom">
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
<valueCode value="trial-use" />
</extension>
<path value="OperationDefinition.parameter.referencedFrom" />
<short value="References to this parameter" />
<definition value="Identifies other resource parameters within the operation invocation that are expected to resolve to this resource." />
<comment value="Resolution applies if the referenced parameter exists." />
<min value="0" />
<max value="*" />
<code value="BackboneElement" />
</type>
</element>
<element id="OperationDefinition.parameter.referencedFrom.source">
<path value="OperationDefinition.parameter.referencedFrom.source" />
<short value="Referencing parameter" />
<definition value="The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource." />
<min value="1" />
<max value="1" />
<code value="string" />
</type>
</element>
<element id="OperationDefinition.parameter.referencedFrom.sourceId">
<path value="OperationDefinition.parameter.referencedFrom.sourceId" />
<short value="Element id of reference" />
<definition value="The id of the element in the referencing resource that is expected to resolve to this resource." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
</element>
<element id="OperationDefinition.parameter.part">
<path value="OperationDefinition.parameter.part" />
<short value="Parts of a nested Parameter" />
<definition value="The parts of a nested Parameter." />
<comment value="Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined." />
<min value="0" />
<max value="*" />
<contentReference value="#OperationDefinition.parameter" />
<condition value="opd-1" />
</element>
<element id="OperationDefinition.overload">
<path value="OperationDefinition.overload" />
<short value="Define overloaded variants for when generating code" />
<definition value="Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation." />
<comment value="The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative." />
<min value="0" />
<max value="*" />
<code value="BackboneElement" />
</type>
</element>
<element id="OperationDefinition.overload.parameterName">
<path value="OperationDefinition.overload.parameterName" />
<short value="Name of parameter to include in overload" />
<definition value="Name of parameter to include in overload." />
<min value="0" />
<max value="*" />
<code value="string" />
</type>
</element>
<element id="OperationDefinition.overload.comment">
<path value="OperationDefinition.overload.comment" />
<short value="Comments to go on overload" />
<definition value="Comments to go on overload." />
<min value="0" />
<max value="1" />
<code value="string" />
</type>
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "OperationDefinition",
"meta": {
"lastUpdated": "2019-11-01T09:29:23.356+11:00"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Foundation.Conformance"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "normative"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
"valueCode": "4.0.0"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "anonymous"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/OperationDefinition",
"version": "4.0.1",
"name": "OperationDefinition",
"status": "active",
"date": "2019-11-01T09:29:23+11:00",
"publisher": "Health Level Seven International (FHIR Infrastructure)",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
}
]
},
{
"telecom": [
{
"system": "url",
"value": "http://www.hl7.org/Special/committees/fiwg/index.cfm"
}
]
}
],
"description": "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "workflow",
"uri": "http://hl7.org/fhir/workflow",
"name": "Workflow Pattern"
},
{
"identity": "rim",
"uri": "http://hl7.org/v3",
"name": "RIM Mapping"
},
{
"identity": "w5",
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping"
},
{
"identity": "objimpl",
"uri": "http://hl7.org/fhir/object-implementation",
"name": "Object Implementation Information"
}
],
"kind": "resource",
"abstract": false,
"type": "OperationDefinition",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super",
"valueString": "MetadataResource"
}
]
},
"derivation": "specialization",
"element": [
{
"id": "OperationDefinition",
"path": "OperationDefinition",
"short": "Definition of an operation or a named query",
"definition": "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition",
"min": 0,
"max": "*"
},
{
"key": "dom-2",
"severity": "error",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"expression": "contained.contained.empty()",
"xpath": "not(parent::f:contained and f:contained)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-3",
"severity": "error",
"human": "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",
"expression": "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()",
"xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-4",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
"xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "dom-5",
"severity": "error",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"expression": "contained.meta.security.empty()",
"xpath": "not(exists(f:contained/*/f:meta/f:security))",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
}
],
"key": "dom-6",
"severity": "warning",
"human": "A resource should have narrative for robust management",
"expression": "text.`div`.exists()",
"xpath": "exists(f:text/h:div)",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"key": "opd-0",
"severity": "warning",
"human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
"expression": "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
"xpath": "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Entity. Role, or Act"
},
{
"identity": "workflow",
"map": "Definition"
},
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.id",
"path": "OperationDefinition.id",
"short": "Logical id of this artifact",
"definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
"comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.id",
"min": 0,
"max": "1"
},
"type": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.meta",
"path": "OperationDefinition.meta",
"short": "Metadata about the resource",
"definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.meta",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Meta"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.implicitRules",
"path": "OperationDefinition.implicitRules",
"short": "A set of rules under which this content was created",
"definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
"comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
"min": 0,
"max": "1",
"base": {
"path": "Resource.implicitRules",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": true,
"isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
"isSummary": true
},
{
"id": "OperationDefinition.language",
"path": "OperationDefinition.language",
"short": "Language of the resource content",
"definition": "The base language in which the resource is written.",
"comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
"min": 0,
"max": "1",
"base": {
"path": "Resource.language",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
"valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "preferred",
"description": "A human language.",
"valueSet": "http://hl7.org/fhir/ValueSet/languages"
}
},
{
"id": "OperationDefinition.text",
"path": "OperationDefinition.text",
"short": "Text summary of the resource, for human interpretation",
"definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
"comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
"alias": [
"narrative",
"html",
"xhtml",
"display"
],
"min": 0,
"max": "1",
"base": {
"path": "DomainResource.text",
"min": 0,
"max": "1"
},
"type": [
{
"code": "Narrative"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "Act.text?"
}
]
},
{
"id": "OperationDefinition.contained",
"path": "OperationDefinition.contained",
"short": "Contained, inline Resources",
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
"comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
"alias": [
"inline resources",
"anonymous resources",
"contained resources"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.contained",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Resource"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.extension",
"path": "OperationDefinition.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.modifierExtension",
"path": "OperationDefinition.modifierExtension",
"short": "Extensions that cannot be ignored",
"definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "DomainResource.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.url",
"path": "OperationDefinition.url",
"short": "Canonical identifier for this operation definition, represented as a URI (globally unique)",
"definition": "An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers.",
"comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
"requirements": "Allows the operation definition to be referenced by a single globally unique identifier.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.url",
"min": 0,
"max": "1"
},
"type": [
{
"code": "uri"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.url"
},
{
"identity": "w5",
"map": "FiveWs.identifier"
}
]
},
{
"id": "OperationDefinition.version",
"path": "OperationDefinition.version",
"short": "Business version of the operation definition",
"definition": "The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
"comment": "There may be different operation definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format [url]|[version].",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.version",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.version"
},
{
"identity": "w5",
"map": "FiveWs.version"
}
]
},
{
"id": "OperationDefinition.name",
"path": "OperationDefinition.name",
"short": "Name for this operation definition (computer friendly)",
"definition": "A natural language name identifying the operation definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
"requirements": "Support human navigation and code generation.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
"inv-0"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.title"
}
]
},
{
"id": "OperationDefinition.title",
"path": "OperationDefinition.title",
"short": "Name for this operation definition (human friendly)",
"definition": "A short, descriptive, user-friendly title for the operation definition.",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.title",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.title"
}
]
},
{
"id": "OperationDefinition.status",
"path": "OperationDefinition.status",
"short": "draft | active | retired | unknown",
"definition": "The status of this operation definition. Enables tracking the life-cycle of the content.",
"comment": "Allows filtering of operation definitions that are appropriate for use versus not.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.status",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": true,
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The lifecycle status of an artifact.",
"valueSet": "http://hl7.org/fhir/ValueSet/publication-status|4.0.1"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.status {different ValueSet}"
},
{
"identity": "w5",
"map": "FiveWs.status"
}
]
},
{
"id": "OperationDefinition.kind",
"path": "OperationDefinition.kind",
"short": "operation | query",
"definition": "Whether this is an operation or a named query.",
"comment": "Named queries are invoked differently, and have different capabilities.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.kind",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "OperationKind"
}
],
"strength": "required",
"description": "Whether an operation is a normal operation or a query.",
"valueSet": "http://hl7.org/fhir/ValueSet/operation-kind|4.0.1"
},
"mapping": [
{
"identity": "w5",
"map": "FiveWs.class"
}
]
},
{
"id": "OperationDefinition.experimental",
"path": "OperationDefinition.experimental",
"short": "For testing purposes, not real usage",
"definition": "A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
"comment": "Allows filtering of operation definitions that are appropriate for use versus not.",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.experimental",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.experimental"
},
{
"identity": "w5",
"map": "FiveWs.class"
}
]
},
{
"id": "OperationDefinition.date",
"path": "OperationDefinition.date",
"short": "Date last changed",
"definition": "The date (and optionally time) when the operation definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes.",
"comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
"alias": [
"Revision Date"
],
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.date",
"min": 0,
"max": "1"
},
"type": [
{
"code": "dateTime"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.date"
},
{
"identity": "w5",
"map": "FiveWs.recorded"
}
]
},
{
"id": "OperationDefinition.publisher",
"path": "OperationDefinition.publisher",
"short": "Name of the publisher (organization or individual)",
"definition": "The name of the organization or individual that published the operation definition.",
"comment": "Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the operation definition. This item SHOULD be populated unless the information is available from context.",
"requirements": "Helps establish the \"authority/credibility\" of the operation definition. May also allow for contact.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.publisher",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.publisher"
},
{
"identity": "w5",
"map": "FiveWs.witness"
}
]
},
{
"id": "OperationDefinition.contact",
"path": "OperationDefinition.contact",
"short": "Contact details for the publisher",
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"comment": "May be a web site, an email address, a telephone number, etc.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.contact",
"min": 0,
"max": "*"
},
"type": [
{
"code": "ContactDetail"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.contact"
}
]
},
{
"id": "OperationDefinition.description",
"path": "OperationDefinition.description",
"short": "Natural language description of the operation definition",
"definition": "A free text natural language description of the operation definition from a consumer's perspective.",
"comment": "This description can be used to capture details such as why the operation definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created).",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.description",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.description"
}
]
},
{
"id": "OperationDefinition.useContext",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}
],
"path": "OperationDefinition.useContext",
"short": "The context that the content is intended to support",
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition instances.",
"comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.useContext",
"min": 0,
"max": "*"
},
"type": [
{
"code": "UsageContext"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.useContext"
}
]
},
{
"id": "OperationDefinition.jurisdiction",
"path": "OperationDefinition.jurisdiction",
"short": "Intended jurisdiction for operation definition (if applicable)",
"definition": "A legal or geographic region in which the operation definition is intended to be used.",
"comment": "It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.jurisdiction",
"min": 0,
"max": "*"
},
"type": [
{
"code": "CodeableConcept"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "extensible",
"description": "Countries and regions within which this artifact is targeted for use.",
"valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.jurisdiction"
}
]
},
{
"id": "OperationDefinition.purpose",
"path": "OperationDefinition.purpose",
"short": "Why this operation definition is defined",
"definition": "Explanation of why this operation definition is needed and why it has been designed as it has.",
"comment": "This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this operation definition.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.purpose",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "workflow",
"map": "Definition.purpose"
},
{
"identity": "w5",
"map": "FiveWs.why[x]"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "OperationDefinition.affectsState",
"path": "OperationDefinition.affectsState",
"short": "Whether content is changed by the operation",
"definition": "Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'.",
"comment": "What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:\n\n1. Servers SHALL support POST method for all operations.\n\n2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.affectsState",
"min": 0,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.code",
"path": "OperationDefinition.code",
"short": "Name used to invoke the operation",
"definition": "The name used to invoke the operation.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.code",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.comment",
"path": "OperationDefinition.comment",
"short": "Additional information about use",
"definition": "Additional information about how to use this operation or named query.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.comment",
"min": 0,
"max": "1"
},
"type": [
{
"code": "markdown"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.base",
"path": "OperationDefinition.base",
"short": "Marks this as a profile of the base",
"definition": "Indicates that this operation definition is a constraining profile on the base.",
"comment": "A constrained profile can make optional parameters required or not used and clarify documentation.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.base",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/OperationDefinition"
]
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.derivedFrom"
}
]
},
{
"id": "OperationDefinition.resource",
"path": "OperationDefinition.resource",
"short": "Types this operation applies to",
"definition": "The types on which this operation can be executed.",
"comment": "If the type is an abstract resource (\"Resource\" or \"DomainResource\") then the operation can be invoked on any concrete specialization.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.resource",
"min": 0,
"max": "*"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ResourceType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "One of the resource types defined as part of this version of FHIR.",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.subject[x]"
}
]
},
{
"id": "OperationDefinition.system",
"path": "OperationDefinition.system",
"short": "Invoke at the system level?",
"definition": "Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.system",
"min": 1,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.type",
"path": "OperationDefinition.type",
"short": "Invoke at the type level?",
"definition": "Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context).",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.type",
"min": 1,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.instance",
"path": "OperationDefinition.instance",
"short": "Invoke on an instance?",
"definition": "Indicates whether this operation can be invoked on a particular instance of one of the given types.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.instance",
"min": 1,
"max": "1"
},
"type": [
{
"code": "boolean"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": true
},
{
"id": "OperationDefinition.inputProfile",
"path": "OperationDefinition.inputProfile",
"short": "Validation information for in parameters",
"definition": "Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole.",
"comment": "If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.inputProfile",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.outputProfile",
"path": "OperationDefinition.outputProfile",
"short": "Validation information for out parameters",
"definition": "Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource.",
"comment": "If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.outputProfile",
"min": 0,
"max": "1"
},
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter",
"path": "OperationDefinition.parameter",
"short": "Parameters for the operation/query",
"definition": "The parameters for the operation/query.",
"comment": "Query Definitions only have one output parameter, named \"result\". This might not be described, but can be to allow a profile to be defined.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.parameter",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "opd-1",
"severity": "error",
"human": "Either a type must be provided, or parts",
"expression": "type.exists() or part.exists()",
"xpath": "exists(f:type) or exists(f:part)"
},
{
"key": "opd-2",
"severity": "error",
"human": "A search type can only be specified for parameters of type string",
"expression": "searchType.exists() implies type = 'string'",
"xpath": "not(exists(f:searchType)) or (f:type/@value = 'string')"
},
{
"key": "opd-3",
"severity": "error",
"human": "A targetProfile can only be specified for parameters of type Reference or Canonical",
"expression": "targetProfile.exists() implies (type = 'Reference' or type = 'canonical')",
"xpath": "not(exists(f:targetProfile)) or ((f:type/@value = 'Reference') or (f:type/@value = 'canonical'))"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.id",
"path": "OperationDefinition.parameter.id",
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.extension",
"path": "OperationDefinition.parameter.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.modifierExtension",
"path": "OperationDefinition.parameter.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.parameter.name",
"path": "OperationDefinition.parameter.name",
"short": "Name in Parameters.parameter.name or in URL",
"definition": "The name of used to identify the parameter.",
"comment": "This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.name",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.use",
"path": "OperationDefinition.parameter.use",
"short": "in | out",
"definition": "Whether this is an input or an output parameter.",
"comment": "If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.use",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "OperationParameterUse"
}
],
"strength": "required",
"description": "Whether an operation parameter is an input or an output parameter.",
"valueSet": "http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.min",
"path": "OperationDefinition.parameter.min",
"short": "Minimum Cardinality",
"definition": "The minimum number of times this parameter SHALL appear in the request or response.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.min",
"min": 1,
"max": "1"
},
"type": [
{
"code": "integer"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.max",
"path": "OperationDefinition.parameter.max",
"short": "Maximum Cardinality (a number or *)",
"definition": "The maximum number of times this element is permitted to appear in the request or response.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.max",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.documentation",
"path": "OperationDefinition.parameter.documentation",
"short": "Description of meaning/use",
"definition": "Describes the meaning or use of this parameter.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.documentation",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.type",
"path": "OperationDefinition.parameter.type",
"short": "What type this parameter has",
"definition": "The type for this parameter.",
"comment": "if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.type",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"opd-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRAllTypes"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet": "http://hl7.org/fhir/ValueSet/all-types|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.targetProfile",
"path": "OperationDefinition.parameter.targetProfile",
"short": "If type is Reference | canonical, allowed targets",
"definition": "Used when the type is \"Reference\" or \"canonical\", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.",
"comment": "Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.parameter.targetProfile",
"min": 0,
"max": "*"
},
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.searchType",
"path": "OperationDefinition.parameter.searchType",
"short": "number | date | string | token | reference | composite | quantity | uri | special",
"definition": "How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.searchType",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code"
}
],
"opd-2"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SearchParamType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "Data types allowed to be used for search parameters.",
"valueSet": "http://hl7.org/fhir/ValueSet/search-param-type|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.binding",
"path": "OperationDefinition.parameter.binding",
"short": "ValueSet details if this is coded",
"definition": "Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.binding",
"min": 0,
"max": "1"
},
"type": [
{
"code": "BackboneElement"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.binding.id",
"path": "OperationDefinition.parameter.binding.id",
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.binding.extension",
"path": "OperationDefinition.parameter.binding.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.binding.modifierExtension",
"path": "OperationDefinition.parameter.binding.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.parameter.binding.strength",
"path": "OperationDefinition.parameter.binding.strength",
"short": "required | extensible | preferred | example",
"definition": "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.",
"comment": "For further discussion, see [Using Terminologies](terminologies.html).",
"alias": [
"conformance",
"extensibility"
],
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.binding.strength",
"min": 1,
"max": "1"
},
"type": [
{
"code": "code"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "BindingStrength"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "Indication of the degree of conformance expectations associated with a binding.",
"valueSet": "http://hl7.org/fhir/ValueSet/binding-strength|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.binding.valueSet",
"path": "OperationDefinition.parameter.binding.valueSet",
"short": "Source of value set",
"definition": "Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.",
"comment": "For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.binding.valueSet",
"min": 1,
"max": "1"
},
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/ValueSet"
]
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.referencedFrom",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}
],
"path": "OperationDefinition.parameter.referencedFrom",
"short": "References to this parameter",
"definition": "Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.",
"comment": "Resolution applies if the referenced parameter exists.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.parameter.referencedFrom",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.referencedFrom.id",
"path": "OperationDefinition.parameter.referencedFrom.id",
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom.extension",
"path": "OperationDefinition.parameter.referencedFrom.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom.modifierExtension",
"path": "OperationDefinition.parameter.referencedFrom.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom.source",
"path": "OperationDefinition.parameter.referencedFrom.source",
"short": "Referencing parameter",
"definition": "The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource.",
"min": 1,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.referencedFrom.source",
"min": 1,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.referencedFrom.sourceId",
"path": "OperationDefinition.parameter.referencedFrom.sourceId",
"short": "Element id of reference",
"definition": "The id of the element in the referencing resource that is expected to resolve to this resource.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.parameter.referencedFrom.sourceId",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.parameter.part",
"path": "OperationDefinition.parameter.part",
"short": "Parts of a nested Parameter",
"definition": "The parts of a nested Parameter.",
"comment": "Query Definitions only have one output parameter, named \"result\". This might not be described, but can be to allow a profile to be defined.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.parameter.part",
"min": 0,
"max": "*"
},
"contentReference": "#OperationDefinition.parameter",
"opd-1"
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.overload",
"path": "OperationDefinition.overload",
"short": "Define overloaded variants for when generating code",
"definition": "Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation.",
"comment": "The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.overload",
"min": 0,
"max": "*"
},
"type": [
{
"code": "BackboneElement"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.overload.id",
"path": "OperationDefinition.overload.id",
"xmlAttr"
],
"short": "Unique id for inter-element referencing",
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"min": 0,
"max": "1",
"base": {
"path": "Element.id",
"min": 0,
"max": "1"
},
"type": [
{
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "string"
}
],
"code": "http://hl7.org/fhirpath/System.String"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.overload.extension",
"path": "OperationDefinition.overload.extension",
"short": "Additional content defined by implementations",
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"alias": [
"extensions",
"user content"
],
"min": 0,
"max": "*",
"base": {
"path": "Element.extension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": false,
"isSummary": false,
"mapping": [
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.overload.modifierExtension",
"path": "OperationDefinition.overload.modifierExtension",
"short": "Extensions that cannot be ignored even if unrecognized",
"definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
"alias": [
"extensions",
"user content",
"modifiers"
],
"min": 0,
"max": "*",
"base": {
"path": "BackboneElement.modifierExtension",
"min": 0,
"max": "*"
},
"type": [
{
"code": "Extension"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
},
{
"key": "ext-1",
"severity": "error",
"human": "Must have either extensions or value[x], not both",
"expression": "extension.exists() != value.exists()",
"xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
"source": "http://hl7.org/fhir/StructureDefinition/Extension"
}
],
"isModifier": true,
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true,
"mapping": [
{
"identity": "rim",
"map": "N/A"
}
]
},
{
"id": "OperationDefinition.overload.parameterName",
"path": "OperationDefinition.overload.parameterName",
"short": "Name of parameter to include in overload",
"definition": "Name of parameter to include in overload.",
"min": 0,
"max": "*",
"base": {
"path": "OperationDefinition.overload.parameterName",
"min": 0,
"max": "*"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
},
{
"id": "OperationDefinition.overload.comment",
"path": "OperationDefinition.overload.comment",
"short": "Comments to go on overload",
"definition": "Comments to go on overload.",
"min": 0,
"max": "1",
"base": {
"path": "OperationDefinition.overload.comment",
"min": 0,
"max": "1"
},
"type": [
{
"code": "string"
}
],
{
"key": "ele-1",
"severity": "error",
"human": "All FHIR elements must have a @value or children",
"expression": "hasValue() or (children().count() > id.count())",
"xpath": "@value|f:*|h:div",
"source": "http://hl7.org/fhir/StructureDefinition/Element"
}
],
"isModifier": false,
"isSummary": false
}
]
},
"element": [
{
"id": "OperationDefinition",
"path": "OperationDefinition",
"short": "Definition of an operation or a named query",
"definition": "A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).",
"min": 0,
"max": "*",
{
"key": "opd-0",
"severity": "warning",
"human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
"expression": "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')",
"xpath": "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')"
}
],
"mapping": [
{
"identity": "workflow",
"map": "Definition"
},
{
"identity": "rim",
"map": "n/a"
}
]
},
{
"id": "OperationDefinition.url",
"path": "OperationDefinition.url",
"short": "Canonical identifier for this operation definition, represented as a URI (globally unique)",
"definition": "An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers.",
"comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
"requirements": "Allows the operation definition to be referenced by a single globally unique identifier.",
"min": 0,
"max": "1",
"type": [
{
"code": "uri"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.url"
},
{
"identity": "w5",
"map": "FiveWs.identifier"
}
]
},
{
"id": "OperationDefinition.version",
"path": "OperationDefinition.version",
"short": "Business version of the operation definition",
"definition": "The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
"comment": "There may be different operation definition instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format [url]|[version].",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.version"
},
{
"identity": "w5",
"map": "FiveWs.version"
}
]
},
{
"id": "OperationDefinition.name",
"path": "OperationDefinition.name",
"short": "Name for this operation definition (computer friendly)",
"definition": "A natural language name identifying the operation definition. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
"requirements": "Support human navigation and code generation.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
],
"inv-0"
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.title"
}
]
},
{
"id": "OperationDefinition.title",
"path": "OperationDefinition.title",
"short": "Name for this operation definition (human friendly)",
"definition": "A short, descriptive, user-friendly title for the operation definition.",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.title"
}
]
},
{
"id": "OperationDefinition.status",
"path": "OperationDefinition.status",
"short": "draft | active | retired | unknown",
"definition": "The status of this operation definition. Enables tracking the life-cycle of the content.",
"comment": "Allows filtering of operation definitions that are appropriate for use versus not.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"isModifier": true,
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "The lifecycle status of an artifact.",
"valueSet": "http://hl7.org/fhir/ValueSet/publication-status|4.0.1"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.status {different ValueSet}"
},
{
"identity": "w5",
"map": "FiveWs.status"
}
]
},
{
"id": "OperationDefinition.kind",
"path": "OperationDefinition.kind",
"short": "operation | query",
"definition": "Whether this is an operation or a named query.",
"comment": "Named queries are invoked differently, and have different capabilities.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "OperationKind"
}
],
"strength": "required",
"description": "Whether an operation is a normal operation or a query.",
"valueSet": "http://hl7.org/fhir/ValueSet/operation-kind|4.0.1"
},
"mapping": [
{
"identity": "w5",
"map": "FiveWs.class"
}
]
},
{
"id": "OperationDefinition.experimental",
"path": "OperationDefinition.experimental",
"short": "For testing purposes, not real usage",
"definition": "A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
"comment": "Allows filtering of operation definitions that are appropriate for use versus not.",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition.",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.experimental"
},
{
"identity": "w5",
"map": "FiveWs.class"
}
]
},
{
"id": "OperationDefinition.date",
"path": "OperationDefinition.date",
"short": "Date last changed",
"definition": "The date (and optionally time) when the operation definition was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes.",
"comment": "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.",
"alias": [
"Revision Date"
],
"min": 0,
"max": "1",
"type": [
{
"code": "dateTime"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.date"
},
{
"identity": "w5",
"map": "FiveWs.recorded"
}
]
},
{
"id": "OperationDefinition.publisher",
"path": "OperationDefinition.publisher",
"short": "Name of the publisher (organization or individual)",
"definition": "The name of the organization or individual that published the operation definition.",
"comment": "Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the operation definition. This item SHOULD be populated unless the information is available from context.",
"requirements": "Helps establish the \"authority/credibility\" of the operation definition. May also allow for contact.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.publisher"
},
{
"identity": "w5",
"map": "FiveWs.witness"
}
]
},
{
"id": "OperationDefinition.contact",
"path": "OperationDefinition.contact",
"short": "Contact details for the publisher",
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"comment": "May be a web site, an email address, a telephone number, etc.",
"min": 0,
"max": "*",
"type": [
{
"code": "ContactDetail"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.contact"
}
]
},
{
"id": "OperationDefinition.description",
"path": "OperationDefinition.description",
"short": "Natural language description of the operation definition",
"definition": "A free text natural language description of the operation definition from a consumer's perspective.",
"comment": "This description can be used to capture details such as why the operation definition was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created).",
"min": 0,
"max": "1",
"type": [
{
"code": "markdown"
}
],
"mapping": [
{
"identity": "workflow",
"map": "Definition.description"
}
]
},
{
"id": "OperationDefinition.useContext",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}
],
"path": "OperationDefinition.useContext",
"short": "The context that the content is intended to support",
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition instances.",
"comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"max": "*",
"type": [
{
"code": "UsageContext"
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.useContext"
}
]
},
{
"id": "OperationDefinition.jurisdiction",
"path": "OperationDefinition.jurisdiction",
"short": "Intended jurisdiction for operation definition (if applicable)",
"definition": "A legal or geographic region in which the operation definition is intended to be used.",
"comment": "It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended.",
"min": 0,
"max": "*",
"type": [
{
"code": "CodeableConcept"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "extensible",
"description": "Countries and regions within which this artifact is targeted for use.",
"valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.jurisdiction"
}
]
},
{
"id": "OperationDefinition.purpose",
"path": "OperationDefinition.purpose",
"short": "Why this operation definition is defined",
"definition": "Explanation of why this operation definition is needed and why it has been designed as it has.",
"comment": "This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this operation definition.",
"min": 0,
"max": "1",
"type": [
{
"code": "markdown"
}
],
"mapping": [
{
"identity": "workflow",
"map": "Definition.purpose"
},
{
"identity": "w5",
"map": "FiveWs.why[x]"
},
{
"identity": "objimpl",
"map": "no-gen-base"
}
]
},
{
"id": "OperationDefinition.affectsState",
"path": "OperationDefinition.affectsState",
"short": "Whether content is changed by the operation",
"definition": "Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'.",
"comment": "What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:\n\n1. Servers SHALL support POST method for all operations.\n\n2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false.",
"min": 0,
"max": "1",
"type": [
{
"code": "boolean"
}
],
"isSummary": true
},
{
"id": "OperationDefinition.code",
"path": "OperationDefinition.code",
"short": "Name used to invoke the operation",
"definition": "The name used to invoke the operation.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"isSummary": true
},
{
"id": "OperationDefinition.comment",
"path": "OperationDefinition.comment",
"short": "Additional information about use",
"definition": "Additional information about how to use this operation or named query.",
"min": 0,
"max": "1",
"type": [
{
"code": "markdown"
}
]
},
{
"id": "OperationDefinition.base",
"path": "OperationDefinition.base",
"short": "Marks this as a profile of the base",
"definition": "Indicates that this operation definition is a constraining profile on the base.",
"comment": "A constrained profile can make optional parameters required or not used and clarify documentation.",
"min": 0,
"max": "1",
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/OperationDefinition"
]
}
],
"isSummary": true,
"mapping": [
{
"identity": "workflow",
"map": "Definition.derivedFrom"
}
]
},
{
"id": "OperationDefinition.resource",
"path": "OperationDefinition.resource",
"short": "Types this operation applies to",
"definition": "The types on which this operation can be executed.",
"comment": "If the type is an abstract resource (\"Resource\" or \"DomainResource\") then the operation can be invoked on any concrete specialization.",
"min": 0,
"max": "*",
"type": [
{
"code": "code"
}
],
"isSummary": true,
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "ResourceType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "One of the resource types defined as part of this version of FHIR.",
"valueSet": "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
},
"mapping": [
{
"identity": "workflow",
"map": "Definition.subject[x]"
}
]
},
{
"id": "OperationDefinition.system",
"path": "OperationDefinition.system",
"short": "Invoke at the system level?",
"definition": "Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).",
"min": 1,
"max": "1",
"type": [
{
"code": "boolean"
}
],
"isSummary": true
},
{
"id": "OperationDefinition.type",
"path": "OperationDefinition.type",
"short": "Invoke at the type level?",
"definition": "Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context).",
"min": 1,
"max": "1",
"type": [
{
"code": "boolean"
}
],
"isSummary": true
},
{
"id": "OperationDefinition.instance",
"path": "OperationDefinition.instance",
"short": "Invoke on an instance?",
"definition": "Indicates whether this operation can be invoked on a particular instance of one of the given types.",
"min": 1,
"max": "1",
"type": [
{
"code": "boolean"
}
],
"isSummary": true
},
{
"id": "OperationDefinition.inputProfile",
"path": "OperationDefinition.inputProfile",
"short": "Validation information for in parameters",
"definition": "Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole.",
"comment": "If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.",
"min": 0,
"max": "1",
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
]
},
{
"id": "OperationDefinition.outputProfile",
"path": "OperationDefinition.outputProfile",
"short": "Validation information for out parameters",
"definition": "Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource.",
"comment": "If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not.",
"min": 0,
"max": "1",
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
]
},
{
"id": "OperationDefinition.parameter",
"path": "OperationDefinition.parameter",
"short": "Parameters for the operation/query",
"definition": "The parameters for the operation/query.",
"comment": "Query Definitions only have one output parameter, named \"result\". This might not be described, but can be to allow a profile to be defined.",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
],
{
"key": "opd-1",
"severity": "error",
"human": "Either a type must be provided, or parts",
"expression": "type.exists() or part.exists()",
"xpath": "exists(f:type) or exists(f:part)"
},
{
"key": "opd-2",
"severity": "error",
"human": "A search type can only be specified for parameters of type string",
"expression": "searchType.exists() implies type = 'string'",
"xpath": "not(exists(f:searchType)) or (f:type/@value = 'string')"
},
{
"key": "opd-3",
"severity": "error",
"human": "A targetProfile can only be specified for parameters of type Reference or Canonical",
"expression": "targetProfile.exists() implies (type = 'Reference' or type = 'canonical')",
"xpath": "not(exists(f:targetProfile)) or ((f:type/@value = 'Reference') or (f:type/@value = 'canonical'))"
}
]
},
{
"id": "OperationDefinition.parameter.name",
"path": "OperationDefinition.parameter.name",
"short": "Name in Parameters.parameter.name or in URL",
"definition": "The name of used to identify the parameter.",
"comment": "This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
]
},
{
"id": "OperationDefinition.parameter.use",
"path": "OperationDefinition.parameter.use",
"short": "in | out",
"definition": "Whether this is an input or an output parameter.",
"comment": "If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.",
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "OperationParameterUse"
}
],
"strength": "required",
"description": "Whether an operation parameter is an input or an output parameter.",
"valueSet": "http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.min",
"path": "OperationDefinition.parameter.min",
"short": "Minimum Cardinality",
"definition": "The minimum number of times this parameter SHALL appear in the request or response.",
"min": 1,
"max": "1",
"type": [
{
"code": "integer"
}
]
},
{
"id": "OperationDefinition.parameter.max",
"path": "OperationDefinition.parameter.max",
"short": "Maximum Cardinality (a number or *)",
"definition": "The maximum number of times this element is permitted to appear in the request or response.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "OperationDefinition.parameter.documentation",
"path": "OperationDefinition.parameter.documentation",
"short": "Description of meaning/use",
"definition": "Describes the meaning or use of this parameter.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "OperationDefinition.parameter.type",
"path": "OperationDefinition.parameter.type",
"short": "What type this parameter has",
"definition": "The type for this parameter.",
"comment": "if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"opd-1"
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "FHIRAllTypes"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.",
"valueSet": "http://hl7.org/fhir/ValueSet/all-types|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.targetProfile",
"path": "OperationDefinition.parameter.targetProfile",
"short": "If type is Reference | canonical, allowed targets",
"definition": "Used when the type is \"Reference\" or \"canonical\", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.",
"comment": "Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).",
"min": 0,
"max": "*",
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/StructureDefinition"
]
}
]
},
{
"id": "OperationDefinition.parameter.searchType",
"path": "OperationDefinition.parameter.searchType",
"short": "number | date | string | token | reference | composite | quantity | uri | special",
"definition": "How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.",
"min": 0,
"max": "1",
"type": [
{
"code": "code"
}
],
"opd-2"
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "SearchParamType"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "Data types allowed to be used for search parameters.",
"valueSet": "http://hl7.org/fhir/ValueSet/search-param-type|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.binding",
"path": "OperationDefinition.parameter.binding",
"short": "ValueSet details if this is coded",
"definition": "Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).",
"min": 0,
"max": "1",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "OperationDefinition.parameter.binding.strength",
"path": "OperationDefinition.parameter.binding.strength",
"short": "required | extensible | preferred | example",
"definition": "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances.",
"comment": "For further discussion, see [Using Terminologies](terminologies.html).",
"alias": [
"conformance",
"extensibility"
],
"min": 1,
"max": "1",
"type": [
{
"code": "code"
}
],
"binding": {
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "BindingStrength"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
}
],
"strength": "required",
"description": "Indication of the degree of conformance expectations associated with a binding.",
"valueSet": "http://hl7.org/fhir/ValueSet/binding-strength|4.0.1"
}
},
{
"id": "OperationDefinition.parameter.binding.valueSet",
"path": "OperationDefinition.parameter.binding.valueSet",
"short": "Source of value set",
"definition": "Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.",
"comment": "For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not.",
"min": 1,
"max": "1",
"type": [
{
"code": "canonical",
"http://hl7.org/fhir/StructureDefinition/ValueSet"
]
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom",
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
}
],
"path": "OperationDefinition.parameter.referencedFrom",
"short": "References to this parameter",
"definition": "Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.",
"comment": "Resolution applies if the referenced parameter exists.",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom.source",
"path": "OperationDefinition.parameter.referencedFrom.source",
"short": "Referencing parameter",
"definition": "The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource.",
"min": 1,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "OperationDefinition.parameter.referencedFrom.sourceId",
"path": "OperationDefinition.parameter.referencedFrom.sourceId",
"short": "Element id of reference",
"definition": "The id of the element in the referencing resource that is expected to resolve to this resource.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
},
{
"id": "OperationDefinition.parameter.part",
"path": "OperationDefinition.parameter.part",
"short": "Parts of a nested Parameter",
"definition": "The parts of a nested Parameter.",
"comment": "Query Definitions only have one output parameter, named \"result\". This might not be described, but can be to allow a profile to be defined.",
"min": 0,
"max": "*",
"contentReference": "#OperationDefinition.parameter",
"opd-1"
]
},
{
"id": "OperationDefinition.overload",
"path": "OperationDefinition.overload",
"short": "Define overloaded variants for when generating code",
"definition": "Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation.",
"comment": "The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative.",
"min": 0,
"max": "*",
"type": [
{
"code": "BackboneElement"
}
]
},
{
"id": "OperationDefinition.overload.parameterName",
"path": "OperationDefinition.overload.parameterName",
"short": "Name of parameter to include in overload",
"definition": "Name of parameter to include in overload.",
"min": 0,
"max": "*",
"type": [
{
"code": "string"
}
]
},
{
"id": "OperationDefinition.overload.comment",
"path": "OperationDefinition.overload.comment",
"short": "Comments to go on overload",
"definition": "Comments to go on overload.",
"min": 0,
"max": "1",
"type": [
{
"code": "string"
}
]
}
]
}
}

Supported operations

HTTP methods

Operation Supported Comment
Search (GET, POST) yes Kommentar
Insert (POST) no Kommentar
Update (PUT) no Kommentar
Delete (DEL) no Kommentar
Operation (GET, POST) yes/no Kommentar

Query operations

Supported Queries

  1. .../OperationDefinition/[id] returns the OperationDefinition with the given ID

Search parameters

Parameter Description Comment
OperationDefinition/[id] A read based on the ID of an OperationDefinition.