profile-OperationDefinition
type: StructureDefinition
node role: treeRoot
id:
  v: profile-OperationDefinition
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition profile-OperationDefinition Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> OperationDefinition 0..* OperationDefinition Definition of an operation or a named query #xD; meta #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:meta 0..1 Meta R4B: meta additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.meta #xD; text #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:text 0..1 (Complex) R4B: text additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.text #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:title 0..1 string R4B: Name for this operation definition (human friendly) (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.title #xD; extension:inputProfile 0..1 uri R4B: Validation information for in parameters (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.inputProfile #xD; extension:outputProfile 0..1 uri R4B: Validation information for out parameters (new) URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.outputProfile #xD; contact #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:contact 0..* (Complex) R4B: contact additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.contact #xD; useContext #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:useContext 0..* (Complex) R4B: The context that the content is intended to support additional types URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.useContext #xD; base #xD; Slices for extension 0..* Extension …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r4b.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3
        l: hl7.fhir.uv.xver-r4b.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4b.r3
        l: hl7.fhir.uv.xver-r4b.r3
url:
  v: http://hl7.org/fhir/4.3/StructureDefinition/profile-OperationDefinition
  l: profile-OperationDefinition
version:
  v: 0.1.0
name:
  v: Profile_R4B_OperationDefinition_R3
title:
  v: Cross-version Profile for R4B.OperationDefinition for use in FHIR STU3
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T16:04:24.8924722-05:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This cross-version profile allows R4B OperationDefinition content to be represented via FHIR STU3 OperationDefinition resources.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/w5
    l: w5
  name:
    v: W5 Mapping
mapping:
  identity:
    v: objimpl
  uri:
    v: http://hl7.org/fhir/object-implementation
    l: object-implementation
  name:
    v: Object Implementation Information
kind:
  v: resource
abstract:
  v: false
type:
  v: OperationDefinition
base definition:
  v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
  l: OperationDefinition
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: OperationDefinition
    path:
      v: OperationDefinition
    short:
      v: Definition of an operation or a named query
    definition:
      v: A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: OperationDefinition
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-1
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain any narrative
      expression:
        v: contained.text.empty()
      xpath:
        v: not(parent::f:contained and f:text)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3

v: error

v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource

v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()

v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: workflow
map:
  v: Definition

identity:
  v: rim
map:
  v: n/a

identity:
  v: w5
map:
  v: conformance.behavior

id:
  v: OperationDefinition.id
path:
  v: OperationDefinition.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: 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:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: OperationDefinition.meta
path:
  v: OperationDefinition.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
is summary:
  v: true

id:
  v: OperationDefinition.meta.id
path:
  v: OperationDefinition.meta.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.meta.extension
path:
  v: OperationDefinition.meta.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.meta.extension:meta
path:
  v: OperationDefinition.meta.extension
slice name:
  v: meta
short:
  v: R4B: meta additional types
definition:
  v: R4B: `OperationDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)
comment:
  v: Element `OperationDefinition.meta` is mapped to FHIR STU3 element `OperationDefinition.meta` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.meta` do not cover the following types: Meta. The mappings for `OperationDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.meta|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.meta

id:
  v: OperationDefinition.meta.versionId
path:
  v: OperationDefinition.meta.versionId
short:
  v: Version specific identifier
definition:
  v: The version specific identifier, as it appears in the version portion of the URL. This values changes when the resource is created, updated, or deleted.
comment:
  v: The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Meta.versionId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: OperationDefinition.meta.lastUpdated
path:
  v: OperationDefinition.meta.lastUpdated
short:
  v: When the resource version last changed
definition:
  v: When the resource last changed - e.g. when the version changed.
comment:
  v: This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Meta.lastUpdated
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: instant
    l: instant
is summary:
  v: true

id:
  v: OperationDefinition.meta.profile
path:
  v: OperationDefinition.meta.profile
short:
  v: Profiles this resource claims to conform to
definition:
  v: A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/STU3/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/STU3/).
comment:
  v: It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.profile
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
    l: uri
is summary:
  v: true

id:
  v: OperationDefinition.meta.security
path:
  v: OperationDefinition.meta.security
short:
  v: Security Labels applied to this resource
definition:
  v: Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.
comment:
  v: The security labels can be updated without changing the stated version of the resource The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.security
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SecurityLabels
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/security-labels|3.0.2

id:
  v: OperationDefinition.meta.tag
path:
  v: OperationDefinition.meta.tag
short:
  v: Tags applied to this resource
definition:
  v: Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.
comment:
  v: The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Meta.tag
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Tags
  strength:
    v: example
  description:
    v: Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/common-tags|3.0.2

id:
  v: OperationDefinition.implicitRules
path:
  v: OperationDefinition.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
comment:
  v: 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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is modifier:
  v: true
is summary:
  v: true

id:
  v: OperationDefinition.language
path:
  v: OperationDefinition.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Reference
      l: 3.0
      l: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: OperationDefinition.text
path:
  v: OperationDefinition.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource, and may 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:
  v: 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 in formation is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: OperationDefinition.text.id
path:
  v: OperationDefinition.text.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.text.extension
path:
  v: OperationDefinition.text.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.text.extension:text
path:
  v: OperationDefinition.text.extension
slice name:
  v: text
short:
  v: R4B: text additional types
definition:
  v: R4B: `OperationDefinition.text` additional types (Narrative) additional types from child elements (div, status)
comment:
  v: Element `OperationDefinition.text` is mapped to FHIR STU3 element `OperationDefinition.text` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.text` do not cover the following types: Narrative. The mappings for `OperationDefinition.text` do not cover the following types based on type expansion: div, status. 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.text|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.text

id:
  v: OperationDefinition.text.status
path:
  v: OperationDefinition.text.status
short:
  v: generated | extensions | additional | empty
definition:
  v: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Narrative.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: NarrativeStatus
  strength:
    v: required
  description:
    v: The status of a resource narrative
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/narrative-status|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.text.div
path:
  v: OperationDefinition.text.div
short:
  v: Limited xhtml content
definition:
  v: The actual narrative content, a stripped down version of XHTML.
comment:
  v: The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained stylesheets. The XHTML content may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Narrative.div
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: xhtml
    l: http://hl7.org/fhir/xhtml
constraint:
  key:
    v: txt-1
  severity:
    v: error
  human:
    v: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes
  expression:
    v: htmlchecks()
  xpath:
    v: not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    l: OperationDefinition
constraint:
  key:
    v: txt-2
  severity:
    v: error
  human:
    v: The narrative SHALL have some non-whitespace content
  expression:
    v: htmlchecks()
  xpath:
    v: descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    l: OperationDefinition
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.contained
path:
  v: OperationDefinition.contained
short:
  v: Contained, inline Resources
definition:
  v: 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:
  v: 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.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.extension
path:
  v: OperationDefinition.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.extension:title
path:
  v: OperationDefinition.extension
slice name:
  v: title
short:
  v: R4B: Name for this operation definition (human friendly) (new)
definition:
  v: R4B: `OperationDefinition.title` (new:string)
comment:
  v: Element `OperationDefinition.title` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.title` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.title|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.title
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.extension:inputProfile
path:
  v: OperationDefinition.extension
slice name:
  v: inputProfile
short:
  v: R4B: Validation information for in parameters (new)
definition:
  v: R4B: `OperationDefinition.inputProfile` (new:canonical(StructureDefinition))
comment:
  v: Element `OperationDefinition.inputProfile` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.inputProfile` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.inputProfile|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.inputProfile
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.extension:outputProfile
path:
  v: OperationDefinition.extension
slice name:
  v: outputProfile
short:
  v: R4B: Validation information for out parameters (new)
definition:
  v: R4B: `OperationDefinition.outputProfile` (new:canonical(StructureDefinition))
comment:
  v: Element `OperationDefinition.outputProfile` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.outputProfile` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.outputProfile|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.outputProfile
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.modifierExtension
path:
  v: OperationDefinition.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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. Usually modifier elements provide negation or qualification. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.url
path:
  v: OperationDefinition.url
short:
  v: Logical URI to reference this operation definition (globally unique)
definition:
  v: An absolute URI that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published. The URL SHOULD include the major version of the operation definition. For more information see [Technical and Business Versions](http://hl7.org/fhir/STU3/resource.html#versions).
comment:
  v: 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.
requirements:
  v: Allows the operation definition to be referenced by a single globally unique identifier.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.url
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.url
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: OperationDefinition.version
path:
  v: OperationDefinition.version
short:
  v: Business version of the operation definition
definition:
  v: 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:
  v: 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 refrence to a particular business version of the operation definition with the format [url]|[version].
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.version
mapping:
  identity:
    v: w5
  map:
    v: id.version

id:
  v: OperationDefinition.name
path:
  v: OperationDefinition.name
short:
  v: Name for this operation definition (computer friendly)
definition:
  v: 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:
  v: The name is not expected to be globally unique. The name should be a simple alpha-numeric type name to ensure that it is computable friendly.
requirements:
  v: Support human navigation and code generation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.title

id:
  v: OperationDefinition.status
path:
  v: OperationDefinition.status
short:
  v: draft | active | retired | unknown
definition:
  v: The status of this operation definition. Enables tracking the life-cycle of the content.
comment:
  v: Allows filtering of operation definitions that are appropriate for use vs. not. This is labeled as "Is Modifier" because applications should not use a retired operation definition without due consideration.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: PublicationStatus
  strength:
    v: required
  description:
    v: The lifecycle status of a Value Set or Concept Map.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/publication-status|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Definition.status (different ValueSet)
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: OperationDefinition.kind
path:
  v: OperationDefinition.kind
short:
  v: operation | query
definition:
  v: Whether this is an operation or a named query.
comment:
  v: Named queries are invoked differently, and have different capabilities.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.kind
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: OperationKind
  strength:
    v: required
  description:
    v: Whether an operation is a normal operation or a query.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/operation-kind|3.0.2
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: OperationDefinition.experimental
path:
  v: OperationDefinition.experimental
short:
  v: For testing purposes, not real usage
definition:
  v: 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:
  v: Allows filtering of operation definition that are appropriate for use vs. not. This is labeled as "Is Modifier" because applications should not use an experimental operation definition in production.
requirements:
  v: Enables experimental content to be developed following the same lifecycle that would be used for a production-level operation definition.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.experimental
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.experimental
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: OperationDefinition.date
path:
  v: OperationDefinition.date
short:
  v: Date this was last changed
definition:
  v: The date (and optionally time) when the operation definition was published. The date must change if and 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:
  v: 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:
  v: Revision Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.date
mapping:
  identity:
    v: w5
  map:
    v: when.recorded

id:
  v: OperationDefinition.publisher
path:
  v: OperationDefinition.publisher
short:
  v: Name of the publisher (organization or individual)
definition:
  v: The name of the individual or organization that published the operation definition.
comment:
  v: 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:
  v: Helps establish the "authority/credibility" of the operation definition. May also allow for contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.publisher
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.publisher
mapping:
  identity:
    v: w5
  map:
    v: who.witness

id:
  v: OperationDefinition.contact
path:
  v: OperationDefinition.contact
short:
  v: Contact details for the publisher
definition:
  v: Contact details to assist a user in finding and communicating with the publisher.
comment:
  v: May be a web site, an email address, a telephone number, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.contact
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactDetail
    l: ContactDetail
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.contact

id:
  v: OperationDefinition.contact.id
path:
  v: OperationDefinition.contact.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.contact.extension
path:
  v: OperationDefinition.contact.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.contact.extension:contact
path:
  v: OperationDefinition.contact.extension
slice name:
  v: contact
short:
  v: R4B: contact additional types
definition:
  v: R4B: `OperationDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)
comment:
  v: Element `OperationDefinition.contact` is mapped to FHIR STU3 element `OperationDefinition.contact` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.contact` do not cover the following types: ContactDetail. The mappings for `OperationDefinition.contact` do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.contact|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.contact

id:
  v: OperationDefinition.contact.name
path:
  v: OperationDefinition.contact.name
short:
  v: Name of an individual to contact
definition:
  v: The name of an individual to contact.
comment:
  v: If there is no named individual, the telecom information is for the organization as a whole.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ContactDetail.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: OperationDefinition.contact.telecom
path:
  v: OperationDefinition.contact.telecom
short:
  v: Contact details for individual or organization
definition:
  v: The contact details for the individual (if a name was provided) or the organization.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ContactDetail.telecom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactPoint
    l: ContactPoint
is summary:
  v: true

id:
  v: OperationDefinition.description
path:
  v: OperationDefinition.description
short:
  v: Natural language description of the operation definition
definition:
  v: A free text natural language description of the operation definition from a consumer's perspective.
comment:
  v: 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 profile is presumed to be the predominant language in the place the profile was created).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
mapping:
  identity:
    v: workflow
  map:
    v: Definition.description

id:
  v: OperationDefinition.useContext
path:
  v: OperationDefinition.useContext
short:
  v: Context the content is intended to support
definition:
  v: The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching for appropriate operation definition instances.
comment:
  v: When multiple useContexts are specified, there is no expectation whether all or any of the contexts apply.
requirements:
  v: Assist in searching for appropriate content.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.useContext
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: UsageContext
    l: UsageContext
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.useContext

id:
  v: OperationDefinition.useContext.id
path:
  v: OperationDefinition.useContext.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.useContext.extension
path:
  v: OperationDefinition.useContext.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.useContext.extension:useContext
path:
  v: OperationDefinition.useContext.extension
slice name:
  v: useContext
short:
  v: R4B: The context that the content is intended to support additional types
definition:
  v: R4B: `OperationDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])
comment:
  v: Element `OperationDefinition.useContext` is mapped to FHIR STU3 element `OperationDefinition.useContext` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.useContext` do not cover the following types: UsageContext. The mappings for `OperationDefinition.useContext` do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.useContext|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.useContext

id:
  v: OperationDefinition.useContext.code
path:
  v: OperationDefinition.useContext.code
short:
  v: Type of context being specified
definition:
  v: A code that identifies the type of context being specified by this usage context.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: UsageContext.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: UsageContextType
  strength:
    v: extensible
  description:
    v: A code that specifies a type of context being specified by a usage context
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/usage-context-type|3.0.2

id:
  v: OperationDefinition.useContext.value[x]
path:
  v: OperationDefinition.useContext.value[x]
short:
  v: Value that defines the context
definition:
  v: A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: UsageContext.value[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: UsageContextValue
  strength:
    v: example
  description:
    v: A code that defines the specific value for the context being specified
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/use-context|3.0.2

id:
  v: OperationDefinition.jurisdiction
path:
  v: OperationDefinition.jurisdiction
short:
  v: Intended jurisdiction for operation definition (if applicable)
definition:
  v: A legal or geographic region in which the operation definition is intended to be used.
comment:
  v: 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:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.jurisdiction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Jurisdiction
  strength:
    v: extensible
  description:
    v: Countries and regions within which this artifact is targeted for use
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/jurisdiction|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Definition.jurisdiction

id:
  v: OperationDefinition.purpose
path:
  v: OperationDefinition.purpose
short:
  v: Why this operation definition is defined
definition:
  v: Explaination of why this operation definition is needed and why it has been designed as it has.
comment:
  v: 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:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.purpose
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
mapping:
  identity:
    v: workflow
  map:
    v: Definition.purpose
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: OperationDefinition.idempotent
path:
  v: OperationDefinition.idempotent
short:
  v: Whether content is unchanged by the operation
definition:
  v: Operations that are idempotent (see [HTTP specification definition of idempotent](http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html)) may be invoked by performing an HTTP GET operation instead of a POST.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.idempotent
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true

id:
  v: OperationDefinition.code
path:
  v: OperationDefinition.code
short:
  v: Name used to invoke the operation
definition:
  v: The name used to invoke the operation.
comment:
  v: The code does not include the '$' prefix that is always included in the URL when the operation is invoked.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true

id:
  v: OperationDefinition.comment
path:
  v: OperationDefinition.comment
short:
  v: Additional information about use
definition:
  v: Additional information about how to use this operation or named query.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.comment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.base
path:
  v: OperationDefinition.base
short:
  v: Marks this as a profile of the base
definition:
  v: Indicates that this operation definition is a constraining profile on the base.
comment:
  v: A constrained profile can make optional parameters required or not used and clarify documentation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.base
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    l: OperationDefinition
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.definition

id:
  v: OperationDefinition.base.id
path:
  v: OperationDefinition.base.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.base.extension
path:
  v: OperationDefinition.base.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.base.extension:base
path:
  v: OperationDefinition.base.extension
slice name:
  v: base
short:
  v: R4B: base additional types
definition:
  v: R4B: `OperationDefinition.base` additional types (canonical(http://hl7.org/fhir/StructureDefinition/OperationDefinition)) additional types from child elements (value)
comment:
  v: Element `OperationDefinition.base` is mapped to FHIR STU3 element `OperationDefinition.base` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.base` do not cover the following types: canonical. The mappings for `OperationDefinition.base` do not cover the following types based on type expansion: value. A constrained profile can make optional parameters required or not used and clarify documentation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.base|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.base

id:
  v: OperationDefinition.base.reference
path:
  v: OperationDefinition.base.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.base.identifier
path:
  v: OperationDefinition.base.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: OperationDefinition.base.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: OperationDefinition.base.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.resource
path:
  v: OperationDefinition.resource
short:
  v: Types this operation applies to
definition:
  v: The types on which this operation can be executed.
comment:
  v: If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.resource
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ResourceType
  strength:
    v: required
  description:
    v: One of the resource types defined as part of FHIR.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/resource-types|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Definition.subjectCodableConcept

id:
  v: OperationDefinition.resource.id
path:
  v: OperationDefinition.resource.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.resource.extension
path:
  v: OperationDefinition.resource.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.resource.extension:resource
path:
  v: OperationDefinition.resource.extension
slice name:
  v: resource
short:
  v: R4B: resource additional codes
definition:
  v: R4B: `OperationDefinition.resource` additional codes
comment:
  v: Element `OperationDefinition.resource` is mapped to FHIR STU3 element `OperationDefinition.resource` as `RelatedTo`. The mappings for `OperationDefinition.resource` do not allow expression of the necessary codes, per the bindings on the source and target. If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.resource|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.resource
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.resource.value
path:
  v: OperationDefinition.resource.value
representation:
  v: xmlAttr
short:
  v: Primitive value for code
definition:
  v: Primitive value for code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: string.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: [^\s]+([\s]?[^\s]+)*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:token
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:token

id:
  v: OperationDefinition.system
path:
  v: OperationDefinition.system
short:
  v: Invoke at the system level?
definition:
  v: 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:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.system
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true

id:
  v: OperationDefinition.type
path:
  v: OperationDefinition.type
short:
  v: Invole at the type level?
definition:
  v: 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:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true

id:
  v: OperationDefinition.instance
path:
  v: OperationDefinition.instance
short:
  v: Invoke on an instance?
definition:
  v: Indicates whether this operation can be invoked on a particular instance of one of the given types.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.instance
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true

id:
  v: OperationDefinition.parameter
path:
  v: OperationDefinition.parameter
short:
  v: Parameters for the operation/query
definition:
  v: The parameters for the operation/query.
comment:
  v: Query Definitions only have one output parameter, named "result". This may not be described, but can be to allow a profile to be defined.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.parameter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: opd-1
  severity:
    v: error
  human:
    v: Either a type must be provided, or parts
  expression:
    v: type.exists() or part.exists()
  xpath:
    v: exists(f:type) or exists(f:part)
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    l: OperationDefinition
constraint:
  key:
    v: opd-2
  severity:
    v: error
  human:
    v: A search type can only be specified for parameters of type string
  expression:
    v: searchType implies type = 'string'
  xpath:
    v: not(exists(f:searchType)) or (f:type/@value = 'string')
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    l: OperationDefinition

id:
  v: OperationDefinition.parameter.id
path:
  v: OperationDefinition.parameter.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.extension
path:
  v: OperationDefinition.parameter.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.parameter.extension:referencedFrom
path:
  v: OperationDefinition.parameter.extension
slice name:
  v: referencedFrom
short:
  v: R4B: References to this parameter (new)
definition:
  v: R4B: `OperationDefinition.parameter.referencedFrom` (new:BackboneElement)
comment:
  v: Element `OperationDefinition.parameter.referencedFrom` has a context of OperationDefinition.parameter based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.parameter.referencedFrom` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Resolution applies if the referenced parameter exists.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.referencedFrom|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.referencedFrom
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.parameter.modifierExtension
path:
  v: OperationDefinition.parameter.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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 that contains it. Usually modifier elements provide negation or qualification. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.parameter.name
path:
  v: OperationDefinition.parameter.name
short:
  v: Name in Parameters.parameter.name or in URL
definition:
  v: The name of used to identify the parameter.
comment:
  v: 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:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: OperationDefinition.parameter.use
path:
  v: OperationDefinition.parameter.use
short:
  v: in | out
definition:
  v: Whether this is an input or an output parameter.
comment:
  v: If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.use
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: OperationParameterUse
  strength:
    v: required
  description:
    v: Whether an operation parameter is an input or an output parameter.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/operation-parameter-use|3.0.2

id:
  v: OperationDefinition.parameter.min
path:
  v: OperationDefinition.parameter.min
short:
  v: Minimum Cardinality
definition:
  v: The minimum number of times this parameter SHALL appear in the request or response.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.min
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: integer
    l: integer

id:
  v: OperationDefinition.parameter.max
path:
  v: OperationDefinition.parameter.max
short:
  v: Maximum Cardinality (a number or *)
definition:
  v: The maximum number of times this element is permitted to appear in the request or response.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.max
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.parameter.documentation
path:
  v: OperationDefinition.parameter.documentation
short:
  v: Description of meaning/use
definition:
  v: Describes the meaning or use of this parameter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.parameter.type
path:
  v: OperationDefinition.parameter.type
short:
  v: What type this parameter has
definition:
  v: The type for this parameter.
comment:
  v: if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
condition:
  v: opd-1
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: FHIRAllTypes
  strength:
    v: required
  description:
    v: Either an abstract type, a resource or a data type.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/all-types|3.0.2

id:
  v: OperationDefinition.parameter.type.id
path:
  v: OperationDefinition.parameter.type.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.parameter.type.extension
path:
  v: OperationDefinition.parameter.type.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.parameter.type.extension:type
path:
  v: OperationDefinition.parameter.type.extension
slice name:
  v: type
short:
  v: R4B: type additional codes
definition:
  v: R4B: `OperationDefinition.parameter.type` additional codes
comment:
  v: Element `OperationDefinition.parameter.type` is mapped to FHIR STU3 element `OperationDefinition.parameter.type` as `RelatedTo`. The mappings for `OperationDefinition.parameter.type` do not allow expression of the necessary codes, per the bindings on the source and target. if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.type|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.type
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.parameter.type.value
path:
  v: OperationDefinition.parameter.type.value
representation:
  v: xmlAttr
short:
  v: Primitive value for code
definition:
  v: Primitive value for code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: string.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: [^\s]+([\s]?[^\s]+)*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:token
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:token

id:
  v: OperationDefinition.parameter.searchType
path:
  v: OperationDefinition.parameter.searchType
short:
  v: number | date | string | token | reference | composite | quantity | uri
definition:
  v: How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.searchType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
condition:
  v: opd-2
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SearchParamType
  strength:
    v: required
  description:
    v: Data types allowed to be used for search parameters.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/search-param-type|3.0.2

id:
  v: OperationDefinition.parameter.searchType.id
path:
  v: OperationDefinition.parameter.searchType.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.parameter.searchType.extension
path:
  v: OperationDefinition.parameter.searchType.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.parameter.searchType.extension:searchType
path:
  v: OperationDefinition.parameter.searchType.extension
slice name:
  v: searchType
short:
  v: R4B: number | date | string | token | reference | composite | quantity | uri | special
definition:
  v: R4B: `OperationDefinition.parameter.searchType`
comment:
  v: Element `OperationDefinition.parameter.searchType` is mapped to FHIR STU3 element `OperationDefinition.parameter.searchType` as `SourceIsBroaderThanTarget`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.searchType|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.searchType
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: OperationDefinition.parameter.searchType.value
path:
  v: OperationDefinition.parameter.searchType.value
representation:
  v: xmlAttr
short:
  v: Primitive value for code
definition:
  v: Primitive value for code
min:
  v: 0
max:
  v: 1
base:
  path:
    v: string.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: [^\s]+([\s]?[^\s]+)*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:token
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:token

id:
  v: OperationDefinition.parameter.profile
path:
  v: OperationDefinition.parameter.profile
short:
  v: Profile on the type
definition:
  v: A profile the specifies the rules that this parameter must conform to.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.profile
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/StructureDefinition
    l: StructureDefinition

id:
  v: OperationDefinition.parameter.profile.id
path:
  v: OperationDefinition.parameter.profile.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.profile.extension
path:
  v: OperationDefinition.parameter.profile.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: OperationDefinition.parameter.profile.extension:targetProfile
path:
  v: OperationDefinition.parameter.profile.extension
slice name:
  v: targetProfile
short:
  v: R4B: If type is Reference | canonical, allowed targets additional types
definition:
  v: R4B: `OperationDefinition.parameter.targetProfile` additional types (canonical(http://hl7.org/fhir/StructureDefinition/StructureDefinition)) additional types from child elements (value)
comment:
  v: Element `OperationDefinition.parameter.targetProfile` is mapped to FHIR STU3 element `OperationDefinition.parameter.profile` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.parameter.targetProfile` do not cover the following types: canonical. The mappings for `OperationDefinition.parameter.targetProfile` do not cover the following types based on type expansion: value. Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.targetProfile|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.targetProfile

id:
  v: OperationDefinition.parameter.profile.reference
path:
  v: OperationDefinition.parameter.profile.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.parameter.profile.identifier
path:
  v: OperationDefinition.parameter.profile.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: OperationDefinition.parameter.profile.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: OperationDefinition.parameter.profile.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.parameter.binding
path:
  v: OperationDefinition.parameter.binding
short:
  v: ValueSet details if this is coded
definition:
  v: Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.binding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: OperationDefinition.parameter.binding.id
path:
  v: OperationDefinition.parameter.binding.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.binding.extension
path:
  v: OperationDefinition.parameter.binding.extension
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.binding.modifierExtension
path:
  v: OperationDefinition.parameter.binding.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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 that contains it. Usually modifier elements provide negation or qualification. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.parameter.binding.strength
path:
  v: OperationDefinition.parameter.binding.strength
short:
  v: required | extensible | preferred | example
definition:
  v: 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:
  v: For further discussion, see [Using Terminologies](http://hl7.org/fhir/STU3/terminologies.html).
alias:
  v: conformance
alias:
  v: extensibility
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.binding.strength
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: BindingStrength
  strength:
    v: required
  description:
    v: Indication of the degree of conformance expectations associated with a binding.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/binding-strength|3.0.2

id:
  v: OperationDefinition.parameter.binding.valueSet[x]
path:
  v: OperationDefinition.parameter.binding.valueSet[x]
short:
  v: Source of value set
definition:
  v: Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used.
comment:
  v: For value sets with a referenceResource, the display can contain the value set description. The reference may be version-specific or not.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.binding.valueSet[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ValueSet
    l: ValueSet

id:
  v: OperationDefinition.parameter.part
path:
  v: OperationDefinition.parameter.part
short:
  v: Parts of a nested Parameter
definition:
  v: The parts of a nested Parameter.
comment:
  v: Query Definitions only have one output parameter, named "result". This may not be described, but can be to allow a profile to be defined.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/OperationDefinition#OperationDefinition.parameter
  l: OperationDefinition.parameter
condition:
  v: opd-1

id:
  v: OperationDefinition.overload
path:
  v: OperationDefinition.overload
short:
  v: Define overloaded variants for when generating code
definition:
  v: 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:
  v: The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.overload
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: OperationDefinition.overload.id
path:
  v: OperationDefinition.overload.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.overload.extension
path:
  v: OperationDefinition.overload.extension
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.overload.modifierExtension
path:
  v: OperationDefinition.overload.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: 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 that contains it. Usually modifier elements provide negation or qualification. In order 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.
comment:
  v: 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:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.overload.parameterName
path:
  v: OperationDefinition.overload.parameterName
short:
  v: Name of parameter to include in overload
definition:
  v: Name of parameter to include in overload.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.overload.parameterName
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: OperationDefinition.overload.comment
path:
  v: OperationDefinition.overload.comment
short:
  v: Comments to go on overload
definition:
  v: Comments to go on overload.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.overload.comment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: OperationDefinition
  path:
    v: OperationDefinition
element:
  id:
    v: OperationDefinition.meta.extension
  path:
    v: OperationDefinition.meta.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: OperationDefinition.meta.extension:meta
  path:
    v: OperationDefinition.meta.extension
  slice name:
    v: meta
  short:
    v: R4B: meta additional types
  definition:
    v: R4B: `OperationDefinition.meta` additional types (Meta) additional types from child elements (lastUpdated, profile, security, source, tag, versionId)
  comment:
    v: Element `OperationDefinition.meta` is mapped to FHIR STU3 element `OperationDefinition.meta` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.meta` do not cover the following types: Meta. The mappings for `OperationDefinition.meta` do not cover the following types based on type expansion: lastUpdated, profile, security, source, tag, versionId.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.meta|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.meta
element:
  id:
    v: OperationDefinition.text.extension
  path:
    v: OperationDefinition.text.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: OperationDefinition.text.extension:text
  path:
    v: OperationDefinition.text.extension
  slice name:
    v: text
  short:
    v: R4B: text additional types
  definition:
    v: R4B: `OperationDefinition.text` additional types (Narrative) additional types from child elements (div, status)
  comment:
    v: Element `OperationDefinition.text` is mapped to FHIR STU3 element `OperationDefinition.text` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.text` do not cover the following types: Narrative. The mappings for `OperationDefinition.text` do not cover the following types based on type expansion: div, status. 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.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.text|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.text
element:
  id:
    v: OperationDefinition.extension
  path:
    v: OperationDefinition.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: OperationDefinition.extension:title
  path:
    v: OperationDefinition.extension
  slice name:
    v: title
  short:
    v: R4B: Name for this operation definition (human friendly) (new)
  definition:
    v: R4B: `OperationDefinition.title` (new:string)
  comment:
    v: Element `OperationDefinition.title` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.title` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.title|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.title
element:
  id:
    v: OperationDefinition.extension:inputProfile
  path:
    v: OperationDefinition.extension
  slice name:
    v: inputProfile
  short:
    v: R4B: Validation information for in parameters (new)
  definition:
    v: R4B: `OperationDefinition.inputProfile` (new:canonical(StructureDefinition))
  comment:
    v: Element `OperationDefinition.inputProfile` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.inputProfile` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.inputProfile|0.1.0
      l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.inputProfile
element:
  id:
    v: OperationDefinition.extension:outputProfile
  path:
    v: OperationDefinition.extension
  slice name:
    v: outputProfile
  short:
    v: R4B: Validation information for out parameters (new)
  definition:
    v: R4B: `OperationDefinition.outputProfile` (new:canonical(StructureDefinition))
  comment:
    v: Element `OperationDefinition.outputProfile` has a context of OperationDefinition based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.outputProfile` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). 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:
    v: 0

v: 1

path:
  v: DomainResource.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension
profile:
  v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.outputProfile|0.1.0
  l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.outputProfile

id:
  v: OperationDefinition.contact.extension
path:
  v: OperationDefinition.contact.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.contact.extension:contact
path:
  v: OperationDefinition.contact.extension
slice name:
  v: contact
short:
  v: R4B: contact additional types
definition:
  v: R4B: `OperationDefinition.contact` additional types (ContactDetail) additional types from child elements (name, telecom)
comment:
  v: Element `OperationDefinition.contact` is mapped to FHIR STU3 element `OperationDefinition.contact` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.contact` do not cover the following types: ContactDetail. The mappings for `OperationDefinition.contact` do not cover the following types based on type expansion: name, telecom. May be a web site, an email address, a telephone number, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.contact|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.contact

id:
  v: OperationDefinition.useContext.extension
path:
  v: OperationDefinition.useContext.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.useContext.extension:useContext
path:
  v: OperationDefinition.useContext.extension
slice name:
  v: useContext
short:
  v: R4B: The context that the content is intended to support additional types
definition:
  v: R4B: `OperationDefinition.useContext` additional types (UsageContext) additional types from child elements (code, value[x])
comment:
  v: Element `OperationDefinition.useContext` is mapped to FHIR STU3 element `OperationDefinition.useContext` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.useContext` do not cover the following types: UsageContext. The mappings for `OperationDefinition.useContext` do not cover the following types based on type expansion: code, value[x]. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.useContext|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.useContext

id:
  v: OperationDefinition.base.extension
path:
  v: OperationDefinition.base.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.base.extension:base
path:
  v: OperationDefinition.base.extension
slice name:
  v: base
short:
  v: R4B: base additional types
definition:
  v: R4B: `OperationDefinition.base` additional types (canonical(http://hl7.org/fhir/StructureDefinition/OperationDefinition)) additional types from child elements (value)
comment:
  v: Element `OperationDefinition.base` is mapped to FHIR STU3 element `OperationDefinition.base` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.base` do not cover the following types: canonical. The mappings for `OperationDefinition.base` do not cover the following types based on type expansion: value. A constrained profile can make optional parameters required or not used and clarify documentation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.base|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.base

id:
  v: OperationDefinition.resource.extension
path:
  v: OperationDefinition.resource.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.resource.extension:resource
path:
  v: OperationDefinition.resource.extension
slice name:
  v: resource
short:
  v: R4B: resource additional codes
definition:
  v: R4B: `OperationDefinition.resource` additional codes
comment:
  v: Element `OperationDefinition.resource` is mapped to FHIR STU3 element `OperationDefinition.resource` as `RelatedTo`. The mappings for `OperationDefinition.resource` do not allow expression of the necessary codes, per the bindings on the source and target. If the type is an abstract resource ("Resource" or "DomainResource") then the operation can be invoked on any concrete specialization.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.resource|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.resource

id:
  v: OperationDefinition.parameter.extension
path:
  v: OperationDefinition.parameter.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.parameter.extension:referencedFrom
path:
  v: OperationDefinition.parameter.extension
slice name:
  v: referencedFrom
short:
  v: R4B: References to this parameter (new)
definition:
  v: R4B: `OperationDefinition.parameter.referencedFrom` (new:BackboneElement)
comment:
  v: Element `OperationDefinition.parameter.referencedFrom` has a context of OperationDefinition.parameter based on following the parent source element upwards and mapping to `OperationDefinition`. Element `OperationDefinition.parameter.referencedFrom` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Resolution applies if the referenced parameter exists.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.referencedFrom|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.referencedFrom

id:
  v: OperationDefinition.parameter.type.extension
path:
  v: OperationDefinition.parameter.type.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.parameter.type.extension:type
path:
  v: OperationDefinition.parameter.type.extension
slice name:
  v: type
short:
  v: R4B: type additional codes
definition:
  v: R4B: `OperationDefinition.parameter.type` additional codes
comment:
  v: Element `OperationDefinition.parameter.type` is mapped to FHIR STU3 element `OperationDefinition.parameter.type` as `RelatedTo`. The mappings for `OperationDefinition.parameter.type` do not allow expression of the necessary codes, per the bindings on the source and target. if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.type|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.type

id:
  v: OperationDefinition.parameter.searchType.extension
path:
  v: OperationDefinition.parameter.searchType.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.parameter.searchType.extension:searchType
path:
  v: OperationDefinition.parameter.searchType.extension
slice name:
  v: searchType
short:
  v: R4B: number | date | string | token | reference | composite | quantity | uri | special
definition:
  v: R4B: `OperationDefinition.parameter.searchType`
comment:
  v: Element `OperationDefinition.parameter.searchType` is mapped to FHIR STU3 element `OperationDefinition.parameter.searchType` as `SourceIsBroaderThanTarget`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.searchType|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.searchType

id:
  v: OperationDefinition.parameter.profile.extension
path:
  v: OperationDefinition.parameter.profile.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: OperationDefinition.parameter.profile.extension:targetProfile
path:
  v: OperationDefinition.parameter.profile.extension
slice name:
  v: targetProfile
short:
  v: R4B: If type is Reference | canonical, allowed targets additional types
definition:
  v: R4B: `OperationDefinition.parameter.targetProfile` additional types (canonical(http://hl7.org/fhir/StructureDefinition/StructureDefinition)) additional types from child elements (value)
comment:
  v: Element `OperationDefinition.parameter.targetProfile` is mapped to FHIR STU3 element `OperationDefinition.parameter.profile` as `SourceIsBroaderThanTarget`. The mappings for `OperationDefinition.parameter.targetProfile` do not cover the following types: canonical. The mappings for `OperationDefinition.parameter.targetProfile` do not cover the following types based on type expansion: value. Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.targetProfile|0.1.0
    l: http://hl7.org/fhir/4.3/StructureDefinition/extension-OperationDefinition.parameter.targetProfile