ACP-Communication
type: StructureDefinition
node role: treeRoot
id:
  v: ACP-Communication
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition ACP-Communication Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Communication 0..* Communication A record of information transmitted from a sender to a receiver #xD; subject 0..1 Reference(Patient(1.0.0-alpha1)) Focus of message #xD; recipient 0..* Reference(Patient(1.0.0-alpha1)) Message recipient #xD; topic 0..* Reference(Resource) Focal resources #xD; sent 0..1 dateTime When sent #xD; sender 0..1 Reference(HealthProfessional Practitioner(1.0.0-alpha1)) Message sender #xD; reasonCode 1..1 CodeableConcept Indication for message Required Pattern: At least the following #xD; coding 1..* Coding Code defined by a terminology system Fixed Value: (Complex) #xD; system 1..1 uri Identity of the terminology system Fixed Value: http://snomed.info/sct #xD; code 1..1 code Symbol in syntax defined by the system Fixed Value: 713603004 #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Communication
version:
  v: 1.0.0-alpha1
name:
  v: ACPCommunication
title:
  v: Communication
status:
  v: draft
experimental:
  v: false
date:
  v: 2025-10-27T14:16:14+00:00
publisher:
  v: IKNL
contact:
  telecom:
    system:
      v: url
    value:
      v: https://www.iknl.nl
description:
  v: Communication events that have taken place in context of Advance Care Planning. Based on Communication resource.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/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/ad/#/pall-izppz-/scenarios/scenarios/2.16.840.1.113883.2.4.3.11.60.117.4.14/2025-08-05T00:00:00
  name:
    v: PZP zib2017 dataset
kind:
  v: resource
abstract:
  v: false
type:
  v: Communication
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Communication
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Communication
    path:
      v: Communication
    short:
      v: A record of information transmitted from a sender to a receiver
    definition:
      v: An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency was notified about a reportable condition.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Communication
      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
    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
    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
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
      expression:
        v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: com-1
      severity:
        v: error
      human:
        v: Not Done Reason can only be specified if NotDone is "true"
      expression:
        v: notDone or notDoneReason.exists().not()
      xpath:
        v: f:notDone/@value=true() or not(exists(f:notDoneReason))
      source:
        v: http://hl7.org/fhir/StructureDefinition/Communication
    mapping:
      identity:
        v: pall-izppz-zib2017v2025-03-11
      map:
        v: 187
      comment:
        v: Heeft u patient geïnformeerd over eigen verantwoordelijkheid om deze behandelafspraken met naasten te bespreken?
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: workflow
      map:
        v: Event
    mapping:
      identity:
        v: w5
      map:
        v: workflow.encounter
  element:
    id:
      v: Communication.id
    path:
      v: Communication.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
    is summary:
      v: true
  element:
    id:
      v: Communication.meta
    path:
      v: Communication.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.

v: 0

v: 1

path:
  v: Resource.meta
min:
  v: 0
max:
  v: 1

code:
  v: Meta

v: true

id:
  v: Communication.implicitRules
path:
  v: Communication.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
is modifier:
  v: true
is summary:
  v: true

id:
  v: Communication.language
path:
  v: Communication.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
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    value: Reference
      link: 3.0
      link: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    link: 3.0
    link: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: Communication.text
path:
  v: Communication.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
condition:
  v: dom-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: Communication.contained
path:
  v: Communication.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
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Communication.extension
path:
  v: Communication.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
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Communication.modifierExtension
path:
  v: Communication.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
is modifier:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Communication.identifier
path:
  v: Communication.identifier
short:
  v: Unique identifier
definition:
  v: Identifiers associated with this Communication that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: Communication.definition
path:
  v: Communication.definition
short:
  v: Instantiates protocol or definition
definition:
  v: A protocol, guideline, or other definition that was adhered to in whole or in part by this communication event.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.definition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.definition

id:
  v: Communication.basedOn
path:
  v: Communication.basedOn
short:
  v: Request fulfilled by this communication
definition:
  v: An order, proposal or plan fulfilled in whole or in part by this Communication.
comment:
  v: This must point to some sort of a 'Request' resource, such as CarePlan, CommunicationRequest, ReferralRequest, MedicationRequest, etc.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.basedOn

id:
  v: Communication.partOf
path:
  v: Communication.partOf
short:
  v: Part of this action
definition:
  v: Part of this action.
alias:
  v: container
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.partOf
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.partOf

id:
  v: Communication.status
path:
  v: Communication.status
short:
  v: preparation | in-progress | suspended | aborted | completed | entered-in-error
definition:
  v: The status of the transmission.
comment:
  v: This element is labeled as a modifier because the status contains the codes aborted and entered-in-error that mark the communication as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Communication.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CommunicationStatus
  strength:
    v: required
  description:
    v: The status of the communication.
  value set: Reference
    link: 3.0
    link: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/event-status|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: Communication.notDone
path:
  v: Communication.notDone
short:
  v: Communication did not occur
definition:
  v: If true, indicates that the described communication event did not actually occur.
comment:
  v: This element is labeled as a modifier because it marks the communication as a communication that did not occur. The more attributes are populated, the more constrained the negated statement is.
requirements:
  v: Creating a Communication where notDone is true is intended for situations where there's a need for a specific statement in the record about something not being done. If the need is merely to indicate that a request wasn't fulfilled, that should be handled using Task.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.notDone
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.notDone

id:
  v: Communication.notDoneReason
path:
  v: Communication.notDoneReason
short:
  v: Why communication did not occur
definition:
  v: Describes why the communication event did not occur in coded and/or textual form.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.notDoneReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
condition:
  v: com-1
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CommunicationNotDoneReason
  strength:
    v: example
  description:
    v: Codes for the reason why a communication was not done.
  value set: Reference
    link: 3.0
    link: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/communication-not-done-reason|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Event.notDoneReason

id:
  v: Communication.category
path:
  v: Communication.category
short:
  v: Message category
definition:
  v: The type of message conveyed such as alert, notification, reminder, instruction, etc.
comment:
  v: There may be multiple axes of categorization and one communication may serve multiple purposes.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CommunicationCategory
  strength:
    v: example
  description:
    v: Codes for general categories of communications such as alerts, instruction, etc.
  value set: Reference
    link: 3.0
    link: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/communication-category|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: Communication.medium
path:
  v: Communication.medium
short:
  v: A channel of communication
definition:
  v: A channel that was used for this communication (e.g. email, fax).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.medium
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CommunicationMedium
  strength:
    v: example
  description:
    v: Codes for communication mediums such as phone, fax, email, in person, etc.
  value set: Reference
    link: 2016
    link: -11
    reference:
      v: http://hl7.org/fhir/ValueSet/v3-ParticipationMode|2016-11-11

id:
  v: Communication.subject
path:
  v: Communication.subject
short:
  v: Focus of message
definition:
  v: The patient or group that was the focus of this communication.
alias:
  v: patient
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-alpha1
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: who.focus

id:
  v: Communication.recipient
path:
  v: Communication.recipient
short:
  v: Message recipient
definition:
  v: The entity (e.g. person, organization, clinical information system, or device) which was the target of the communication. If receipts need to be tracked by individual, a separate resource instance will need to be created for each recipient. Multiple recipient communications are intended where either a receipt(s) is not tracked (e.g. a mass mail-out) or is captured in aggregate (all emails confirmed received by a particular time).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.recipient
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-alpha1
mapping:
  identity:
    v: w5
  map:
    v: who.focus

id:
  v: Communication.topic
path:
  v: Communication.topic
short:
  v: Focal resources
definition:
  v: The resources which were responsible for or related to producing this communication.
comment:
  v: For information patient about own responsibility the following text may be added to the `topic.text` element: Informing the patient about their own responsibility to discuss these treatment agreements with relatives.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.topic
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
mapping:
  identity:
    v: w5
  map:
    v: context

id:
  v: Communication.context
path:
  v: Communication.context
short:
  v: Encounter or episode leading to message
definition:
  v: The encounter within which the communication was sent.
alias:
  v: encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.context
mapping:
  identity:
    v: w5
  map:
    v: context

id:
  v: Communication.sent
path:
  v: Communication.sent
short:
  v: When sent
definition:
  v: The time when this communication was sent.
comment:
  v: Indicate the date and preferrably time when the communication was sent
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.sent
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrenceDateTime (Invariant: maps to either sent OR received)
mapping:
  identity:
    v: w5
  map:
    v: when.init

id:
  v: Communication.received
path:
  v: Communication.received
short:
  v: When received
definition:
  v: The time when this communication arrived at the destination.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.received
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrenceDateTime (Invariant: maps to either sent OR received)
mapping:
  identity:
    v: w5
  map:
    v: when.done

id:
  v: Communication.sender
path:
  v: Communication.sender
short:
  v: Message sender
definition:
  v: The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Communication.sender
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-alpha1
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: w5
  map:
    v: who.actor

id:
  v: Communication.reasonCode
path:
  v: Communication.reasonCode
short:
  v: Indication for message
definition:
  v: The reason or justification for the communication.
comment:
  v: Textual reasons can be caprued using reasonCode.text.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Communication.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
pattern: CodeableConcept
  coding: http://snomed.info/id/713603004
    system:
      v: http://snomed.info/sct
    code:
      v: 713603004
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: CommunicationReason
  strength:
    v: example
  description:
    v: Codes for describing reasons for the occurrence of a communication.
  value set: Reference
    link: 3.0
    link: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/clinical-findings|3.0.2
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonCodableConcept
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: Communication.reasonReference
path:
  v: Communication.reasonReference
short:
  v: Why was communication done?
definition:
  v: Indicates another resource whose existence justifies this communication.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonReference
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: Communication.payload
path:
  v: Communication.payload
short:
  v: Message payload
definition:
  v: Text, attachment(s), or resource(s) that was communicated to the recipient.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.payload
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element

id:
  v: Communication.payload.id
path:
  v: Communication.payload.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
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Communication.payload.extension
path:
  v: Communication.payload.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
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Communication.payload.modifierExtension
path:
  v: Communication.payload.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
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Communication.payload.content[x]
path:
  v: Communication.payload.content[x]
short:
  v: Message part content
definition:
  v: A communicated content (or for multi-part communications, one portion of the communication).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Communication.payload.content[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
type:
  code:
    v: Attachment
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource

id:
  v: Communication.note
path:
  v: Communication.note
short:
  v: Comments made about the communication
definition:
  v: Additional notes or commentary about the communication by the sender, receiver or other interested parties.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Communication.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
mapping:
  identity:
    v: workflow
  map:
    v: Event.note

element:
  id:
    v: Communication
  path:
    v: Communication
  mapping:
    identity:
      v: pall-izppz-zib2017v2025-03-11
    map:
      v: 187
    comment:
      v: Heeft u patient geïnformeerd over eigen verantwoordelijkheid om deze behandelafspraken met naasten te bespreken?
element:
  id:
    v: Communication.subject
  path:
    v: Communication.subject
  type:
    code:
      v: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-alpha1
element:
  id:
    v: Communication.recipient
  path:
    v: Communication.recipient
  type:
    code:
      v: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-Patient|1.0.0-alpha1
element:
  id:
    v: Communication.topic
  path:
    v: Communication.topic
  comment:
    v: For information patient about own responsibility the following text may be added to the `topic.text` element: Informing the patient about their own responsibility to discuss these treatment agreements with relatives.
element:
  id:
    v: Communication.sent
  path:
    v: Communication.sent
  comment:
    v: Indicate the date and preferrably time when the communication was sent
element:
  id:
    v: Communication.sender
  path:
    v: Communication.sender
  type:
    code:
      v: Reference
    target profile:
      v: https://api.iknl.nl/docs/pzp/stu3/StructureDefinition/ACP-HealthProfessional-Practitioner|1.0.0-alpha1
element:
  id:
    v: Communication.reasonCode
  path:
    v: Communication.reasonCode
  min:
    v: 1
  max:
    v: 1
  pattern: CodeableConcept
    coding: http://snomed.info/id/713603004
      system:
        v: http://snomed.info/sct
      code:
        v: 713603004