ACP-TreatmentDirective
type: StructureDefinition
node role: treeRoot
id:
  v: ACP-TreatmentDirective
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ACP-TreatmentDirective Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Consent 0..* Zib TreatmentDirective(2.2.3) TreatmentDirective #xD; extension 1..* Extension Extension #xD; Slices for extension Content/Rules for all slices #xD; extension:verification 1..* Zib TreatmentDirective Verification(1.0.5) Verification #xD; extension 1..* Extension Extension #xD; Slices for extension Content/Rules for all slices #xD; extension:Verified 1..1 Extension Extension #xD; value[x] 1..1 boolean Verified Fixed Value: true #xD; extension:VerifiedWith 0..* Extension Extension #xD; extension:VerificationDate 0..1 Extension Extension #xD; extension:comment 0..1 Comment(1.0.3) Comment #xD; extension:treatment 0..* Zib TreatmentDirective Treatment(1.0.2) Optional Extensions Element #xD; extension:additionalSources 0..* Consent additionalSources(1.0.3) Optional Extensions Element #xD; modifierExtension 1..* Extension Extension #xD; Slices for modifierExtension Content/Rules for all slices #xD; modifierExtension:treatmentPermitted 1..1 Zib TreatmentDirective TreatmentPermitted(1.0.3) Optional Extensions Element #xD; value[x] 0..1 CodeableConcept TreatmentPermitted Binding: ACPYesNoYesWithRestrictionsUnknownVS (1.0.0-rc1) (extensible) #xD; patient 1..1 Reference(ACP Patient(1.0.0-rc1)) Who the consent applies to #xD; period #xD; start 0..1 dateTime StartDate #xD; end 0..1 dateTime EndDate #xD; source[x] 0..1 Reference(ACP AdvanceDirective(1.0.0-rc1)) AdvanceDirective #xD; except #xD; Slices for extension Content/Rules for all slices #xD; extension:restrictions 0..* Zib TreatmentDirective Restrictions(2.0.2) Optional Extensions Element #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-TreatmentDirective
  l: ACP-TreatmentDirective
version:
  v: 1.0.0-rc1
name:
  v: ACPTreatmentDirective
title:
  v: ACP TreatmentDirective
status:
  v: draft
experimental:
  v: false
date:
  v: 2026-02-12T08:39:48+00:00
publisher:
  v: IKNL
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.iknl.nl
description:
  v: This profile specifies **verified** treatment directives. A treatment directive contains a joint decision between a health professional (for example a general practitioner) and a patient or his representative(s) about the desirability of performing a certain treatment, such as resuscitation, before this treatment becomes (acute) necessary.
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-treatmentdirective-v3.1-2017EN
  uri:
    v: https://zibs.nl/wiki/TreatmentDirective-v3.1(2017EN)
    l: TreatmentDirective-v3.1(2017EN)
  name:
    v: HCIM TreatmentDirective-v3.1(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-treatmentdirective-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/TreatmentDirective-v3.0(2016EN)
    l: TreatmentDirective-v3.0(2016EN)
  name:
    v: HCIM TreatmentDirective-v3.0(2016EN)
mapping:
  identity:
    v: hcim-treatmentdirective-v1.0.1-2015EN
  uri:
    v: https://zibs.nl/wiki/TreatmentDirective-v1.0.1(2015EN)
    l: TreatmentDirective-v1.0.1(2015EN)
  name:
    v: HCIM TreatmentDirective-v1.0.1(2015EN)
kind:
  v: resource
abstract:
  v: false
type:
  v: Consent
base definition:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective|2.2.3
  l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.2.3
  element:
    id:
      v: Consent
    path:
      v: Consent
    short:
      v: TreatmentDirective
    definition:
      v: A record of a healthcare consumer’s policy choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.
    comment:
      v: Broadly, there are 3 key areas of consent for patients: Consent around sharing information (aka Privacy Consent Directive - Authorization to Collect, Use, or Disclose information), consent for specific treatment, or kinds of treatment, and general advance care directives.
    alias:
      v: BehandelAanwijzing
    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
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      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
    constraint:
      key:
        v: ppc-1
      severity:
        v: error
      human:
        v: Either a Policy or PolicyRule
      expression:
        v: policy.exists() or policyRule.exists()
      xpath:
        v: exists(f:policy) or exists(f:policyRule)
      source:
        v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective|2.2.3
        l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective
    constraint:
      key:
        v: hcim-treatmentdirective-1
      severity:
        v: error
      human:
        v: extension.additionalSources may only be used for AdvanceDirective references in addition to first reference in .source[x]

v: extension.where(url = 'http://nictiz.nl/fhir/StructureDefinition/consent-additionalSources').empty() or source.exists()

identity:
  v: pall-izppz-zib2017v2025-03-11
map:
  v: 54
comment:
  v: Behandelgrens (BehandelAanwijzing)

identity:
  v: pall-izppz-zib2017v2025-03-11
map:
  v: 90
comment:
  v: Afspraak uitzetten ICD (BehandelAanwijzing)

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

identity:
  v: rim
map:
  v: FinancialConsent

identity:
  v: w5
map:
  v: infrastructure.information

identity:
  v: hcim-treatmentdirective-v1.0.1-2015EN
map:
  v: NL-CM:2.1.1
comment:
  v: TreatmentInstruction

identity:
  v: hcim-treatmentdirective-v3.0-2016EN
map:
  v: NL-CM:2.1.1
comment:
  v: TreatmentInstruction

identity:
  v: hcim-treatmentdirective-v3.1-2017EN
map:
  v: NL-CM:2.1.1
comment:
  v: TreatmentDirective

id:
  v: Consent.id
path:
  v: Consent.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: Consent.meta
path:
  v: Consent.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: Consent.implicitRules
path:
  v: Consent.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: Consent.language
path:
  v: Consent.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: Consent.text
path:
  v: Consent.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: Consent.contained
path:
  v: Consent.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: Consent.extension
path:
  v: Consent.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Consent.extension:verification
path:
  v: Consent.extension
slice name:
  v: verification
short:
  v: Verification
definition:
  v: Container of the Verification concept. This container contains all data elements of the Verification concept.
alias:
  v: Verificatie
min:
  v: 1
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification|1.0.5
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification
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/zib-TreatmentDirective-Verification|1.0.5
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Verification
is modifier:
  v: false
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 55
  comment:
    v: Verificatie
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 91
  comment:
    v: Verificatie
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.id
path:
  v: Consent.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: Consent.extension:verification.extension
path:
  v: Consent.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: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Consent.extension:verification.extension:Verified
path:
  v: Consent.extension.extension
slice name:
  v: Verified
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 56
  comment:
    v: Geverifieerd
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 92
  comment:
    v: Geverifieerd

id:
  v: Consent.extension:verification.extension:Verified.id
path:
  v: Consent.extension.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: Consent.extension:verification.extension:Verified.extension
path:
  v: Consent.extension.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: Consent.extension:verification.extension:Verified.url
path:
  v: Consent.extension.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: Verified
  l: Verified
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.extension:Verified.valueBoolean:valueBoolean
path:
  v: Consent.extension.extension.valueBoolean
slice name:
  v: valueBoolean
short:
  v: Verified
definition:
  v: Indication of the fact that the treatment instruction has been verified with the patient, the patient’s family and/or the patient's authorized representative.
alias:
  v: Geverifieerd
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
fixed: Boolean
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.extension:VerifiedWith
path:
  v: Consent.extension.extension
slice name:
  v: VerifiedWith
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 57
  comment:
    v: GeverifieerdBij
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 93
  comment:
    v: GeverifieerdBij

id:
  v: Consent.extension:verification.extension:VerifiedWith.id
path:
  v: Consent.extension.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: Consent.extension:verification.extension:VerifiedWith.extension
path:
  v: Consent.extension.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: Consent.extension:verification.extension:VerifiedWith.url
path:
  v: Consent.extension.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: VerifiedWith
  l: VerifiedWith
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.extension:VerifiedWith.valueCodeableConcept:valueCodeableConcept
path:
  v: Consent.extension.extension.valueCodeableConcept
slice name:
  v: valueCodeableConcept
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
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: The person with whom the treatment instruction was discussed and verified.
  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: -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.2.1.4--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.extension:VerificationDate
path:
  v: Consent.extension.extension
slice name:
  v: VerificationDate
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 58
  comment:
    v: VerificatieDatum
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 94
  comment:
    v: VerificatieDatum

id:
  v: Consent.extension:verification.extension:VerificationDate.id
path:
  v: Consent.extension.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: Consent.extension:verification.extension:VerificationDate.extension
path:
  v: Consent.extension.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: Consent.extension:verification.extension:VerificationDate.url
path:
  v: Consent.extension.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: VerificationDate
  l: VerificationDate
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.extension:VerificationDate.valueDateTime:valueDateTime
path:
  v: Consent.extension.extension.valueDateTime
slice name:
  v: valueDateTime
short:
  v: VerificationDate
definition:
  v: Date on which the verification with the patient, the patient’s family and/or the patient's authorized representative took place.
alias:
  v: VerificatieDatum
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.url
path:
  v: Consent.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/zib-TreatmentDirective-Verification
  l: zib-TreatmentDirective-Verification
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:verification.value[x]
path:
  v: Consent.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:comment
path:
  v: Consent.extension
slice name:
  v: comment
short:
  v: Comment
definition:
  v: Optional Extension Element - found in all resources.
alias:
  v: Toelichting
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://nictiz.nl/fhir/StructureDefinition/Comment|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/Comment
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/Comment|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/Comment
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 64
  comment:
    v: Toelichting
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 100
  comment:
    v: Toelichting
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:treatment
path:
  v: Consent.extension
slice name:
  v: treatment
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Treatment|1.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Treatment
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/zib-TreatmentDirective-Treatment|1.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Treatment
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 59
  comment:
    v: Behandeling
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 95
  comment:
    v: Behandeling van uitzetten ICD
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:treatment.id
path:
  v: Consent.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: Consent.extension:treatment.extension
path:
  v: Consent.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: Consent.extension:treatment.url
path:
  v: Consent.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/zib-TreatmentDirective-Treatment
  l: zib-TreatmentDirective-Treatment
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:treatment.value[x]:valueCodeableConcept
path:
  v: Consent.extension.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: Treatment
definition:
  v: The medical treatment to which the treatment instruction applies.
alias:
  v: Behandeling
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: The medical treatment to which the treatment instruction applies.
  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: -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.2.1.1--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:additionalSources
path:
  v: Consent.extension
slice name:
  v: additionalSources
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/consent-additionalSources|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/consent-additionalSources
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/consent-additionalSources|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/consent-additionalSources
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 65
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:additionalSources.id
path:
  v: Consent.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: Consent.extension:additionalSources.extension
path:
  v: Consent.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: Consent.extension:additionalSources.url
path:
  v: Consent.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/consent-additionalSources
  l: consent-additionalSources
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.extension:additionalSources.value[x]
path:
  v: Consent.extension.value[x]
short:
  v: AdvanceDirective
definition:
  v: A (written) statement in which a person indicates wishes concerning future medical action, in the event that this person is at that point no longer (deemed) capable of taking decisions on the matter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective|2.1.5
    l: http://nictiz.nl/fhir/StructureDefinition/zib-AdvanceDirective
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    l: DocumentReference
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Contract
    l: Contract
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
    l: QuestionnaireResponse
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: hcim-treatmentdirective-v1.0.1-2015EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: LivingWill - additional to .source
mapping:
  identity:
    v: hcim-treatmentdirective-v3.0-2016EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: LivingWill - additional to .source
mapping:
  identity:
    v: hcim-treatmentdirective-v3.1-2017EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: AdvanceDirective - additional to .source

id:
  v: Consent.modifierExtension
path:
  v: Consent.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true

id:
  v: Consent.modifierExtension:treatmentPermitted
path:
  v: Consent.modifierExtension
slice name:
  v: treatmentPermitted
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
comment:
  v: If the value of the element NL-CM:2.1.4 TreatmentPermitted is YES_BUT/JA_MAAR, then the value of NL-CM:2.1.5 Restrictions is expected under Consent.except. Additional terminology mapping guidance, in addition to the default zib/nl-core guidance for "Afspraak uitzetten ICD" (dataset id 96) values: - _Ja_ -> _Yes_; - No value is mapped to _No_; - _Nee, nog geen besluit genomen_ -> _ASKU_ _Niet besproken_ -> _NASK_
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-TreatmentPermitted|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-TreatmentPermitted
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/zib-TreatmentDirective-TreatmentPermitted|1.0.3
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-TreatmentPermitted
is modifier:
  v: true
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 60
  comment:
    v: BehandelingToegestaan
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 96
  comment:
    v: Afspraak uitzetten ICD (BehandelingToegestaan)
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.modifierExtension:treatmentPermitted.id
path:
  v: Consent.modifierExtension.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: Consent.modifierExtension:treatmentPermitted.extension
path:
  v: Consent.modifierExtension.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: Consent.modifierExtension:treatmentPermitted.url
path:
  v: Consent.modifierExtension.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/zib-TreatmentDirective-TreatmentPermitted
  l: zib-TreatmentDirective-TreatmentPermitted
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.modifierExtension:treatmentPermitted.value[x]:valueCodeableConcept
path:
  v: Consent.modifierExtension.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: TreatmentPermitted
definition:
  v: Indication of permission for the treatment, no permission for the treatment, or permission for the treatment with constraints.
alias:
  v: BehandelingToegestaan
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
  value set: Reference
    l: 1.0
    l: .0
    reference:
      v: https://api.iknl.nl/docs/pzp/stu3/ValueSet/ACP-YesNoYesWithRestrictionsUnknownVS|1.0.0-rc1
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.identifier
path:
  v: Consent.identifier
short:
  v: Identifier for this record (external references)
definition:
  v: Unique identifier for this copy of the Consent Statement.
comment:
  v: This identifier is identifies this copy of the consent. Where this identifier is also used elsewhere as the identifier for a consent record (e.g. a CDA consent document) then the consent details are expected to be the same.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
example:
  label:
    v: General
  value: Identifier
    system:
      v: urn:ietf:rfc:3986
      l: 3986
    value:
      v: Local eCMS identifier
is summary:
  v: true
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: Consent.status
path:
  v: Consent.status
short:
  v: draft | proposed | active | rejected | inactive | entered-in-error
definition:
  v: Indicates the current state of this consent.
comment:
  v: The HCIM treatmentDirective is not explicit on its intention. The expectation however is that any instantation of a TreatmentDirective is "active" unless stated otherwise.
requirements:
  v: The Consent Directive that is pointed to might be in various lifecycle states, e.g., a revoked Consent Directive.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.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: ConsentState
  strength:
    v: required
  description:
    v: Indicates the state of the consent
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-state-codes|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: HL7 Table 0498 - Consent Status
mapping:
  identity:
    v: rim
  map:
    v: .statusCode
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: Consent.category
path:
  v: Consent.category
short:
  v: Classification of the consent statement - for indexing/retrieval
definition:
  v: A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Consent.category
  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: ConsentCategory
  strength:
    v: example
  description:
    v: A classification of the type of consents found in a consent statement
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-category|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: CNTRCT
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: Consent.category.id
path:
  v: Consent.category.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: Consent.category.extension
path:
  v: Consent.category.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: Consent.category.coding
path:
  v: Consent.category.coding
slicing:
  discriminator:
    type:
      v: value
    path:
      v: code
  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: 1
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: Consent.category.coding:treatmentDirective
path:
  v: Consent.category.coding
slice name:
  v: treatmentDirective
short:
  v: Code defined by a terminology system
definition:
  v: Category SNOMED code used for indexing/retrieval of the HCIM TreatmentDirective.
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: 1
max:
  v: 1
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: Consent.category.coding:treatmentDirective.id
path:
  v: Consent.category.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: Consent.category.coding:treatmentDirective.extension
path:
  v: Consent.category.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: Consent.category.coding:treatmentDirective.system
path:
  v: Consent.category.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: Consent.category.coding:treatmentDirective.version
path:
  v: Consent.category.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: Consent.category.coding:treatmentDirective.code
path:
  v: Consent.category.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: 1
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
fixed: Code
  v: 11291000146105
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: Consent.category.coding:treatmentDirective.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Consent.category.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
default value: String
  v: Treatment instructions (record artifact)
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: Consent.category.coding:treatmentDirective.userSelected
path:
  v: Consent.category.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: Consent.category.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Consent.category.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: Consent.patient
path:
  v: Consent.patient
short:
  v: Who the consent applies to
definition:
  v: The patient/healthcare consumer to whom this consent applies.
comment:
  v: Commonly, the patient the consent pertains to is the author, but for young and old people, it may be some other person.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.patient
  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: rim
  map:
    v: 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: Consent.period
path:
  v: Consent.period
short:
  v: Period that this consent applies
definition:
  v: Relevant time or time-period when this Consent is applicable.
comment:
  v: This can be a subset of the period of the original statement.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
meaning when missing:
  v: all date ranges included
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: FinancialConsent activityTime
mapping:
  identity:
    v: w5
  map:
    v: when.done

id:
  v: Consent.period.id
path:
  v: Consent.period.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: Consent.period.extension
path:
  v: Consent.period.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: Consent.period.start
path:
  v: Consent.period.start
short:
  v: StartDate
definition:
  v: Date on which the treatment instruction went into effect. A ‘vague’ date, such as only the year, is permitted.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: BeginDatum
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: pall-izppz-zib2017v2025-03-11
  map:
    v: 62
  comment:
    v: BeginDatum
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 98
  comment:
    v: BeginDatum
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low
mapping:
  identity:
    v: hcim-treatmentdirective-v1.0.1-2015EN
  map:
    v: NL-CM:2.1.6
  comment:
    v: StartDate
mapping:
  identity:
    v: hcim-treatmentdirective-v3.0-2016EN
  map:
    v: NL-CM:2.1.6
  comment:
    v: StartDate
mapping:
  identity:
    v: hcim-treatmentdirective-v3.1-2017EN
  map:
    v: NL-CM:2.1.6
  comment:
    v: StartDate

id:
  v: Consent.period.end
path:
  v: Consent.period.end
short:
  v: EndDate
definition:
  v: Date on which the treatment instruction ends. A ‘vague’ date, such as only the year, is permitted.
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: EindDatum
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: pall-izppz-zib2017v2025-03-11
  map:
    v: 63
  comment:
    v: EindDatum
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 99
  comment:
    v: EindDatum
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high
mapping:
  identity:
    v: hcim-treatmentdirective-v1.0.1-2015EN
  map:
    v: NL-CM:2.1.7
  comment:
    v: EndDate
mapping:
  identity:
    v: hcim-treatmentdirective-v3.0-2016EN
  map:
    v: NL-CM:2.1.7
  comment:
    v: EndDate
mapping:
  identity:
    v: hcim-treatmentdirective-v3.1-2017EN
  map:
    v: NL-CM:2.1.7
  comment:
    v: EndDate

id:
  v: Consent.dateTime
path:
  v: Consent.dateTime
short:
  v: When this Consent was created or indexed
definition:
  v: When this Consent was issued / created / indexed.
comment:
  v: This is not the time of the original consent, but the time that this statement was made or derived.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.dateTime
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: FinancialConsent effectiveTime
mapping:
  identity:
    v: w5
  map:
    v: when.recorded
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.14
  comment:
    v: DateTime

id:
  v: Consent.consentingParty
path:
  v: Consent.consentingParty
short:
  v: Who is agreeing to the policy and exceptions
definition:
  v: Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.
comment:
  v: Commonly, the patient the consent pertains to is the consentor, but particularly for young and old people, it may be some other person - e.g. a legal guardian.
alias:
  v: consentor
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.consentingParty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson|2.0.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-organization|2.0.6
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-organization
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-patient|2.2.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-patient
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|2.0.7
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: who.actor
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.7
  comment:
    v: Author

id:
  v: Consent.consentingParty.id
path:
  v: Consent.consentingParty.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: Consent.consentingParty.extension
path:
  v: Consent.consentingParty.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: Consent.consentingParty.extension:practitionerRole
path:
  v: Consent.consentingParty.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: Consent.consentingParty.reference
path:
  v: Consent.consentingParty.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: Consent.consentingParty.identifier
path:
  v: Consent.consentingParty.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: Consent.consentingParty.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Consent.consentingParty.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: Consent.actor
path:
  v: Consent.actor
short:
  v: Who|what controlled by this consent (or group, by role)
definition:
  v: Who or what is controlled by this consent. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.actor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
meaning when missing:
  v: There is no specific actor associated with the consent
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: w5
  map:
    v: who.actor

id:
  v: Consent.actor.id
path:
  v: Consent.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: Consent.actor.extension
path:
  v: Consent.actor.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: Consent.actor.modifierExtension
path:
  v: Consent.actor.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: Consent.actor.role
path:
  v: Consent.actor.role
short:
  v: How the actor is involved
definition:
  v: How the individual is involved in the resources content that is described in the consent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.actor.role
  min:
    v: 1
  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: ConsentActorRole
  strength:
    v: extensible
  description:
    v: How an actor is involved in the consent considerations
  value set: Reference
    l: 1.8
    l: .0
    reference:
      v: http://hl7.org/fhir/ValueSet/security-role-type|1.8.0

id:
  v: Consent.actor.reference
path:
  v: Consent.actor.reference
short:
  v: Resource for the actor (or group, by role)
definition:
  v: The resource that identifies the actor. To identify a actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers').
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.actor.reference
  min:
    v: 1
  max:
    v: 1
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/Group
    l: Group
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-organization|2.0.6
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-organization
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-patient|2.2.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-patient
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|2.0.7
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson|2.0.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson

id:
  v: Consent.actor.reference.id
path:
  v: Consent.actor.reference.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: Consent.actor.reference.extension
path:
  v: Consent.actor.reference.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: Consent.actor.reference.extension:practitionerRole
path:
  v: Consent.actor.reference.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: Consent.actor.reference.reference
path:
  v: Consent.actor.reference.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: Consent.actor.reference.identifier
path:
  v: Consent.actor.reference.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: Consent.actor.reference.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Consent.actor.reference.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: Consent.action
path:
  v: Consent.action
short:
  v: Actions controlled by this consent
definition:
  v: Actions controlled by this consent.
comment:
  v: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.action
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
meaning when missing:
  v: all actions
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentAction
  strength:
    v: example
  description:
    v: Detailed codes for the consent action.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-action|3.0.2

id:
  v: Consent.organization
path:
  v: Consent.organization
short:
  v: Custodian of the consent
definition:
  v: The organization that manages the consent, and the framework within which it is executed.
alias:
  v: custodian
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.organization
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-organization|2.0.6
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-organization
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: who.witness

id:
  v: Consent.source[x]
path:
  v: Consent.source[x]
short:
  v: AdvanceDirective
definition:
  v: A (written) statement in which a person indicates wishes concerning future medical action, in the event that this person is at that point no longer (deemed) capable of taking decisions on the matter.
comment:
  v: The cardinality of the source element does not comply with the cardinality of the AdvanceDirective concept (NL-CM:2.1.14) specified in the HCIM TreatmentDirective. Additional AdvanceDirective references can be added using the additionalSources extension.
alias:
  v: Wilsverklaring
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.source[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-AdvanceDirective|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-AdvanceDirective
is summary:
  v: true
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 65
  comment:
    v: Wilsverklaring
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 101
  comment:
    v: Wilsverklaring
mapping:
  identity:
    v: hcim-treatmentdirective-v1.0.1-2015EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: LivingWill
mapping:
  identity:
    v: hcim-treatmentdirective-v3.0-2016EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: LivingWill
mapping:
  identity:
    v: hcim-treatmentdirective-v3.1-2017EN
  map:
    v: NL-CM:2.1.14
  comment:
    v: AdvanceDirective

id:
  v: Consent.policy
path:
  v: Consent.policy
short:
  v: Policies covered by this consent
definition:
  v: The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.policy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Consent.policy.id
path:
  v: Consent.policy.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: Consent.policy.extension
path:
  v: Consent.policy.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: Consent.policy.modifierExtension
path:
  v: Consent.policy.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: Consent.policy.authority
path:
  v: Consent.policy.authority
short:
  v: Enforcement source for policy
definition:
  v: Entity or Organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.policy.authority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
condition:
  v: ppc-1

id:
  v: Consent.policy.uri
path:
  v: Consent.policy.uri
short:
  v: Specific policy covered by this consent
definition:
  v: The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.
comment:
  v: Either `.policy` or `.policyRule` should exist following core constraint ppc-1. If no explicit value is recorded, a fallback is to populate `.policy.uri` with <https://wetten.overheid.nl/> if the treatment directive is recorded following Dutch law and regulations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.policy.uri
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
example:
  label:
    v: General Dutch Law
  value: Uri
    v: http://wetten.overheid.nl/
    l: wetten.overheid.nl
condition:
  v: ppc-1

id:
  v: Consent.policyRule
path:
  v: Consent.policyRule
short:
  v: Policy that this consents to
definition:
  v: A referece to the specific computable policy.
comment:
  v: If the policy reference is not known, the resource cannot be processed. Where the reference is absent, there is no particular policy other than what is expressed directly in the consent resource.
requirements:
  v: Might be a unique identifier of a policy set in XACML, or other rules engine.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.policyRule
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
condition:
  v: ppc-1
is summary:
  v: true

id:
  v: Consent.securityLabel
path:
  v: Consent.securityLabel
short:
  v: Security Labels that define affected resources
definition:
  v: A set of security labels that define which resources are controlled by this consent. If more than one label is specified, all resources must have all the specified labels.
comment:
  v: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. Not all of the security labels make sense for use in this element (may define a narrower value set?).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.securityLabel
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SecurityLabels
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/security-labels|3.0.2

id:
  v: Consent.purpose
path:
  v: Consent.purpose
short:
  v: Context of activities for which the agreement is made
definition:
  v: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this consent.
comment:
  v: This element is for discoverability / documentation, and does not modify or qualify the policy (e.g. the policy itself describes the purposes for which it applies).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.purpose
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: PurposeOfUse
  strength:
    v: extensible
  description:
    v: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels
  value set: Reference
    l: 2014
    l: -03
    l: -26
    reference:
      v: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse|2014-03-26

id:
  v: Consent.dataPeriod
path:
  v: Consent.dataPeriod
short:
  v: Timeframe for data controlled by this consent
definition:
  v: Clinical or Operational Relevant period of time that bounds the data controlled by this consent.
comment:
  v: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.dataPeriod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true

id:
  v: Consent.data
path:
  v: Consent.data
short:
  v: Data controlled by this consent
definition:
  v: The resources controlled by this consent, if specific resources are referenced.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.data
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
meaning when missing:
  v: all data
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: Role

id:
  v: Consent.data.id
path:
  v: Consent.data.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: Consent.data.extension
path:
  v: Consent.data.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: Consent.data.modifierExtension
path:
  v: Consent.data.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: Consent.data.meaning
path:
  v: Consent.data.meaning
short:
  v: instance | related | dependents | authoredby
definition:
  v: How the resource reference is interpreted when testing consent restrictions.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.data.meaning
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentDataMeaning
  strength:
    v: required
  description:
    v: How a resource reference is interpreted when testing consent restrictions
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2

id:
  v: Consent.data.reference
path:
  v: Consent.data.reference
short:
  v: The actual data reference
definition:
  v: A reference to a specific resource that defines which resources are covered by this consent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.data.reference
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true

id:
  v: Consent.except
path:
  v: Consent.except
short:
  v: Additional rule - addition or removal of permissions
definition:
  v: An exception to the base policy of this consent. An exception can be an addition or removal of access permissions.
comment:
  v: If a Consent.except is used in accordance with the HCIM TreatmentDirective, then the only time an except is in order, is when the value of the element NL-CM:2.1.4 TreatmentPermitted is YES_BUT/JA_MAAR.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except
  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

id:
  v: Consent.except.id
path:
  v: Consent.except.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: Consent.except.extension
path:
  v: Consent.except.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: 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: Consent.except.extension:restrictions
path:
  v: Consent.except.extension
slice name:
  v: restrictions
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Restrictions|2.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Restrictions
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/zib-TreatmentDirective-Restrictions|2.0.2
    l: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentDirective-Restrictions
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 61
  comment:
    v: Beperkingen
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Consent.except.modifierExtension
path:
  v: Consent.except.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: Consent.except.type
path:
  v: Consent.except.type
short:
  v: deny | permit
definition:
  v: Action to take - permit or deny - when the exception conditions are met.
comment:
  v: If a Consent.except is used in accordance with the HCIM TreatmentDirective and the value of the element NL-CM:2.1.4 TreatmentPermitted is YES_BUT/JA_MAAR, then the value of this element SHALL be "deny"
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.except.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentExceptType
  strength:
    v: required
  description:
    v: How an exception statement is applied, such as adding additional consent or removing consent
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2

id:
  v: Consent.except.period
path:
  v: Consent.except.period
short:
  v: Timeframe for this exception
definition:
  v: The timeframe in this exception is valid.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.except.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true

id:
  v: Consent.except.actor
path:
  v: Consent.except.actor
short:
  v: Who|what controlled by this exception (or group, by role)
definition:
  v: Who or what is controlled by this Exception. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.actor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
meaning when missing:
  v: There is no specific actor associated with the exception
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

id:
  v: Consent.except.actor.id
path:
  v: Consent.except.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: Consent.except.actor.extension
path:
  v: Consent.except.actor.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: Consent.except.actor.modifierExtension
path:
  v: Consent.except.actor.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: Consent.except.actor.role
path:
  v: Consent.except.actor.role
short:
  v: How the actor is involved
definition:
  v: How the individual is involved in the resources content that is described in the exception.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.except.actor.role
  min:
    v: 1
  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: ConsentActorRole
  strength:
    v: extensible
  description:
    v: How an actor is involved in the consent considerations
  value set: Reference
    l: 1.8
    l: .0
    reference:
      v: http://hl7.org/fhir/ValueSet/security-role-type|1.8.0

id:
  v: Consent.except.actor.reference
path:
  v: Consent.except.actor.reference
short:
  v: Resource for the actor (or group, by role)
definition:
  v: The resource that identifies the actor. To identify a actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers').
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.except.actor.reference
  min:
    v: 1
  max:
    v: 1
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/Group
    l: Group
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-organization|2.0.6
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-organization
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-patient|2.2.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-patient
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner|2.0.7
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson|2.0.5
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson

id:
  v: Consent.except.actor.reference.id
path:
  v: Consent.except.actor.reference.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: Consent.except.actor.reference.extension
path:
  v: Consent.except.actor.reference.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: Consent.except.actor.reference.extension:practitionerRole
path:
  v: Consent.except.actor.reference.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: Consent.except.actor.reference.reference
path:
  v: Consent.except.actor.reference.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: Consent.except.actor.reference.identifier
path:
  v: Consent.except.actor.reference.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: Consent.except.actor.reference.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Consent.except.actor.reference.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: Consent.except.action
path:
  v: Consent.except.action
short:
  v: Actions controlled by this exception
definition:
  v: Actions controlled by this Exception.
comment:
  v: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.action
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
meaning when missing:
  v: all actions
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentAction
  strength:
    v: example
  description:
    v: Detailed codes for the consent action.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-action|3.0.2

id:
  v: Consent.except.securityLabel
path:
  v: Consent.except.securityLabel
short:
  v: Security Labels that define affected resources
definition:
  v: A set of security labels that define which resources are controlled by this exception. If more than one label is specified, all resources must have all the specified labels.
comment:
  v: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. Not all of the security labels make sense for use in this element (may define a narrower value set?).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.securityLabel
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SecurityLabels
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/security-labels|3.0.2

id:
  v: Consent.except.purpose
path:
  v: Consent.except.purpose
short:
  v: Context of activities covered by this exception
definition:
  v: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception.
comment:
  v: E.g. if the purpose is 'research', then the operational context must be research, in order for the consent to apply. Not all of the security labels make sense for use in this element (may define a narrower value set?).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.purpose
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: PurposeOfUse
  strength:
    v: extensible
  description:
    v: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels
  value set: Reference
    l: 2014
    l: -03
    l: -26
    reference:
      v: http://hl7.org/fhir/ValueSet/v3-PurposeOfUse|2014-03-26

id:
  v: Consent.except.class
path:
  v: Consent.except.class
short:
  v: e.g. Resource Type, Profile, or CDA etc
definition:
  v: The class of information covered by this exception. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.
comment:
  v: Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.class
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentContentClass
  strength:
    v: extensible
  description:
    v: The class (type) of information a consent rule covers
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-content-class|3.0.2

id:
  v: Consent.except.code
path:
  v: Consent.except.code
short:
  v: e.g. LOINC or SNOMED CT code, etc in the content
definition:
  v: If this code is found in an instance, then the exception applies.
comment:
  v: Typical use of this is a Document code with class = CDA.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.code
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentContentCode
  strength:
    v: example
  description:
    v: If this code is found in an instance, then the exception applies
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-content-code|3.0.2

id:
  v: Consent.except.dataPeriod
path:
  v: Consent.except.dataPeriod
short:
  v: Timeframe for data controlled by this exception
definition:
  v: Clinical or Operational Relevant period of time that bounds the data controlled by this exception.
comment:
  v: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Consent.except.dataPeriod
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true

id:
  v: Consent.except.data
path:
  v: Consent.except.data
short:
  v: Data controlled by this exception
definition:
  v: The resources controlled by this exception, if specific resources are referenced.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Consent.except.data
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
meaning when missing:
  v: all data
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: Role

id:
  v: Consent.except.data.id
path:
  v: Consent.except.data.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: Consent.except.data.extension
path:
  v: Consent.except.data.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: Consent.except.data.modifierExtension
path:
  v: Consent.except.data.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: Consent.except.data.meaning
path:
  v: Consent.except.data.meaning
short:
  v: instance | related | dependents | authoredby
definition:
  v: How the resource reference is interpreted when testing consent restrictions.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.except.data.meaning
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConsentDataMeaning
  strength:
    v: required
  description:
    v: How a resource reference is interpreted when testing consent restrictions
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2

id:
  v: Consent.except.data.reference
path:
  v: Consent.except.data.reference
short:
  v: The actual data reference
definition:
  v: A reference to a specific resource that defines which resources are covered by this consent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Consent.except.data.reference
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true

element:
  id:
    v: Consent
  path:
    v: Consent
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 54
    comment:
      v: Behandelgrens (BehandelAanwijzing)
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 90
    comment:
      v: Afspraak uitzetten ICD (BehandelAanwijzing)
element:
  id:
    v: Consent.extension
  path:
    v: Consent.extension
  min:
    v: 1
element:
  id:
    v: Consent.extension:verification
  path:
    v: Consent.extension
  slice name:
    v: verification
  min:
    v: 1
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 55
    comment:
      v: Verificatie
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 91
    comment:
      v: Verificatie
element:
  id:
    v: Consent.extension:verification.extension
  path:
    v: Consent.extension.extension
  min:
    v: 1
element:
  id:
    v: Consent.extension:verification.extension:Verified
  path:
    v: Consent.extension.extension
  slice name:
    v: Verified
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 56
    comment:
      v: Geverifieerd
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 92
    comment:
      v: Geverifieerd
element:
  id:
    v: Consent.extension:verification.extension:Verified.value[x]
  path:
    v: Consent.extension.extension.value[x]
  min:
    v: 1
  fixed: Boolean
    v: true
element:
  id:
    v: Consent.extension:verification.extension:VerifiedWith
  path:
    v: Consent.extension.extension
  slice name:
    v: VerifiedWith
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 57
    comment:
      v: GeverifieerdBij
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 93
    comment:
      v: GeverifieerdBij
element:
  id:
    v: Consent.extension:verification.extension:VerificationDate
  path:
    v: Consent.extension.extension
  slice name:
    v: VerificationDate
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 58
    comment:
      v: VerificatieDatum
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 94
    comment:
      v: VerificatieDatum
element:
  id:
    v: Consent.extension:comment
  path:
    v: Consent.extension
  slice name:
    v: comment
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 64
    comment:
      v: Toelichting
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 100
    comment:
      v: Toelichting
element:
  id:
    v: Consent.extension:treatment
  path:
    v: Consent.extension
  slice name:
    v: treatment
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 59
    comment:
      v: Behandeling
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 95
    comment:
      v: Behandeling van uitzetten ICD
element:
  id:
    v: Consent.extension:additionalSources
  path:
    v: Consent.extension
  slice name:
    v: additionalSources
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 65
element:
  id:
    v: Consent.modifierExtension
  path:
    v: Consent.modifierExtension
  min:
    v: 1
element:
  id:
    v: Consent.modifierExtension:treatmentPermitted
  path:
    v: Consent.modifierExtension
  slice name:
    v: treatmentPermitted
  comment:
    v: If the value of the element NL-CM:2.1.4 TreatmentPermitted is YES_BUT/JA_MAAR, then the value of NL-CM:2.1.5 Restrictions is expected under Consent.except. Additional terminology mapping guidance, in addition to the default zib/nl-core guidance for "Afspraak uitzetten ICD" (dataset id 96) values: - _Ja_ -> _Yes_; - No value is mapped to _No_; - _Nee, nog geen besluit genomen_ -> _ASKU_ _Niet besproken_ -> _NASK_
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 60

v: BehandelingToegestaan

identity:
  v: pall-izppz-zib2017v2025-03-11
map:
  v: 96
comment:
  v: Afspraak uitzetten ICD (BehandelingToegestaan)

id:
  v: Consent.modifierExtension:treatmentPermitted.value[x]
path:
  v: Consent.modifierExtension.value[x]
binding:
  strength:
    v: extensible
  value set: Reference
    l: 1.0
    l: .0
    reference:
      v: https://api.iknl.nl/docs/pzp/stu3/ValueSet/ACP-YesNoYesWithRestrictionsUnknownVS|1.0.0-rc1

id:
  v: Consent.patient
path:
  v: Consent.patient
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

id:
  v: Consent.period.start
path:
  v: Consent.period.start
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 62
  comment:
    v: BeginDatum
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 98
  comment:
    v: BeginDatum

id:
  v: Consent.period.end
path:
  v: Consent.period.end
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 63
  comment:
    v: EindDatum
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 99
  comment:
    v: EindDatum

id:
  v: Consent.source[x]
path:
  v: Consent.source[x]
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-AdvanceDirective|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-AdvanceDirective
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 65
  comment:
    v: Wilsverklaring
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 101
  comment:
    v: Wilsverklaring

id:
  v: Consent.except.extension:restrictions
path:
  v: Consent.except.extension
slice name:
  v: restrictions
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 61
  comment:
    v: Beperkingen