ee-spd-operation-definition
type: StructureDefinition
node role: treeRoot
id:
  v: ee-spd-operation-definition
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ee-spd-operation-definition 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 Interfaces Implemented: CanonicalResource #xD; contained 0..0 Contained, inline Resources #xD; extension 0..0 Extension #xD; modifierExtension 0..0 Extension #xD; url 1..1 uri Canonical identifier of this operation definition. #xD; version 1..1 string Business version of the operation definition #xD; title 1..1 string Name for this operation definition (human friendly) #xD; kind 1..1 code SPD kirjeldab ainult operatsioone (operation), mitte päringuid (query). Required Pattern: operation #xD; date 1..1 dateTime Date last changed #xD; publisher 1..1 string Name of the publisher/steward (organization or individual) #xD; contact 1..* ContactDetail Contact details for the publisher #xD; description 1..1 markdown Operatsiooni kirjeldus. #xD; useContext 0..0 The context that the content is intended to support #xD; code 1..1 code Operatsiooni kood, mille alusel operatsiooni käivitatakse (nt `$lookup` korral 'lookup'). #xD; base 0..0 Marks this as a profile of the base #xD; resource 1..* code Ressursi tüüp(id), millele operatsioon rakendub, nt PractitionerRole. #xD; inputProfile 0..0 Validation information for in parameters #xD; outputProfile 0..0 Validation information for out parameters #xD; parameter 1..* BackboneElement Operatsiooni sisend- ja väljundparameetrid. #xD; id 0..0 Unique id for inter-element referencing #xD; extension 0..0 Extension #xD; modifierExtension 0..0 Extension #xD; scope 0..0 instance | type | system #xD; documentation 1..1 markdown Parameetri kirjeldus. (ee Parameetri kirjeldus.) #xD; type 1..1 code What type this parameter has #xD; allowedType 0..0 Allowed sub-type this parameter can have (if type is abstract) #xD; targetProfile 0..0 If type is Reference | canonical, allowed targe…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-implements
  value: uri
    v: http://hl7.org/fhir/StructureDefinition/CanonicalResource
url:
  v: https://fhir.ee/spd/StructureDefinition/ee-spd-operation-definition
version:
  v: 0.2.0
name:
  v: EESPDOperationDefinition
title:
  v: EE SPD OperationDefinition
status:
  v: draft
date:
  v: 2026-08-06T00:00:00+00:00
publisher:
  v: TEHIK
contact:
  name:
    v: TEHIK
  telecom:
    system:
      v: url
    value:
      v: https://tehik.ee
  telecom:
    system:
      v: email
description:
  v: Kirjeldab SPD poolt toetatud custom operatsiooni (nt PractitionerRole `$lookup`). Describes a custom operation supported by SPD, used for FHIR API discovery.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
    code:
      v: EST
    display:
      v: Estonia
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: objimpl
  uri:
    v: http://hl7.org/fhir/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
  link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 5.0.0
  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: cnl-0
      severity:
        v: warning
      human:
        v: Name should be usable as an identifier for the module by machine processing applications such as code generation
      expression:
        v: name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
      source:
        v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
        link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    constraint:
      key:
        v: opd-5
      severity:
        v: error
      human:
        v: A query operation cannot be defined at the instance level
      expression:
        v: (kind = 'query') implies (instance = false)
      source:
        v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
        link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    constraint:
      key:
        v: opd-6
      severity:
        v: error
      human:
        v: A query operation requires input parameters to have a search type
      expression:
        v: (kind = 'query') implies (parameter.all((use = 'in' and searchType.exists()) or (use != 'in')))
      source:
        v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
        link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    constraint:
      key:
        v: opd-7
      severity:
        v: error
      human:
        v: Named queries always have a single output parameter named 'result' of type Bundle
      expression:
        v: (kind = 'query') implies ((parameter.where(use = 'out').count() = 1) and (parameter.where(use = 'out').all(name = 'result' and type = 'Bundle')))
      source:
        v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
        link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: w5
      map:
        v: conformance.behavior
    mapping:
      identity:
        v: workflow
      map:
        v: Definition
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    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: Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.id

v: 0

v: 1

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
  value: url
    v: id
code:
  v: http://hl7.org/fhirpath/System.String

v: false

v: false

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 might 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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: Language
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|5.0.0
    link: 5.0
    link: .0
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|5.0.0
      link: 5.0
      link: .0

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 can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  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
condition:
  v: dom-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

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, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.
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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: 0
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
condition:
  v: dom-2
condition:
  v: dom-4
condition:
  v: dom-3
condition:
  v: dom-5
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.extension
path:
  v: OperationDefinition.extension
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 0
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.modifierExtension
path:
  v: OperationDefinition.modifierExtension
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 0
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: true

id:
  v: OperationDefinition.url
path:
  v: OperationDefinition.url
short:
  v: Canonical identifier of this operation definition.
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; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition is stored on different servers.
comment:
  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. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](http://hl7.org/fhir/R5/resource.html#versions). In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](http://hl7.org/fhir/R5/resource.html#meta) element to indicate where the current master source of the resource can be found.
requirements:
  v: Allows the operation definition to be referenced by a single globally unique identifier.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.url
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: cnl-1
  severity:
    v: warning
  human:
    v: URL should not contain | or # - these characters make processing canonical references problematic
  expression:
    v: exists() implies matches('^[^|# ]+$')
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.url
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier

id:
  v: OperationDefinition.identifier
path:
  v: OperationDefinition.identifier
short:
  v: Additional identifier for the implementation guide (business identifier)
definition:
  v: A formal identifier that is used to identify this implementation guide when it is represented in other formats, or referenced in a specification, model, design or an instance.
requirements:
  v: Allows externally provided and/or usable business identifiers to be easily associated with the module.
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier

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 definitions that have the same url but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the operation definition with the format. The version SHOULD NOT contain a '#' - see [Business Version](http://hl7.org/fhir/R5/resource.html#bv-format).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.version
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.version

id:
  v: OperationDefinition.versionAlgorithm[x]
path:
  v: OperationDefinition.versionAlgorithm[x]
short:
  v: How to compare versions
definition:
  v: Indicates the mechanism used to compare versions to determine which is more current.
comment:
  v: If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.versionAlgorithm[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
type:
  code:
    v: Coding
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: extensible
  value set:
    v: http://hl7.org/fhir/ValueSet/version-algorithm|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Definition.versionAlgorithm

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 alphanumeric type no-whitespace name to ensure that it is machine-processing friendly.
requirements:
  v: Support code generation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
condition:
  v: cnl-0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.name

id:
  v: OperationDefinition.title
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.title
short:
  v: Name for this operation definition (human friendly)
definition:
  v: A short, descriptive, user-friendly title for the operation definition.
comment:
  v: This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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 current state of this operation definition.
comment:
  v: A nominal state-transition diagram can be found in the] documentation Unknown does not represent 'other' - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.
requirements:
  v: Enables tracking the lifecycle of the content and filtering of operation definitions that are appropriate for use versus not. See guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This is labeled as "Is Modifier" because applications should not use a retired {{title}} without due consideration
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: PublicationStatus
  strength:
    v: required
  description:
    v: The lifecycle status of an artifact.
  value set:
    v: http://hl7.org/fhir/ValueSet/publication-status|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Definition.status {different ValueSet}
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status

id:
  v: OperationDefinition.kind
path:
  v: OperationDefinition.kind
short:
  v: SPD kirjeldab ainult operatsioone (operation), mitte päringuid (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
pattern: code
  v: operation
condition:
  v: opd-5
condition:
  v: opd-6
condition:
  v: opd-7
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: OperationKind
  strength:
    v: required
  description:
    v: Whether an operation is a normal operation or a query.
  value set:
    v: http://hl7.org/fhir/ValueSet/operation-kind|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.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 for genuine usage.
comment:
  v: Allows filtering of operation definitions that are appropriate for use versus not.
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
meaning when missing:
  v: If absent, this resource is treated as though it is not experimental.
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.experimental
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class

id:
  v: OperationDefinition.date
path:
  v: OperationDefinition.date
short:
  v: Date last changed
definition:
  v: The date (and optionally time) when the operation definition was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the operation definition changes.
comment:
  v: The date is often not tracked until the resource is published, but may be present on draft content. 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. See guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).
alias:
  v: Revision Date
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.date
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded

id:
  v: OperationDefinition.publisher
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.publisher
short:
  v: Name of the publisher/steward (organization or individual)
definition:
  v: The name of the organization or individual responsible for the release and ongoing maintenance of 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: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.publisher
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.publisher
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.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. See guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).
min:
  v: 1
max:
  v: *
base:
  path:
    v: OperationDefinition.contact
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: ContactDetail
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.contact

id:
  v: OperationDefinition.description
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.description
short:
  v: Operatsiooni kirjeldus.
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 comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the operation definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the operation definition is presumed to be the predominant language in the place the operation definition was created).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Definition.description

id:
  v: OperationDefinition.useContext
path:
  v: OperationDefinition.useContext
short:
  v: The context that 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 contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate operation definition.
comment:
  v: When multiple useContexts are specified, there is no expectation that all or even any of the contexts apply.
requirements:
  v: Assist in searching for appropriate content.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.useContext
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: UsageContext
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.useContext

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. DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)
min:
  v: 0
max:
  v: *
base:
  path:
    v: OperationDefinition.jurisdiction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: Jurisdiction
  strength:
    v: extensible
  description:
    v: Countries and regions within which this artifact is targeted for use.
  value set:
    v: http://hl7.org/fhir/ValueSet/jurisdiction|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Definition.jurisdiction

id:
  v: OperationDefinition.purpose
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.purpose
short:
  v: Why this operation definition is defined
definition:
  v: Explanation 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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Definition.purpose
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base

id:
  v: OperationDefinition.copyright
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.copyright
short:
  v: Use and/or publishing restrictions
definition:
  v: A copyright statement relating to the operation definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the operation definition.
requirements:
  v: Consumers of the operation definition must be able to determine any legal restrictions on the use of the artifact and/or its content.
alias:
  v: License
alias:
  v: Restrictions
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.copyright
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Definition.copyright
mapping:
  identity:
    v: objimpl
  map:
    v: no-gen-base

id:
  v: OperationDefinition.copyrightLabel
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.copyrightLabel
short:
  v: Copyright holder and year(s)
definition:
  v: A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').
comment:
  v: The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.
requirements:
  v: Defines the content expected to be rendered in all representations of the artifact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.copyrightLabel
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Definition.copyrightLabel

id:
  v: OperationDefinition.affectsState
path:
  v: OperationDefinition.affectsState
short:
  v: Whether content is changed by the operation
definition:
  v: Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting state'.
comment:
  v: What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex: 1. Servers SHALL support POST method for all operations. 2. Servers SHALL support the GET method when the operation has affectsState = false and all required parameters for the operation are primitive.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.affectsState
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: OperationDefinition.code
path:
  v: OperationDefinition.code
short:
  v: Operatsiooni kood, mille alusel operatsiooni käivitatakse (nt `$lookup` korral 'lookup').
definition:
  v: The label that is recommended to be used in the URL for this operation. In some cases, servers may need to use a different CapabilityStatement operation.name to differentiate between multiple SearchParameters that happen to have the same code.
comment:
  v: For maximum compatibility, use only lowercase ASCII characters. Note that HL7 will never define multiple operations with the same code. See [Naming Rules & Guidelines](https://confluence.hl7.org/display/FHIR/Guide+to+Designing+Resources#GuidetoDesigningResources-NamingRules&Guidelines) for the internal HL7 rules around codes, which are useful additional advice for all implementers
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.code

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: markdown
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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, introduce new parameters (required or optional), and clarify documentation.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.base
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition|5.0.0
    link: 5.0
    link: .0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Definition.derivedFromCanonical

id:
  v: OperationDefinition.resource
path:
  v: OperationDefinition.resource
short:
  v: Ressursi tüüp(id), millele operatsioon rakendub, nt PractitionerRole.
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: 1
max:
  v: *
base:
  path:
    v: OperationDefinition.resource
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: FHIRTypes
  strength:
    v: required
  description:
    v: A type of resource, or a Reference (from all versions)
  value set:
    v: http://hl7.org/fhir/ValueSet/version-independent-all-resource-types|5.0.0
    link: 5.0
    link: .0
  additional:
    purpose:
      v: ui
    value set:
      v: http://hl7.org/fhir/ValueSet/all-resource-types|5.0.0
      link: 5.0
      link: .0

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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: OperationDefinition.type
path:
  v: OperationDefinition.type
short:
  v: Invoke 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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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
condition:
  v: opd-5
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: OperationDefinition.inputProfile
path:
  v: OperationDefinition.inputProfile
short:
  v: Validation information for in parameters
definition:
  v: Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole.
comment:
  v: 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: 0
base:
  path:
    v: OperationDefinition.inputProfile
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/StructureDefinition|5.0.0
    link: 5.0
    link: .0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.outputProfile
path:
  v: OperationDefinition.outputProfile
short:
  v: Validation information for out parameters
definition:
  v: Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource.
comment:
  v: 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: 0
base:
  path:
    v: OperationDefinition.outputProfile
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/StructureDefinition|5.0.0
    link: 5.0
    link: .0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter
path:
  v: OperationDefinition.parameter
short:
  v: Operatsiooni sisend- ja väljundparameetrid.
definition:
  v: The parameters for the operation/query.
comment:
  v: Query Definitions only have one output parameter, named "result". This might not be described, but can be to allow a profile to be defined.
min:
  v: 1
max:
  v: *
base:
  path:
    v: OperationDefinition.parameter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
condition:
  v: opd-7
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/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.exists() implies type = 'string'
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: opd-3
  severity:
    v: error
  human:
    v: A targetProfile can only be specified for parameters of type Reference, Canonical, or a Resource
  expression:
    v: targetProfile.exists() implies (type = 'Reference' or type = 'canonical' or type.memberOf('http://hl7.org/fhir/ValueSet/resource-types'))
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: opd-4
  severity:
    v: error
  human:
    v: SearchParamType can only be specified on in parameters
  expression:
    v: (use = 'out') implies searchType.empty()
  source:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.id
path:
  v: OperationDefinition.parameter.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
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: 0
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.extension
path:
  v: OperationDefinition.parameter.extension
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.modifierExtension
path:
  v: OperationDefinition.parameter.modifierExtension
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 0
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true

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
condition:
  v: opd-7
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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
condition:
  v: opd-6
condition:
  v: opd-7
condition:
  v: opd-4
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: OperationParameterUse
  strength:
    v: required
  description:
    v: Whether an operation parameter is an input or an output parameter.
  value set:
    v: http://hl7.org/fhir/ValueSet/operation-parameter-use|5.0.0
    link: 5.0
    link: .0

id:
  v: OperationDefinition.parameter.scope
path:
  v: OperationDefinition.parameter.scope
short:
  v: instance | type | system
definition:
  v: If present, indicates that the parameter applies when the operation is being invoked at the specified level.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.scope
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
meaning when missing:
  v: If no scope is indicated, it is assumed that the parameter is relevant whenever the operation is invoked.
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: OperationParameterScope
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/operation-parameter-scope|5.0.0
    link: 5.0
    link: .0

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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.documentation
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: OperationDefinition.parameter.documentation
short:
  v: Parameetri kirjeldus. (ee Parameetri kirjeldus.)
definition:
  v: Describes the meaning or use of this parameter.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
condition:
  v: opd-7
condition:
  v: opd-1
condition:
  v: opd-2
condition:
  v: opd-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: FHIRAllTypes
  strength:
    v: required
  description:
    v: A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.
  value set:
    v: http://hl7.org/fhir/ValueSet/fhir-types|5.0.0
    link: 5.0
    link: .0

id:
  v: OperationDefinition.parameter.allowedType
path:
  v: OperationDefinition.parameter.allowedType
short:
  v: Allowed sub-type this parameter can have (if type is abstract)
definition:
  v: Support for polymorphic types. If the parameter type is abstract, this element lists allowed sub-types for the parameter.
comment:
  v: In previous versions of FHIR, there was an extension for this: http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.allowedType
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: FHIRAllTypes
  strength:
    v: required
  description:
    v: A list of all the types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types.
  value set:
    v: http://hl7.org/fhir/ValueSet/fhir-types|5.0.0
    link: 5.0
    link: .0

id:
  v: OperationDefinition.parameter.targetProfile
path:
  v: OperationDefinition.parameter.targetProfile
short:
  v: If type is Reference | canonical, allowed targets. If type is 'Resource', then this constrains the allowed resource types
definition:
  v: Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.
comment:
  v: Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.targetProfile
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/StructureDefinition|5.0.0
    link: 5.0
    link: .0
condition:
  v: opd-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.searchType
path:
  v: OperationDefinition.parameter.searchType
short:
  v: number | date | string | token | reference | composite | quantity | uri | special
definition:
  v: How the parameter is understood if/when it used as search parameter. This is only used if the parameter is a string.
comment:
  v: Parameters that are search parameter usually - but not always - are also defined for use with general searches, and function in the operation to filter the set of resources in scope for the operation just like the do when searching. The searchType describes how the server processes the value. For an example, see the [Evaluate Measure Operation](http://hl7.org/fhir/R5/measure-operation-evaluate-measure.html)
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.searchType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
condition:
  v: opd-6
condition:
  v: opd-2
condition:
  v: opd-4
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: SearchParamType
  strength:
    v: required
  description:
    v: Data types allowed to be used for search parameters.
  value set:
    v: http://hl7.org/fhir/ValueSet/search-param-type|5.0.0
    link: 5.0
    link: .0

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: 0
base:
  path:
    v: OperationDefinition.parameter.binding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.binding.id
path:
  v: OperationDefinition.parameter.binding.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
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:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
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. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
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 even if unrecognized
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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
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/R5/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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: BindingStrength
  strength:
    v: required
  description:
    v: Indication of the degree of conformance expectations associated with a binding.
  value set:
    v: http://hl7.org/fhir/ValueSet/binding-strength|5.0.0
    link: 5.0
    link: .0

id:
  v: OperationDefinition.parameter.binding.valueSet
path:
  v: OperationDefinition.parameter.binding.valueSet
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
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ValueSet|5.0.0
    link: 5.0
    link: .0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.referencedFrom
path:
  v: OperationDefinition.parameter.referencedFrom
short:
  v: References to this parameter
definition:
  v: Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.
comment:
  v: Resolution applies if the referenced parameter exists.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.referencedFrom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.referencedFrom.id
path:
  v: OperationDefinition.parameter.referencedFrom.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
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:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.referencedFrom.extension
path:
  v: OperationDefinition.parameter.referencedFrom.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. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: OperationDefinition.parameter.referencedFrom.modifierExtension
path:
  v: OperationDefinition.parameter.referencedFrom.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: OperationDefinition.parameter.referencedFrom.source
path:
  v: OperationDefinition.parameter.referencedFrom.source
short:
  v: Referencing parameter
definition:
  v: The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.referencedFrom.source
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.parameter.referencedFrom.sourceId
path:
  v: OperationDefinition.parameter.referencedFrom.sourceId
short:
  v: Element id of reference
definition:
  v: The id of the element in the referencing resource that is expected to resolve to this resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: OperationDefinition.parameter.referencedFrom.sourceId
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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 might not be described, but can be to allow a profile to be defined.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: OperationDefinition.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/OperationDefinition#OperationDefinition.parameter
condition:
  v: opd-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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: 0
base:
  path:
    v: OperationDefinition.overload
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: OperationDefinition.overload.id
path:
  v: OperationDefinition.overload.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
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:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
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. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
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 even if unrecognized
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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
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.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

element:
  id:
    v: OperationDefinition
  path:
    v: OperationDefinition
element:
  id:
    v: OperationDefinition.contained
  path:
    v: OperationDefinition.contained
  max:
    v: 0
element:
  id:
    v: OperationDefinition.extension
  path:
    v: OperationDefinition.extension
  max:
    v: 0
element:
  id:
    v: OperationDefinition.modifierExtension
  path:
    v: OperationDefinition.modifierExtension
  max:
    v: 0
element:
  id:
    v: OperationDefinition.url
  path:
    v: OperationDefinition.url
  short:
    v: Canonical identifier of this operation definition.
  min:
    v: 1
element:
  id:
    v: OperationDefinition.version
  path:
    v: OperationDefinition.version
  min:
    v: 1
element:
  id:
    v: OperationDefinition.title
  path:
    v: OperationDefinition.title
  min:
    v: 1
element:
  id:
    v: OperationDefinition.kind
  path:
    v: OperationDefinition.kind
  short:
    v: SPD kirjeldab ainult operatsioone (operation), mitte päringuid (query).
  pattern: code
    v: operation
element:
  id:
    v: OperationDefinition.date
  path:
    v: OperationDefinition.date
  min:
    v: 1
element:
  id:
    v: OperationDefinition.publisher
  path:
    v: OperationDefinition.publisher
  min:
    v: 1
element:
  id:
    v: OperationDefinition.contact
  path:
    v: OperationDefinition.contact
  min:
    v: 1
element:
  id:
    v: OperationDefinition.description
  path:
    v: OperationDefinition.description
  short:
    v: Operatsiooni kirjeldus.
  min:
    v: 1
element:
  id:
    v: OperationDefinition.useContext
  path:
    v: OperationDefinition.useContext
  max:
    v: 0
element:
  id:
    v: OperationDefinition.code
  path:
    v: OperationDefinition.code
  short:
    v: Operatsiooni kood, mille alusel operatsiooni käivitatakse (nt `$lookup` korral 'lookup').
element:
  id:
    v: OperationDefinition.base
  path:
    v: OperationDefinition.base
  max:
    v: 0
element:
  id:
    v: OperationDefinition.resource
  path:
    v: OperationDefinition.resource
  short:
    v: Ressursi tüüp(id), millele operatsioon rakendub, nt PractitionerRole.
  min:
    v: 1
element:
  id:
    v: OperationDefinition.inputProfile
  path:
    v: OperationDefinition.inputProfile
  max:
    v: 0
element:
  id:
    v: OperationDefinition.outputProfile
  path:
    v: OperationDefinition.outputProfile
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter
  path:
    v: OperationDefinition.parameter
  short:
    v: Operatsiooni sisend- ja väljundparameetrid.
  min:
    v: 1
element:
  id:
    v: OperationDefinition.parameter.id
  path:
    v: OperationDefinition.parameter.id
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.extension
  path:
    v: OperationDefinition.parameter.extension
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.modifierExtension
  path:
    v: OperationDefinition.parameter.modifierExtension
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.scope
  path:
    v: OperationDefinition.parameter.scope
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.documentation
  path:
    v: OperationDefinition.parameter.documentation
  short:
    v: Parameetri kirjeldus. (ee Parameetri kirjeldus.)
  min:
    v: 1
element:
  id:
    v: OperationDefinition.parameter.type
  path:
    v: OperationDefinition.parameter.type
  min:
    v: 1
element:
  id:
    v: OperationDefinition.parameter.allowedType
  path:
    v: OperationDefinition.parameter.allowedType
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.targetProfile
  path:
    v: OperationDefinition.parameter.targetProfile
  max:
    v: 0
element:
  id:
    v: OperationDefinition.parameter.searchType

v: OperationDefinition.parameter.searchType

v: 0

id:
  v: OperationDefinition.parameter.binding
path:
  v: OperationDefinition.parameter.binding
max:
  v: 0

id:
  v: OperationDefinition.parameter.referencedFrom
path:
  v: OperationDefinition.parameter.referencedFrom
max:
  v: 0

id:
  v: OperationDefinition.parameter.part
path:
  v: OperationDefinition.parameter.part
max:
  v: 0

id:
  v: OperationDefinition.overload
path:
  v: OperationDefinition.overload
max:
  v: 0