ACP-Procedure
type: StructureDefinition
node role: treeRoot
id:
  v: ACP-Procedure
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ACP-Procedure Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Procedure 0..* Zib Procedure(2.1.12) Procedure #xD; code 1..1 CodeableConcept ProcedureType Required Pattern: At least the following #xD; coding 1..* Coding Code defined by a terminology system Fixed Value: (Complex) #xD; system 1..1 uri Identity of the terminology system Fixed Value: http://snomed.info/sct #xD; code 1..1 code Symbol in syntax defined by the system Fixed Value: 713603004 #xD; subject 1..1 Reference(Patient(1.0.0-rc1)) Who the procedure was performed on #xD; context 0..1 Reference(Encounter(1.0.0-rc1)) Encounter or episode associated with the procedure #xD; performer #xD; actor 1..1 Reference(HealthProfessional Practitioner(1.0.0-rc1)) The reference to the practitioner #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Procedure
  l: ACP-Procedure
version:
  v: 1.0.0-rc1
name:
  v: ACPProcedure
title:
  v: Advance Care Planning Procedure
status:
  v: draft
experimental:
  v: false
date:
  v: 2026-02-03T12:30:20+00:00
publisher:
  v: IKNL
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.iknl.nl
description:
  v: Advance Care Planning procedure. Based on nl-core-Procedure-event profile and HCIM Procedure.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
copyright:
  v: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  uri:
    v: https://decor.nictiz.nl/exist/apps/api/dataset/2.16.840.1.113883.2.4.3.11.60.117.1.1/2020-07-29T10%3A37%3A48/$view
    l: https://decor.nictiz.nl/exist/apps/api/dataset/2.16.840.1.113883.2.4.3.11.60.117.1.1/2020-07-29T10%3A37%3A48/$view
  name:
    v: ACP zib2017 dataset
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  uri:
    v: https://zibs.nl/wiki/Procedure-v4.1(2017EN)
    l: Procedure-v4.1(2017EN)
  name:
    v: HCIM Procedure-v4.1(2017EN)
mapping:
  identity:
    v: hcim-textresult-v4.1-2017EN
  uri:
    v: https://zibs.nl/wiki/TextResult-v4.1(2017EN)
    l: TextResult-v4.1(2017EN)
  name:
    v: HCIM TextResult-v4.1(2017EN)
mapping:
  identity:
    v: hcim-healthprofessional-v3.2-2017EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)
    l: HealthProfessional-v3.2(2017EN)
  name:
    v: HCIM HealthProfessional-v3.2(2017EN)
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  uri:
    v: https://zibs.nl/wiki/BasicElements-v1.0(2017EN)
    l: BasicElements-v1.0(2017EN)
  name:
    v: HCIM BasicElements-v1.0(2017EN)
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/ProcedureForTransfer-v3.0(2016EN)
    l: ProcedureForTransfer-v3.0(2016EN)
  name:
    v: HCIM ProcedureForTransfer-v3.0(2016EN)
mapping:
  identity:
    v: hcim-textresultfortransfer-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/TextResultForTransfer-v3.0(2016EN)
    l: TextResultForTransfer-v3.0(2016EN)
  name:
    v: HCIM TextResultForTransfer-v3.0(2016EN)
mapping:
  identity:
    v: hcim-healthprofessional-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)
    l: HealthProfessional-v3.0(2016EN)
  name:
    v: HCIM HealthProfessional-v3.0(2016EN)
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  uri:
    v: https://zibs.nl/wiki/ProcedureForTransfer-v1.2(2015EN)
    l: ProcedureForTransfer-v1.2(2015EN)
  name:
    v: HCIM ProcedureForTransfer-v1.2(2015EN)
mapping:
  identity:
    v: hcim-textresultfortransfer-v1.2-2015EN
  uri:
    v: https://zibs.nl/wiki/TextResultForTransfer-v1.2.2(2015EN)
    l: TextResultForTransfer-v1.2.2(2015EN)
  name:
    v: HCIM TextResultForTransfer-v1.2.2(2015EN)
mapping:
  identity:
    v: hcim-healthprofessional-v1.2.1-2015EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)
    l: HealthProfessional-v1.2.1(2015EN)
  name:
    v: HCIM HealthProfessional-v1.2.1(2015EN)
kind:
  v: resource
abstract:
  v: false
type:
  v: Procedure
base definition:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure|2.1.12
  l: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.1.12
  element:
    id:
      v: Procedure
    path:
      v: Procedure
    short:
      v: Procedure
    definition:
      v: An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy.
    alias:
      v: Verrichting
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Resource
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-1
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain any narrative
      expression:
        v: contained.text.empty()
      xpath:
        v: not(parent::f:contained and f:text)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4

v: error

v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated

v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()

v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))

key:
  v: dom-3
severity:
  v: error
human:
  v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
expression:
  v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
xpath:
  v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

key:
  v: pro-1
severity:
  v: error
human:
  v: Reason not done is only permitted if notDone indicator is true
expression:
  v: notDoneReason.empty() or notDone = true
xpath:
  v: not(exists(f:notDoneReason)) or f:notDone/@value=true()
source:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure|2.1.12
  l: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure

identity:
  v: pall-izppz-zib2017v2025-03-11
map:
  v: 776
comment:
  v: Verrichting

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

identity:
  v: rim
map:
  v: Procedure[moodCode=EVN]

identity:
  v: w5
map:
  v: clinical.general

identity:
  v: hcim-procedurefortransfer-v1.2-2015EN
map:
  v: NL-CM:14.1.1
comment:
  v: Procedure

identity:
  v: hcim-procedurefortransfer-v3.0-2016EN
map:
  v: NL-CM:14.1.1
comment:
  v: Procedure

identity:
  v: hcim-procedure-v4.1-2017EN
map:
  v: NL-CM:14.1.1
comment:
  v: Procedure

id:
  v: Procedure.id
path:
  v: Procedure.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

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

id:
  v: Procedure.implicitRules
path:
  v: Procedure.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is modifier:
  v: true
is summary:
  v: true

id:
  v: Procedure.language
path:
  v: Procedure.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Reference
      l: 3.0
      l: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: Procedure.text
path:
  v: Procedure.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded in formation is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: Procedure.contained
path:
  v: Procedure.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.extension
path:
  v: Procedure.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
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 resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.extension:procedureMethod
path:
  v: Procedure.extension
slice name:
  v: procedureMethod
short:
  v: The method used to perform the procedure
definition:
  v: The method used to perform this procedure.
comment:
  v: Improve definition. Add mappings.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/procedure-method
    l: procedure-method
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: N/A

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

id:
  v: Procedure.extension:procedureMethod.extension
path:
  v: Procedure.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.extension:procedureMethod.url
path:
  v: Procedure.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/StructureDefinition/procedure-method
  l: procedure-method
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.extension:procedureMethod.valueCodeableConcept:valueCodeableConcept
path:
  v: Procedure.extension.valueCodeableConcept
slice name:
  v: valueCodeableConcept
short:
  v: ProcedureMethod
definition:
  v: The method or technique that was used to perform the procedure, e.g. approach, lavage, pressuring, ets.
comment:
  v: HCIM Procedure allows for the possiblity to define multiple procedure methods, but this core extension restricts this to just a single method, resulting in a cardinality mismatch with the zib. It is advised to use the most important procedure method in this extension. This issue will be fixed in the next version of this profile.
alias:
  v: VerrichtingMethode
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  description:
    v: VerrichtingMethodeCodelijst
  value set: Reference
    l: 2.16
    l: .840
    l: .1
    l: .113883
    l: .2
    l: .4
    l: .3
    l: .11
    l: .60
    l: .40
    l: .14
    l: -20171231000000
    l: 2017
    l: -12
    l: -31
    l: 00
    reference:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.1.4--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.12
  comment:
    v: ProcedureMethod

id:
  v: Procedure.modifierExtension
path:
  v: Procedure.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.identifier
path:
  v: Procedure.identifier
short:
  v: External Identifiers for this procedure
definition:
  v: This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
requirements:
  v: Need to allow connection to a wider workflow.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: w5
  map:
    v: id
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.6
  comment:
    v: IdentificationNumber

id:
  v: Procedure.definition
path:
  v: Procedure.definition
short:
  v: Instantiates protocol or definition
definition:
  v: A protocol, guideline, orderset or other definition that was adhered to in whole or in part by this procedure.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.definition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    l: PlanDefinition
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    l: ActivityDefinition
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    l: HealthcareService
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: Procedure.basedOn
path:
  v: Procedure.basedOn
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this.resolve()
  rules:
    v: open
short:
  v: A request for this procedure
definition:
  v: A reference to a resource that contains details of the request for this procedure.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    l: CarePlan
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ProcedureRequest
    l: ProcedureRequest
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ReferralRequest
    l: ReferralRequest
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code

id:
  v: Procedure.basedOn:request
path:
  v: Procedure.basedOn
slice name:
  v: request
short:
  v: ProcedureRequest
definition:
  v: The ProcedureRequest that contains the details of the request for this procedure, including the requester information located at ProcedureRequest.requester.
comment:
  v: The ProcedureRequest resource is used to capture the healthcare provider who requested the procedure as stated in the HCIM Procedure.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-ProcedureRequest|2.1.9
    l: http://nictiz.nl/fhir/StructureDefinition/zib-ProcedureRequest
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.10
  comment:
    v: RequestedBy
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.10
  comment:
    v: RequestedBy
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.10
  comment:
    v: Requester. The requester information is located in a referenced ProcedureRequest.

id:
  v: Procedure.partOf
path:
  v: Procedure.partOf
short:
  v: Part of referenced event
definition:
  v: A larger event of which this particular procedure is a component or step.
comment:
  v: The MedicationAdministration has a partOf reference to Procedure, but this is not a circular reference. For a surgical procedure, the anesthesia related medicationAdministration is part of the procedure. For an IV medication administration, the procedure to insert the IV port is part of the medication administration.
alias:
  v: container
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.partOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Procedure
    l: Procedure
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    l: Observation
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationAdministration
    l: MedicationAdministration
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]

id:
  v: Procedure.status
path:
  v: Procedure.status
short:
  v: preparation | in-progress | suspended | aborted | completed | entered-in-error | unknown
definition:
  v: A code specifying the state of the procedure. Generally this will be in-progress or completed state.
comment:
  v: The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureStatus
  strength:
    v: required
  description:
    v: A code specifying the state of the procedure.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/event-status|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: statusCode
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: Procedure.notDone
path:
  v: Procedure.notDone
short:
  v: True if procedure was not performed as scheduled
definition:
  v: Set this to true if the record is saying that the procedure was NOT performed.
comment:
  v: If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say "There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome. This element is labeled as a modifier because it indicates that a procedure didn't happen.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.notDone
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
default value: Boolean
  v: false
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .actionNegationInd

id:
  v: Procedure.notDoneReason
path:
  v: Procedure.notDoneReason
short:
  v: Reason procedure was not performed
definition:
  v: A code indicating why the procedure was not performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.notDoneReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: pro-1
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureNegationReason
  strength:
    v: example
  description:
    v: A code that identifies the reason a procedure was not performed.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-not-performed-reason|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .reason.Observation.value

id:
  v: Procedure.category
path:
  v: Procedure.category
short:
  v: Classification of the procedure
definition:
  v: A code that classifies the procedure for searching, sorting and display purposes. In the Basisgegevensset Zorg (BgZ) use case, this is used to search and retrieve Surgical Procedures.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.category
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
example:
  label:
    v: Example of category code
  value: CodeableConcept
    coding: http://snomed.info/id/387713003
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 387713003
      display:
        v: Surgical procedure
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureCategory
  strength:
    v: example
  description:
    v: A code that classifies a procedure for searching, sorting and display purposes.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-category|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: Procedure.code
path:
  v: Procedure.code
short:
  v: ProcedureType
definition:
  v: The name of the procedure. As of 1 January 2013, all procedures in the primary process have to be documented with CBV codes. To meet this requirement, the DHD procedure thesaurus (CBV procedures set) is used to code procedures. It is possible that in addition to the CBV procedures set, the NIC will be used for nurse procedures and that a “coded value set” will be introduced for paramedic procedures.
requirements:
  v: 0..1 to account for primarily narrative only resources.
alias:
  v: type
alias:
  v: VerrichtingType
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
pattern: CodeableConcept
  coding: http://snomed.info/id/713603004
    system:
      v: http://snomed.info/sct
      l: sct
    code:
      v: 713603004
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureCode
  strength:
    v: example
  description:
    v: A code to identify a specific procedure .
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-code|3.0.2
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 797
  comment:
    v: PZP gesprek (VerrichtingType)
mapping:
  identity:
    v: v2
  map:
    v: OBR-44/OBR-45
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: w5
  map:
    v: what
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.4
  comment:
    v: ProcedureType
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.4
  comment:
    v: ProcedureType
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.4
  comment:
    v: ProcedureType

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

id:
  v: Procedure.code.extension
path:
  v: Procedure.code.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.code.coding
path:
  v: Procedure.code.coding
slicing:
  discriminator:
    type:
      v: value
    path:
      v: system
  rules:
    v: open
short:
  v: Code defined by a terminology system
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst
path:
  v: Procedure.code.coding
slice name:
  v: VerrichtingTypeCodelijst
short:
  v: ProcedureType
definition:
  v: DHD procedure thesaurus
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
alias:
  v: VerrichtingType
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  strength:
    v: required
  description:
    v: The name of the procedure using the Verrichtingenthesaurus DHD.
  value set: Reference
    l: 2.16
    l: .840
    l: .1
    l: .113883
    l: .2
    l: .4
    l: .3
    l: .11
    l: .60
    l: .40
    l: .14
    l: -20171231000000
    l: 2017
    l: -12
    l: -31
    l: 00
    reference:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.1.2--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

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

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.extension
path:
  v: Procedure.code.coding.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.system
path:
  v: Procedure.code.coding.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://snomed.info/sct
  l: sct
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.version
path:
  v: Procedure.code.coding.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.code
path:
  v: Procedure.code.coding.code
short:
  v: Symbol in syntax defined by the system
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Procedure.code.coding.display
short:
  v: Representation defined by the system
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: Procedure.code.coding:VerrichtingTypeCodelijst.userSelected
path:
  v: Procedure.code.coding.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: Procedure.code.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Procedure.code.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: Procedure.subject
path:
  v: Procedure.subject
short:
  v: Who the procedure was performed on
definition:
  v: The person, animal or group on which the procedure was performed.
alias:
  v: patient
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: PID-3
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role
mapping:
  identity:
    v: w5
  map:
    v: who.focus
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.11
  comment:
    v: Subject

id:
  v: Procedure.context
path:
  v: Procedure.context
short:
  v: Encounter or episode associated with the procedure
definition:
  v: The encounter during which the procedure was performed.
alias:
  v: encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Encounter|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Encounter
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: PV1-19
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
mapping:
  identity:
    v: w5
  map:
    v: context

id:
  v: Procedure.performed[x]
path:
  v: Procedure.performed[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  rules:
    v: open
short:
  v: Date/Period the procedure was performed
definition:
  v: The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.performed[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: OBR-7
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: w5
  map:
    v: when.done
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.14
  comment:
    v: DateTime

id:
  v: Procedure.performed[x]:performedPeriod
path:
  v: Procedure.performed[x]
slice name:
  v: performedPeriod
short:
  v: Date/Period the procedure was performed
definition:
  v: The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.performed[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: OBR-7
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: w5
  map:
    v: when.done

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

id:
  v: Procedure.performed[x]:performedPeriod.extension
path:
  v: Procedure.performed[x].extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.performed[x]:performedPeriod.start
path:
  v: Procedure.performed[x].start
short:
  v: ProcedureStartDate
definition:
  v: The start date (and if possible start time) of the procedure. A ‘vague’ date, such as only the year, is permitted. The element offers the option to indicate the start of the period of a series of related procedures.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: VerrichtingStartDatum
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.start
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
condition:
  v: per-1
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.2
  comment:
    v: ProcedureStartDate
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.2
  comment:
    v: ProcedureStartDate
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.2
  comment:
    v: ProcedureStartDate

id:
  v: Procedure.performed[x]:performedPeriod.end
path:
  v: Procedure.performed[x].end
short:
  v: ProcedureEndDate
definition:
  v: The end date (and if possible end time) of the procedure. A ‘vague’ date, such as only the year, is permitted. The element offers the option to indicate the end of the period of a series of related procedures.
comment:
  v: The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.
alias:
  v: VerrichtingEindDatum
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.end
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
meaning when missing:
  v: If the end of the period is missing, it means that the period is ongoing
condition:
  v: per-1
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.3
  comment:
    v: ProcedureEndDate
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.3
  comment:
    v: ProcedureEndDate
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.3
  comment:
    v: ProcedureEndDate

id:
  v: Procedure.performer
path:
  v: Procedure.performer
short:
  v: HealthProfessional | Location::HealthcareProvider
definition:
  v: The healthcare professional that carried out the procedure. The healthcare center (location) where the procedure was or is carried out.
comment:
  v: Note: Procedure.location could have been used for mapping the Location::HealthcareProvider. In most anticipated cases this would lead to an empty Location resource except for Location.managingOrganization. For efficiency the mapping has thus been done here. Should a Location::HealthcareProvider with an OrganizationLocation be targeted, then this may be solved using Organization.name 'OrganizationLocation' + Organization.partOf 'HealthcareProvider'
alias:
  v: UitgevoerdDoor
alias:
  v: Locatie
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF]
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.6
  comment:
    v: CarriedOutBy
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.6
  comment:
    v: CarriedOutBy
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.6
  comment:
    v: Performer
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.5
  comment:
    v: Location
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.5
  comment:
    v: Location
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.5
  comment:
    v: Location

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

id:
  v: Procedure.performer.extension
path:
  v: Procedure.performer.extension
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.performer.modifierExtension
path:
  v: Procedure.performer.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.performer.role
path:
  v: Procedure.performer.role
short:
  v: The role the actor was in
definition:
  v: For example: surgeon, anaethetist, endoscopist.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.performer.role
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedurePerformerRole
  strength:
    v: example
  description:
    v: A code that identifies the role of a performer of the procedure.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/performer-role|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25
mapping:
  identity:
    v: rim
  map:
    v: .functionCode

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

id:
  v: Procedure.performer.role.extension
path:
  v: Procedure.performer.role.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.performer.role.coding
path:
  v: Procedure.performer.role.coding
slicing:
  discriminator:
    type:
      v: value
    path:
      v: $this
  rules:
    v: open
short:
  v: Code defined by a terminology system
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: Procedure.performer.role.coding:healthProfessionalRole
path:
  v: Procedure.performer.role.coding
slice name:
  v: healthProfessionalRole
short:
  v: HealthProfessionalRole
definition:
  v: The role the healthcare provider fulfils in the healthcare process. For healthcare providers, this could be for example main practitioner, referrer or general practitioner.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
alias:
  v: ZorgverlenerRol
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  strength:
    v: required
  value set: Reference
    l: 2.16
    l: .840
    l: .1
    l: .113883
    l: .2
    l: .4
    l: .3
    l: .11
    l: .60
    l: .40
    l: .17
    l: .5
    l: -20171231000000
    l: 2017
    l: -12
    l: -31
    l: 00
    reference:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.1.5--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
mapping:
  identity:
    v: hcim-healthprofessional-v1.2.1-2015EN
  map:
    v: NL-CM:17.1.5
  comment:
    v: HealthcareProviderRole
mapping:
  identity:
    v: hcim-healthprofessional-v3.0-2016EN
  map:
    v: NL-CM:17.1.5
  comment:
    v: HealthcareProviderRole
mapping:
  identity:
    v: hcim-healthprofessional-v3.2-2017EN
  map:
    v: NL-CM:17.1.5
  comment:
    v: HealthProfessionalRole

id:
  v: Procedure.performer.role.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Procedure.performer.role.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: Procedure.performer.actor
path:
  v: Procedure.performer.actor
short:
  v: The reference to the practitioner
definition:
  v: The practitioner who was involved in the procedure.
requirements:
  v: A reference to Device supports use cases, such as pacemakers.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.performer.actor
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: ORC-19/PRT-5
mapping:
  identity:
    v: rim
  map:
    v: .role
mapping:
  identity:
    v: w5
  map:
    v: who.actor

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

id:
  v: Procedure.performer.actor.extension
path:
  v: Procedure.performer.actor.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.performer.actor.extension:practitionerRole
path:
  v: Procedure.performer.actor.extension
slice name:
  v: practitionerRole
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
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: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference|1.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference|1.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/practitionerrole-reference
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

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

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

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

id:
  v: Procedure.performer.onBehalfOf
path:
  v: Procedure.performer.onBehalfOf
short:
  v: Organization the device or practitioner was acting for
definition:
  v: The organization the device or practitioner was acting on behalf of.
requirements:
  v: Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.performer.onBehalfOf
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
mapping:
  identity:
    v: rim
  map:
    v: .scoper

id:
  v: Procedure.location
path:
  v: Procedure.location
short:
  v: Where the procedure happened
definition:
  v: The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.
requirements:
  v: Ties a procedure to where the records are likely kept.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role[classCode=SDLOC]
mapping:
  identity:
    v: w5
  map:
    v: where

id:
  v: Procedure.reasonCode
path:
  v: Procedure.reasonCode
short:
  v: Coded reason procedure performed
definition:
  v: The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureReason
  strength:
    v: example
  description:
    v: A code that identifies the reason a procedure is required.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-reason|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: Procedure.reasonReference
path:
  v: Procedure.reasonReference
short:
  v: Indication
definition:
  v: The indication is the reason for the procedure.
comment:
  v: e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.
alias:
  v: Indicatie
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Problem|3.0.7
    l: http://nictiz.nl/fhir/StructureDefinition/zib-Problem
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode
mapping:
  identity:
    v: w5
  map:
    v: why
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.9
  comment:
    v: Indication
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.9
  comment:
    v: Indication
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.9
  comment:
    v: Indication

id:
  v: Procedure.bodySite
path:
  v: Procedure.bodySite
short:
  v: ProcedureAnatomicalLocation
definition:
  v: Anatomical location which is the focus of the procedure.
alias:
  v: VerrichtingAnatomischeLocatie
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.bodySite
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: BodySite
  strength:
    v: extensible
  description:
    v: Anatomical location which is the focus of the procedure.
  value set: Reference
    l: 2.16
    l: .840
    l: .1
    l: .113883
    l: .2
    l: .4
    l: .3
    l: .11
    l: .60
    l: .40
    l: .14
    l: -20171231000000
    l: 2017
    l: -12
    l: -31
    l: 00
    reference:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.1.1--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: v2
  map:
    v: OBX-20
mapping:
  identity:
    v: rim
  map:
    v: .targetSiteCode
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.8
  comment:
    v: AnatomicalLocationOfTheProcedure
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.8
  comment:
    v: AnatomicalLocationOfTheProcedure
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.8
  comment:
    v: ProcedureAnatomicalLocation

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

id:
  v: Procedure.bodySite.extension
path:
  v: Procedure.bodySite.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.bodySite.extension:ProcedureLaterality
path:
  v: Procedure.bodySite.extension
slice name:
  v: ProcedureLaterality
short:
  v: ProcedureLaterality
definition:
  v: Laterality adds information about body side to the anatomic location, e.g. left
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: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier|2.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier|2.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

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

id:
  v: Procedure.bodySite.extension:ProcedureLaterality.extension
path:
  v: Procedure.bodySite.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.bodySite.extension:ProcedureLaterality.url
path:
  v: Procedure.bodySite.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier
  l: BodySite-Qualifier
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.bodySite.extension:ProcedureLaterality.value[x]
path:
  v: Procedure.bodySite.extension.value[x]
short:
  v: BodySite qualifier
definition:
  v: Qualifier to refine the anatomical location. These include qualifiers for laterality, relative location, directionality, number, and plane.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  description:
    v: ProcedureLateralityCodelist
  value set: Reference
    l: 2.16
    l: .840
    l: .1
    l: .113883
    l: .2
    l: .4
    l: .3
    l: .11
    l: .60
    l: .40
    l: .14
    l: -20171231000000
    l: 2017
    l: -12
    l: -31
    l: 00
    reference:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.14.1.3--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.11
  comment:
    v: ProcedureLaterality

id:
  v: Procedure.bodySite.coding
path:
  v: Procedure.bodySite.coding
short:
  v: Code defined by a terminology system
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: Procedure.bodySite.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Procedure.bodySite.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: Procedure.outcome
path:
  v: Procedure.outcome
short:
  v: The result of procedure
definition:
  v: The outcome of the procedure - did it resolve reasons for the procedure being performed?
comment:
  v: If outcome contains narrative text only, it can be captured using the CodeableConcept.text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.outcome
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureOutcome
  strength:
    v: example
  description:
    v: An outcome of a procedure - whether it was resolved or otherwise.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-outcome|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=OUT].target.text

id:
  v: Procedure.report
path:
  v: Procedure.report
slicing:
  discriminator:
    type:
      v: profile
    path:
      v: resolve()
  rules:
    v: open
short:
  v: Any report resulting from the procedure
definition:
  v: This could be a histology result, pathology report, surgical report, etc..
comment:
  v: There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.report
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    l: DiagnosticReport
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]

id:
  v: Procedure.report:textResult
path:
  v: Procedure.report
slice name:
  v: textResult
short:
  v: Any report resulting from the procedure
definition:
  v: Any report resulting from the procedure.
comment:
  v: Note that the HCIM TextResultForTransfer-v1.2 has this relationship reversed, so the relationship goes from report to procedure.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.report
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TextResult|2.1.4
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TextResult
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]
mapping:
  identity:
    v: hcim-textresultfortransfer-v1.2-2015EN
  map:
    v: NL-CM:13.2.1
  comment:
    v: TextResult
mapping:
  identity:
    v: hcim-textresultfortransfer-v3.0-2016EN
  map:
    v: NL-CM:13.2.1
  comment:
    v: TextResult
mapping:
  identity:
    v: hcim-textresult-v4.1-2017EN
  map:
    v: NL-CM:13.2.1
  comment:
    v: TextResult

id:
  v: Procedure.complication
path:
  v: Procedure.complication
short:
  v: Complication following the procedure
definition:
  v: Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.
comment:
  v: If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.complication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureComplication
  strength:
    v: example
  description:
    v: Codes describing complications that resulted from a procedure.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/condition-code|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value

id:
  v: Procedure.complicationDetail
path:
  v: Procedure.complicationDetail
short:
  v: A condition that is a result of the procedure
definition:
  v: Any complications that occurred during the procedure, or in the immediate post-performance period.
requirements:
  v: This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.complicationDetail
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    l: Condition
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=OUTC].target[classCode=OBS, code="complication", moodCode=EVN].value

id:
  v: Procedure.followUp
path:
  v: Procedure.followUp
short:
  v: Instructions for follow up
definition:
  v: If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.followUp
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureFollowUp
  strength:
    v: example
  description:
    v: Specific follow up required for a procedure e.g. removal of sutures.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-followup|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code

id:
  v: Procedure.note
path:
  v: Procedure.note
short:
  v: Additional information about the procedure
definition:
  v: Any other notes about the procedure. E.g. the operative notes.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

id:
  v: Procedure.focalDevice
path:
  v: Procedure.focalDevice
short:
  v: Device changed in procedure
definition:
  v: A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.focalDevice
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=DEV].role[classCode=MANU]

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

id:
  v: Procedure.focalDevice.extension
path:
  v: Procedure.focalDevice.extension
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Procedure.focalDevice.modifierExtension
path:
  v: Procedure.focalDevice.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Procedure.focalDevice.action
path:
  v: Procedure.focalDevice.action
short:
  v: Kind of change to device
definition:
  v: The kind of change that happened to the device during the procedure.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Procedure.focalDevice.action
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: DeviceActionKind
  strength:
    v: preferred
  description:
    v: A kind of change that happened to the device during the procedure.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/device-action|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="procedure device action"].value=:procedure device action codes

id:
  v: Procedure.focalDevice.manipulated
path:
  v: Procedure.focalDevice.manipulated
short:
  v: MedicalDevice
definition:
  v: The product, the placing of which in or on the body is the purpose of the procedure, for example placing an implant.
alias:
  v: MedischHulpmiddel
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Procedure.focalDevice.manipulated
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct|2.0.6
    l: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDeviceProduct
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=DEV].role[classCode=SDLOC]
mapping:
  identity:
    v: hcim-procedurefortransfer-v1.2-2015EN
  map:
    v: NL-CM:14.1.7
  comment:
    v: Product
mapping:
  identity:
    v: hcim-procedurefortransfer-v3.0-2016EN
  map:
    v: NL-CM:14.1.7
  comment:
    v: Product
mapping:
  identity:
    v: hcim-procedure-v4.1-2017EN
  map:
    v: NL-CM:14.1.7
  comment:
    v: MedicalDevice

id:
  v: Procedure.usedReference
path:
  v: Procedure.usedReference
short:
  v: Items used during procedure
definition:
  v: Identifies medications, devices and any other substance used as part of the procedure.
comment:
  v: For devices actually implanted or removed, use Procedure.device.
requirements:
  v: Used for tracking contamination, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.usedReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    l: Medication
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    l: Substance
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=DEV].role[classCode=MANU] or .participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)

id:
  v: Procedure.usedCode
path:
  v: Procedure.usedCode
short:
  v: Coded items used during the procedure
definition:
  v: Identifies coded items that were used as part of the procedure.
comment:
  v: For devices actually implanted or removed, use Procedure.device.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Procedure.usedCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ProcedureUsed
  strength:
    v: example
  description:
    v: Codes describing items used during a procedure
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/device-kind|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=Dev].role[classCode=MANU]

element:
  id:
    v: Procedure
  path:
    v: Procedure
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 776
    comment:
      v: Verrichting
element:
  id:
    v: Procedure.code
  path:
    v: Procedure.code
  min:
    v: 1
  pattern: CodeableConcept
    coding: http://snomed.info/id/713603004
      system:
        v: http://snomed.info/sct
        l: sct
      code:
        v: 713603004
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 797
    comment:
      v: PZP gesprek (VerrichtingType)
element:
  id:
    v: Procedure.subject
  path:
    v: Procedure.subject
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient
element:
  id:
    v: Procedure.context
  path:
    v: Procedure.context
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Encounter|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Encounter
element:
  id:
    v: Procedure.performer.actor
  path:
    v: Procedure.performer.actor
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner