ACP-Encounter
type: StructureDefinition
node role: treeRoot
id:
  v: ACP-Encounter
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ACP-Encounter Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Encounter 0..* Zib Encounter(2.1.6) Encounter #xD; class 1..1 Coding ContactType #xD; subject 1..1 Reference(ACP Patient(1.0.0-rc1)) The patient ro group present at the encounter #xD; participant 0..* BackboneElement List of participants involved in the encounter #xD; individual 0..1 Reference(ACP ContactPerson(1.0.0-rc1) | ACP HealthProfessional Practitioner(1.0.0-rc1)) ContactWith #xD; period #xD; start 1..1 dateTime StartDateTime #xD; diagnosis #xD; condition 1..1 Reference(HCIM Procedure(2.1.12) | HCIM Problem(3.0.7)) Condition that this encounter was created for #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-Encounter
  l: ACP-Encounter
version:
  v: 1.0.0-rc1
name:
  v: ACPEncounter
title:
  v: ACP Encounter
status:
  v: draft
experimental:
  v: false
date:
  v: 2026-01-20T15:21:11+00:00
publisher:
  v: IKNL
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.iknl.nl
description:
  v: Any interaction, regardless of the situation, between a patient and the healthcare provider, in which the healthcare provider has primary responsibility for diagnosing, evaluating and treating the patient’s condition and informing the patient. These can be visits, appointments or non face-to-face interactions. Based on nl-core-Encounter and HCIM Encounter.
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-encounter-v3.1-2017EN
  uri:
    v: https://zibs.nl/wiki/Encounter-v3.1(2017EN)
    l: Encounter-v3.1(2017EN)
  name:
    v: HCIM Encounter-v3.1(2017EN)
mapping:
  identity:
    v: hcim-healthprofessional-v3.2-2017EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v3.2(2017EN)
    l: HealthProfessional-v3.2(2017EN)
  name:
    v: HCIM HealthProfessional-v3.2(2017EN)
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  uri:
    v: https://zibs.nl/wiki/BasicElements-v1.0(2017EN)
    l: BasicElements-v1.0(2017EN)
  name:
    v: HCIM BasicElements-v1.0(2017EN)
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/Encounter-v3.0(2016EN)
    l: Encounter-v3.0(2016EN)
  name:
    v: HCIM Encounter-v3.0(2016EN)
mapping:
  identity:
    v: hcim-healthprofessional-v3.0-2016EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v3.0(2016EN)
    l: HealthProfessional-v3.0(2016EN)
  name:
    v: HCIM HealthProfessional-v3.0(2016EN)
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  uri:
    v: https://zibs.nl/wiki/Encounter-v1.2(2015EN)
    l: Encounter-v1.2(2015EN)
  name:
    v: HCIM Encounter-v1.2(2015EN)
mapping:
  identity:
    v: hcim-healthprofessional-v1.2.1-2015EN
  uri:
    v: https://zibs.nl/wiki/HealthProfessional-v1.2.1(2015EN)
    l: HealthProfessional-v1.2.1(2015EN)
  name:
    v: HCIM HealthProfessional-v1.2.1(2015EN)
kind:
  v: resource
abstract:
  v: false
type:
  v: Encounter
base definition:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-Encounter|2.1.6
  l: http://nictiz.nl/fhir/StructureDefinition/zib-Encounter
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 2.1.6
  element:
    id:
      v: Encounter
    path:
      v: Encounter
    short:
      v: Encounter
    definition:
      v: An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.
    alias:
      v: Visit
    alias:
      v: Contact
    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))]))

identity:
  v: pall-izppz-zib2017v2025-03-11
map:
  v: 764
comment:
  v: Contact

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

identity:
  v: rim
map:
  v: Encounter[@moodCode='EVN']

identity:
  v: w5
map:
  v: workflow.encounter

identity:
  v: hcim-encounter-v1.2-2015EN
map:
  v: NL-CM:15.1.1
comment:
  v: Contact

identity:
  v: hcim-encounter-v3.0-2016EN
map:
  v: NL-CM:15.1.1
comment:
  v: Contact

identity:
  v: hcim-encounter-v3.1-2017EN
map:
  v: NL-CM:15.1.1
comment:
  v: Encounter

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

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

id:
  v: Encounter.identifier
path:
  v: Encounter.identifier
short:
  v: Identifier(s) by which this encounter is known
definition:
  v: Identifier(s) by which this encounter is known.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: PV1-19
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: Encounter.status
path:
  v: Encounter.status
short:
  v: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
definition:
  v: planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
comment:
  v: Note that internal business rules will detemine the appropraite transitions that may occur between statuses (and also classes). This element is labeled as a modifier because the status contains codes that mark the encounter as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.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: EncounterStatus
  strength:
    v: required
  description:
    v: Current state of the encounter
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-status|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16
mapping:
  identity:
    v: rim
  map:
    v: .statusCode
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: Encounter.statusHistory
path:
  v: Encounter.statusHistory
short:
  v: List of past encounter statuses
definition:
  v: The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.
comment:
  v: The current status is always found in the current version of the resource, not the status history.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.statusHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.statusHistory.id
path:
  v: Encounter.statusHistory.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: Encounter.statusHistory.extension
path:
  v: Encounter.statusHistory.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: Encounter.statusHistory.modifierExtension
path:
  v: Encounter.statusHistory.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: Encounter.statusHistory.status
path:
  v: Encounter.statusHistory.status
short:
  v: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
definition:
  v: planned | arrived | triaged | in-progress | onleave | finished | cancelled +.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.statusHistory.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: EncounterStatus
  strength:
    v: required
  description:
    v: Current state of the encounter
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-status|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.statusHistory.period
path:
  v: Encounter.statusHistory.period
short:
  v: The time that the episode was in the specified status
definition:
  v: The time that the episode was in the specified status.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.statusHistory.period
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.class
path:
  v: Encounter.class
short:
  v: ContactType
definition:
  v: The type of contact.
alias:
  v: ContactType
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.class
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: EncounterClass
  strength:
    v: extensible
  description:
    v: ContactTypeCodelijst
  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: .15
    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.15.1.1--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 765
  comment:
    v: ContactType
mapping:
  identity:
    v: v2
  map:
    v: PV1-2
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
mapping:
  identity:
    v: w5
  map:
    v: class
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.2
  comment:
    v: ContactType
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.2
  comment:
    v: ContactType
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.2
  comment:
    v: ContactType

id:
  v: Encounter.classHistory
path:
  v: Encounter.classHistory
short:
  v: List of past encounter classes
definition:
  v: The class history permits the tracking of the encounters transitions without needing to go through the resource history. This would be used for a case where an admission starts of as an emergency encounter, then transisions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kindof discharge from emergency to inpatient.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.classHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.classHistory.id
path:
  v: Encounter.classHistory.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: Encounter.classHistory.extension
path:
  v: Encounter.classHistory.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: Encounter.classHistory.modifierExtension
path:
  v: Encounter.classHistory.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: Encounter.classHistory.class
path:
  v: Encounter.classHistory.class
short:
  v: inpatient | outpatient | ambulatory | emergency +
definition:
  v: inpatient | outpatient | ambulatory | emergency +.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.classHistory.class
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: EncounterClass
  strength:
    v: extensible
  description:
    v: Classification of the encounter
  value set: Reference
    l: 2014
    l: -03
    l: -26
    reference:
      v: http://hl7.org/fhir/ValueSet/v3-ActEncounterCode|2014-03-26
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.classHistory.period
path:
  v: Encounter.classHistory.period
short:
  v: The time that the episode was in the specified class
definition:
  v: The time that the episode was in the specified class.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.classHistory.period
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.type
path:
  v: Encounter.type
short:
  v: Specific type of encounter
definition:
  v: Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).
comment:
  v: Since there are many ways to further classify encounters, this element is 0..*.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.type
  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: EncounterType
  strength:
    v: example
  description:
    v: The type of encounter
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-type|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: PV1-4 / PV1-18
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: Encounter.priority
path:
  v: Encounter.priority
short:
  v: Indicates the urgency of the encounter
definition:
  v: Indicates the urgency of the encounter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Priority
  strength:
    v: example
  description:
    v: Indicates the urgency of the encounter.
  value set: Reference
    l: 2016
    l: -11
    reference:
      v: http://hl7.org/fhir/ValueSet/v3-ActPriority|2016-11-11
mapping:
  identity:
    v: v2
  map:
    v: PV2-25
mapping:
  identity:
    v: rim
  map:
    v: .priorityCode
mapping:
  identity:
    v: w5
  map:
    v: grade

id:
  v: Encounter.subject
path:
  v: Encounter.subject
short:
  v: The patient ro group present at the encounter
definition:
  v: The patient ro group present at the encounter.
comment:
  v: While the encounter is always about the patient, the patient may not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).
alias:
  v: patient
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: PID-3
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ]/role[classCode=PAT]
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: Encounter.episodeOfCare
path:
  v: Encounter.episodeOfCare
short:
  v: Episode(s) of care that this encounter should be recorded against
definition:
  v: Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem. The association is recorded on the encounter as these are typically created after the episode of care, and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.episodeOfCare
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare|1.1.4
    l: http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: PV1-54, PV1-53
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: w5
  map:
    v: context

id:
  v: Encounter.incomingReferral
path:
  v: Encounter.incomingReferral
short:
  v: The ReferralRequest that initiated this encounter
definition:
  v: The referral request this encounter satisfies (incoming referral).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.incomingReferral
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ReferralRequest
    l: ReferralRequest
mapping:
  identity:
    v: rim
  map:
    v: .reason.ClinicalDocument

id:
  v: Encounter.participant
path:
  v: Encounter.participant
short:
  v: List of participants involved in the encounter
definition:
  v: The list of people responsible for providing the service.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 766
  comment:
    v: ContactMet
mapping:
  identity:
    v: v2
  map:
    v: ROL
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.7
  comment:
    v: Author

id:
  v: Encounter.participant.id
path:
  v: Encounter.participant.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: Encounter.participant.extension
path:
  v: Encounter.participant.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: Encounter.participant.modifierExtension
path:
  v: Encounter.participant.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: Encounter.participant.type
path:
  v: Encounter.participant.type
short:
  v: Role of participant in encounter
definition:
  v: Role of participant in encounter.
comment:
  v: The participant type indicates how an individual partitipates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.participant.type
  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: ParticipantType
  strength:
    v: extensible
  description:
    v: Role of participant in encounter
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-participant-type|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: ROL-3 (or maybe PRT-4)
mapping:
  identity:
    v: rim
  map:
    v: .functionCode

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

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

id:
  v: Encounter.participant.type.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Encounter.participant.type.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: Encounter.participant.period
path:
  v: Encounter.participant.period
short:
  v: Period of time during the encounter that the participant participated
definition:
  v: The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.participant.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: v2
  map:
    v: ROL-5, ROL-6 (or maybe PRT-5)
mapping:
  identity:
    v: rim
  map:
    v: .time

id:
  v: Encounter.participant.individual
path:
  v: Encounter.participant.individual
short:
  v: ContactWith
definition:
  v: The healthcare provider with whom the contact took place. The specialty and role of the healthcare provider can be entered in the HealthcareProvider information model as well.
alias:
  v: ContactMet
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.participant.individual
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-ContactPerson|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-ContactPerson
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-rc1
    l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner
is summary:
  v: true
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 807
  comment:
    v: Gesprek gevoerd door (Zorgverlener)
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 148
  comment:
    v: Gesprek gevoerd in bijzijn van (Contactpersoon)
mapping:
  identity:
    v: v2
  map:
    v: ROL-4
mapping:
  identity:
    v: rim
  map:
    v: .role
mapping:
  identity:
    v: w5
  map:
    v: who
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.7
  comment:
    v: ContactWith
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.7
  comment:
    v: ContactWith
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.7
  comment:
    v: ContactWith

id:
  v: Encounter.participant.individual.id
path:
  v: Encounter.participant.individual.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: Encounter.participant.individual.extension
path:
  v: Encounter.participant.individual.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: Encounter.participant.individual.extension:practitionerRole
path:
  v: Encounter.participant.individual.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: Encounter.participant.individual.reference
path:
  v: Encounter.participant.individual.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: Encounter.participant.individual.identifier
path:
  v: Encounter.participant.individual.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: Encounter.participant.individual.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Encounter.participant.individual.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: Encounter.appointment
path:
  v: Encounter.appointment
short:
  v: The appointment that scheduled this encounter
definition:
  v: The appointment that scheduled this encounter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.appointment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Appointment
    l: Appointment
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: SCH-1 / SCH-2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]

id:
  v: Encounter.period
path:
  v: Encounter.period
short:
  v: The start and end time of the encounter
definition:
  v: The start and end time of the encounter.
comment:
  v: If not (yet) known, the end of the Period may be omitted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: v2
  map:
    v: PV1-44, PV1-45
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime (low & high)
mapping:
  identity:
    v: w5
  map:
    v: when.done
mapping:
  identity:
    v: hcim-basicelements-v1.0-2017EN
  map:
    v: NL-CM:0.0.14
  comment:
    v: DateTime

id:
  v: Encounter.period.id
path:
  v: Encounter.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: Encounter.period.extension
path:
  v: Encounter.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: Encounter.period.start
path:
  v: Encounter.period.start
short:
  v: StartDateTime
definition:
  v: The date and time at which the contact took place.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: BeginDatumTijd
min:
  v: 1
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: 770
  comment:
    v: BeginDatumTijd
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 304
  comment:
    v: Datum van invullen (DatumTijd)
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.3
  comment:
    v: StartDateTime
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.3
  comment:
    v: StartDateTime
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.3
  comment:
    v: StartDateTime

id:
  v: Encounter.period.end
path:
  v: Encounter.period.end
short:
  v: EndDateTime
definition:
  v: The date and time at which the contact ended. If the contact takes place over a period of time, this indicates the end of the period, in the case of an admission, for example. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.
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: EindDatumTijd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.end
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
meaning when missing:
  v: If the end of the period is missing, it means that the period is ongoing
condition:
  v: per-1
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.4
  comment:
    v: EndDateTime
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.4
  comment:
    v: EndDateTime
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.4
  comment:
    v: EndDateTime

id:
  v: Encounter.length
path:
  v: Encounter.length
short:
  v: Quantity of time the encounter lasted (less time absent)
definition:
  v: Quantity of time the encounter lasted. This excludes the time during leaves of absence.
comment:
  v: May differ from the time the Encounter.period lasted because of leave of absence.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.length
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Duration
    l: Duration
mapping:
  identity:
    v: v2
  map:
    v: (PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
mapping:
  identity:
    v: rim
  map:
    v: .lengthOfStayQuantity

id:
  v: Encounter.reason
path:
  v: Encounter.reason
short:
  v: DeviatingResult
definition:
  v: A deviating result which serves as the reason for the contact.
comment:
  v: For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).
alias:
  v: Indication
alias:
  v: Admission diagnosis
alias:
  v: AfwijkendeUitslag
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.reason
  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: EncounterReason
  strength:
    v: preferred
  description:
    v: Reason why the encounter takes place.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-reason|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode
mapping:
  identity:
    v: w5
  map:
    v: why

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

id:
  v: Encounter.reason.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: Encounter.reason.text
short:
  v: DeviatingResult
definition:
  v: A deviating result which serves as the reason for the contact.
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.
alias:
  v: AfwijkendeUitslag
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
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.12
  comment:
    v: DeviatingResult
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.12
  comment:
    v: DeviatingResult
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.12
  comment:
    v: DeviatingResult

id:
  v: Encounter.diagnosis
path:
  v: Encounter.diagnosis
short:
  v: The list of diagnosis relevant to this encounter
definition:
  v: The list of diagnosis relevant to this encounter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.diagnosis
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON]

id:
  v: Encounter.diagnosis.id
path:
  v: Encounter.diagnosis.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: Encounter.diagnosis.extension
path:
  v: Encounter.diagnosis.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: Encounter.diagnosis.modifierExtension
path:
  v: Encounter.diagnosis.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: Encounter.diagnosis.condition
path:
  v: Encounter.diagnosis.condition
short:
  v: Condition that this encounter was created for
definition:
  v: Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis.
comment:
  v: For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).
alias:
  v: Admission diagnosis
alias:
  v: discharge diagnosis
alias:
  v: indication
alias:
  v: Probleem
alias:
  v: Procedure
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.diagnosis.condition
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure|2.1.12
    l: http://nictiz.nl/fhir/StructureDefinition/zib-Procedure
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Problem|3.0.7
    l: http://nictiz.nl/fhir/StructureDefinition/zib-Problem
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 772
  comment:
    v: RedenContact
mapping:
  identity:
    v: pall-izppz-zib2017v2025-03-11
  map:
    v: 775
  comment:
    v: Verrichting
mapping:
  identity:
    v: v2
  map:
    v: Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target
mapping:
  identity:
    v: w5
  map:
    v: why
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.6
  comment:
    v: Problem
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.6
  comment:
    v: Problem
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.6
  comment:
    v: Problem
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.11
  comment:
    v: Procedure
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.11
  comment:
    v: Procedure
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.11
  comment:
    v: Procedure

id:
  v: Encounter.diagnosis.role
path:
  v: Encounter.diagnosis.role
short:
  v: Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)
definition:
  v: Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.diagnosis.role
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: DiagnosisRole
  strength:
    v: preferred
  description:
    v: The type of diagnosis this condition represents
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/diagnosis-role|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.diagnosis.rank
path:
  v: Encounter.diagnosis.rank
short:
  v: Ranking of the diagnosis (for each role type)
definition:
  v: Ranking of the diagnosis (for each role type).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.diagnosis.rank
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
    l: positiveInt
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].priority

id:
  v: Encounter.account
path:
  v: Encounter.account
short:
  v: The set of accounts that may be used for billing for this Encounter
definition:
  v: The set of accounts that may be used for billing for this Encounter.
comment:
  v: The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.account
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Account
    l: Account
mapping:
  identity:
    v: rim
  map:
    v: .pertains.A_Account

id:
  v: Encounter.hospitalization
path:
  v: Encounter.hospitalization
short:
  v: Details about the admission to a healthcare service
definition:
  v: Details about the admission to a healthcare service.
comment:
  v: An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included. The duration recorded in the period of this encounter covers the entire scope of this hospitalization record.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]

id:
  v: Encounter.hospitalization.id
path:
  v: Encounter.hospitalization.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: Encounter.hospitalization.extension
path:
  v: Encounter.hospitalization.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: Encounter.hospitalization.modifierExtension
path:
  v: Encounter.hospitalization.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: Encounter.hospitalization.preAdmissionIdentifier
path:
  v: Encounter.hospitalization.preAdmissionIdentifier
short:
  v: Pre-admission identifier
definition:
  v: Pre-admission identifier.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.preAdmissionIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: v2
  map:
    v: PV1-5
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: Encounter.hospitalization.origin
path:
  v: Encounter.hospitalization.origin
short:
  v: The location from which the patient came before admission
definition:
  v: The location from which the patient came before admission.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.origin
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=ORG].role

id:
  v: Encounter.hospitalization.admitSource
path:
  v: Encounter.hospitalization.admitSource
short:
  v: Origin
definition:
  v: Location from which the patient came before the encounter. In most cases this will only be used when the patient is admitted.
alias:
  v: Herkomst
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.admitSource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: AdmitSource
  strength:
    v: extensible
  description:
    v: HerkomstCodelijst
  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: .15
    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.15.1.2--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: v2
  map:
    v: PV1-14
mapping:
  identity:
    v: rim
  map:
    v: .admissionReferralSourceCode
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.14
  comment:
    v: Origin

id:
  v: Encounter.hospitalization.reAdmission
path:
  v: Encounter.hospitalization.reAdmission
short:
  v: The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
definition:
  v: Whether this hospitalization is a readmission and why if known.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.reAdmission
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ReAdmissionType
  strength:
    v: example
  description:
    v: The reason for re-admission of this hospitalization encounter.
  value set: Reference
    l: 2.8
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/v2-0092|2.8.2
mapping:
  identity:
    v: v2
  map:
    v: PV1-13
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Encounter.hospitalization.dietPreference
path:
  v: Encounter.hospitalization.dietPreference
short:
  v: Diet preferences reported by the patient
definition:
  v: Diet preferences reported by the patient.
comment:
  v: For example a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).
requirements:
  v: Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.hospitalization.dietPreference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: PatientDiet
  strength:
    v: example
  description:
    v: Medical, cultural or ethical food preferences to help with catering requirements.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-diet|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: PV1-38
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]

id:
  v: Encounter.hospitalization.specialCourtesy
path:
  v: Encounter.hospitalization.specialCourtesy
short:
  v: Special courtesies (VIP, board member)
definition:
  v: Special courtesies (VIP, board member).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.hospitalization.specialCourtesy
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Courtesies
  strength:
    v: preferred
  description:
    v: Special courtesies
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-special-courtesy|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: PV1-16
mapping:
  identity:
    v: rim
  map:
    v: .specialCourtesiesCode

id:
  v: Encounter.hospitalization.specialArrangement
path:
  v: Encounter.hospitalization.specialArrangement
short:
  v: Wheelchair, translator, stretcher, etc.
definition:
  v: Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.hospitalization.specialArrangement
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Arrangements
  strength:
    v: preferred
  description:
    v: Special arrangements
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-special-arrangements|3.0.2
mapping:
  identity:
    v: v2
  map:
    v: PV1-15 / OBR-30 / OBR-43
mapping:
  identity:
    v: rim
  map:
    v: .specialArrangementCode

id:
  v: Encounter.hospitalization.destination
path:
  v: Encounter.hospitalization.destination
short:
  v: Location to which the patient is discharged
definition:
  v: Location to which the patient is discharged.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.destination
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
mapping:
  identity:
    v: v2
  map:
    v: PV1-37
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=DST]

id:
  v: Encounter.hospitalization.dischargeDisposition
path:
  v: Encounter.hospitalization.dischargeDisposition
short:
  v: Destination
definition:
  v: Location to which the patient will go after the encounter. In most cases this will only be used when the patient is discharged.
alias:
  v: Bestemming
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.hospitalization.dischargeDisposition
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: DischargeDisp
  strength:
    v: extensible
  description:
    v: BestemmingCodelijst
  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: .15
    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.15.1.3--20171231000000|2017-12-31T00:00:00
mapping:
  identity:
    v: v2
  map:
    v: PV1-36
mapping:
  identity:
    v: rim
  map:
    v: .dischargeDispositionCode
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.16
  comment:
    v: Destination

id:
  v: Encounter.location
path:
  v: Encounter.location
short:
  v: List of locations where the patient has been
definition:
  v: List of locations where the patient has been during this encounter.
comment:
  v: Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type "kind" such as "client's home" and an encounter.class = "virtual".
min:
  v: 0
max:
  v: *
base:
  path:
    v: Encounter.location
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC]

id:
  v: Encounter.location.id
path:
  v: Encounter.location.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: Encounter.location.extension
path:
  v: Encounter.location.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: Encounter.location.modifierExtension
path:
  v: Encounter.location.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: Encounter.location.location
path:
  v: Encounter.location.location
short:
  v: Location the encounter takes place
definition:
  v: The location where the encounter takes place.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Encounter.location.location
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
mapping:
  identity:
    v: v2
  map:
    v: PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
mapping:
  identity:
    v: rim
  map:
    v: .role
mapping:
  identity:
    v: w5
  map:
    v: where

id:
  v: Encounter.location.status
path:
  v: Encounter.location.status
short:
  v: planned | active | reserved | completed
definition:
  v: The status of the participants' presence at the specified location during the period specified. If the participant is is no longer at the location, then the period will have an end date/time.
comment:
  v: When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.location.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: EncounterLocationStatus
  strength:
    v: required
  description:
    v: The status of the location.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/encounter-location-status|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .role.statusCode

id:
  v: Encounter.location.period
path:
  v: Encounter.location.period
short:
  v: Time period during which the patient was present at the location
definition:
  v: Time period during which the patient was present at the location.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.location.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: rim
  map:
    v: .time

id:
  v: Encounter.serviceProvider
path:
  v: Encounter.serviceProvider
short:
  v: Location
definition:
  v: The physical location at which the contact took place.
alias:
  v: Locatie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.serviceProvider
  min:
    v: 0
  max:
    v: 1
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
mapping:
  identity:
    v: v2
  map:
    v: PV1-10 / PL.6 & PL.1 (note: HL7 v2 definition is "the treatment or type of surgery that the patient is scheduled to receive"; seems slightly out of alignment with the concept name 'hospital service'. Would not trust that implementations apply this semantic by default)
mapping:
  identity:
    v: rim
  map:
    v: .particiaption[typeCode=PFM].role
mapping:
  identity:
    v: hcim-encounter-v1.2-2015EN
  map:
    v: NL-CM:15.1.8
  comment:
    v: Location
mapping:
  identity:
    v: hcim-encounter-v3.0-2016EN
  map:
    v: NL-CM:15.1.8
  comment:
    v: Location
mapping:
  identity:
    v: hcim-encounter-v3.1-2017EN
  map:
    v: NL-CM:15.1.8
  comment:
    v: Location

id:
  v: Encounter.partOf
path:
  v: Encounter.partOf
short:
  v: Another Encounter this encounter is part of
definition:
  v: Another Encounter of which this encounter is a part of (administratively or in time).
comment:
  v: This is also used for associating a child's encounter back to the mother's encounter. Refer to the Notes section in the Patient resource for further details.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Encounter.partOf
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    l: Encounter
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]

element:
  id:
    v: Encounter
  path:
    v: Encounter
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 764
    comment:
      v: Contact
element:
  id:
    v: Encounter.class
  path:
    v: Encounter.class
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 765
    comment:
      v: ContactType
element:
  id:
    v: Encounter.subject
  path:
    v: Encounter.subject
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient
element:
  id:
    v: Encounter.participant
  path:
    v: Encounter.participant
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 766
    comment:
      v: ContactMet
element:
  id:
    v: Encounter.participant.individual
  path:
    v: Encounter.participant.individual
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-ContactPerson|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-ContactPerson
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-rc1
      l: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 807
    comment:
      v: Gesprek gevoerd door (Zorgverlener)
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 148
    comment:
      v: Gesprek gevoerd in bijzijn van (Contactpersoon)
element:
  id:
    v: Encounter.period.start
  path:
    v: Encounter.period.start
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 770
    comment:
      v: BeginDatumTijd
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 304
    comment:
      v: Datum van invullen (DatumTijd)
element:
  id:
    v: Encounter.diagnosis.condition
  path:
    v: Encounter.diagnosis.condition
  short:
    v: Condition that this encounter was created for
  definition:
    v: Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis.
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 772
    comment:
      v: RedenContact
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 775
    comment:
      v: Verrichting