zib-NursingIntervention
type: StructureDefinition
node role: treeRoot
id:
  v: zib-NursingIntervention
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> CarePlan C 0..* CarePlan This is an abstract profile. Child profiles: NlcoreNursingIntervention NursingIntervention zib-NursingIntervention-1: The start and/or end date of a repeating schedule should be communicated in CarePlan.encounter as well. status 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown intent 1..1 code proposal | plan | order | option Slices for category 1..* CodeableConcept Type of plan Slice: Unordered, Open by value:coding category:nursingIntervention 1..1 CodeableConcept Type of plan Required Pattern: At least the following coding 1..* Coding Code defined by a terminology system Fixed Value: (complex) system 1..1 uri Identity of the terminology system Fixed Value: http://snomed.info/sct code 1..1 code Symbol in syntax defined by the system Fixed Value: 9632001 period start 0..1 dateTime ProcedureStartDateTime end 0..1 dateTime ProcedureEndDateTime Slices for contributor 0..* Reference(Patient | Practitioner | PractitionerRole | Device | RelatedPerson | Organization | CareTeam) Who provided the content of the care plan Slice: Unordered, Open by exists:extension(url='http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester') contributor:requester 0..* PatternZibHealthProfessionalReference(zib HealthProfessional PractitionerRole) Requester extension 1..* Extension Extension contributorIsRequester 1..1 boolean Optional Extensions Element URL: http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester addresses 0..1 Reference(Condition | zib Problem) Indication goal 0..1 Reference(Goal | http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective) TreatmentObjective activity 0..1 BackboneElement Action to occur as part of plan detail medicalDevice 0..* Reference(DeviceUseStatement) Optional Extensions Element URL: http://nictiz.nl/fhir/S…
url:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-NursingIntervention
version:
  v: 0.9.0
name:
  v: ZibNursingIntervention
title:
  v: zib NursingIntervention
status:
  v: draft
date:
  v: 2023-10-17T18:06:34+02:00
publisher:
  v: HL7NL
contact:
  name:
    v: HL7NL
  telecom:
    system:
      v: url
    value:
      v: https://hl7.nl
description:
  v: A nursing intervention is the care and/or treatment carried out by a nurse based on an expert opinion and clinical knowledge. It is part of the nursing process; interventions are determined as a result of indexed healthcare problems (nursing diagnoses) and based on treatment goals. Following the NEN-EN-ISO 18104 norm, it is possible to structure nursing interventions (or actions) in a hierarchy, where one intervention can be part of another intervention. In a home care situation some actions can also be performed by the patient or a caregiver after a relevant instruction.
purpose:
  v: This CarePlan resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) NursingIntervention v3.2 (2020)](https://zibs.nl/wiki/NursingIntervention-v3.2(2020EN)).
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: 4.0.1
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  uri:
    v: https://zibs.nl/wiki/NursingIntervention-v3.2(2020EN)
  name:
    v: zib NursingIntervention-v3.2(2020EN)
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
  name:
    v: HL7 v2 Mapping
kind:
  v: resource
abstract:
  v: true
type:
  v: CarePlan
base definition:
  v: http://hl7.org/fhir/StructureDefinition/CarePlan
  link: http://hl7.org/fhir/StructureDefinition/CarePlan
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: CarePlan
    path:
      v: CarePlan
    short:
      v: NursingIntervention
    definition:
      v: Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.
    alias:
      v: Care Team
    alias:
      v: VerpleegkundigeInterventie
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: CarePlan
      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
        link: 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 or SHALL refer to the containing resource
      expression:
        v: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: 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
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      xpath:
        v: exists(f:text/h:div)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      key:
        v: zib-NursingIntervention-1
      severity:
        v: error
      human:
        v: The start and/or end date of a repeating schedule should be communicated in CarePlan.encounter as well.
      expression:
        v: activity.detail.scheduled.ofType(Timing).repeat.bounds.ofType(Period).exists() implies (period = activity.detail.scheduled.ofType(Timing).repeat.bounds.ofType(Period))
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: workflow
      map:
        v: Request

v: true

v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

identity:
  v: rim
map:
  v: Act[classCode=PCPR, moodCode=INT]

identity:
  v: zib-nursingintervention-v3.2-2020EN
map:
  v: NL-CM:14.2.1
comment:
  v: NursingIntervention

id:
  v: CarePlan.id
path:
  v: CarePlan.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:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.meta
path:
  v: CarePlan.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.implicitRules
path:
  v: CarePlan.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: CarePlan.language
path:
  v: CarePlan.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
    value:
      v: http://hl7.org/fhir/ValueSet/all-languages
      link: http://hl7.org/fhir/ValueSet/all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: Language
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding
    value:
      v: true
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages
    link: http://hl7.org/fhir/ValueSet/languages

id:
  v: CarePlan.text
path:
  v: CarePlan.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: CarePlan.contained
path:
  v: CarePlan.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. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.extension
path:
  v: CarePlan.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.modifierExtension
path:
  v: CarePlan.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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.identifier
path:
  v: CarePlan.identifier
short:
  v: External Ids for this plan
definition:
  v: Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
comment:
  v: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.
requirements:
  v: Allows identification of the care plan as it is known by various participating systems and in a way that remains consistent across servers.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: PTH-3
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: CarePlan.instantiatesCanonical
path:
  v: CarePlan.instantiatesCanonical
short:
  v: Instantiates FHIR protocol or definition
definition:
  v: The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Questionnaire
    link: http://hl7.org/fhir/StructureDefinition/Questionnaire
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Measure
    link: http://hl7.org/fhir/StructureDefinition/Measure
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.instantiatesUri
path:
  v: CarePlan.instantiatesUri
short:
  v: Instantiates external protocol or definition
definition:
  v: The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesUri
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.basedOn
path:
  v: CarePlan.basedOn
short:
  v: Fulfills CarePlan
definition:
  v: A care plan that is fulfilled in whole or in part by this care plan.
requirements:
  v: Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.basedOn
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value:
      v: true
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.basedOn

id:
  v: CarePlan.replaces
path:
  v: CarePlan.replaces
short:
  v: CarePlan replaced by this CarePlan
definition:
  v: Completed or terminated care plan whose function is taken by this new care plan.
comment:
  v: The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.
requirements:
  v: Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.
alias:
  v: supersedes
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.replaces
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value:
      v: true
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.replaces

id:
  v: CarePlan.partOf
path:
  v: CarePlan.partOf
short:
  v: Part of referenced CarePlan
definition:
  v: A larger care plan of which this particular care plan is a component or step.
comment:
  v: Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.partOf
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
    value:
      v: true
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.status
path:
  v: CarePlan.status
short:
  v: draft | active | on-hold | revoked | completed | entered-in-error | unknown
definition:
  v: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
comment:
  v: Sending systems that don't record an explicit status can use the following guidance to infer a value from the zib: * ProcedureEndTime present: * and in the future: _active_ * and in the past: _completed_ * ProcedureEndTime absent: * ProcedureStartTime present: _active_ * ProcedureStartTime absent: _unknown_
requirements:
  v: Allows clinicians to determine whether the plan is actionable or not.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanStatus
  strength:
    v: required
  description:
    v: Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.status {uses different ValueSet}
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: PTH-5
mapping:
  identity:
    v: rim
  map:
    v: .statusCode planned = new active = active completed = completed
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.11
  comment:
    v: ProcedureStartDateTime (implicit, main mapping is on CarePlan.period.start and optionally on CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.start)
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.12
  comment:
    v: ProcedureEndDateTime (implicit, main mapping is on CarePlan.period.end and optionally on CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.end)

id:
  v: CarePlan.intent
path:
  v: CarePlan.intent
short:
  v: proposal | plan | order | option
definition:
  v: Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.
comment:
  v: For zib NursingIntervention, this will normally be _plan_, but the context may specify a more suitable intent.
requirements:
  v: Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.intent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request"
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanIntent
  strength:
    v: required
  description:
    v: Codes indicating the degree of authority/intentionality associated with a care plan.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.intent

id:
  v: CarePlan.category
path:
  v: CarePlan.category
slicing:
  discriminator:
    type:
      v: value
    path:
      v: coding
  rules:
    v: open
short:
  v: Type of plan
definition:
  v: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.
comment:
  v: There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.
requirements:
  v: Used for filtering what plan(s) are retrieved and displayed to different types of users.
min:
  v: 1
max:
  v: *
base:
  path:
    v: CarePlan.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanCategory
  strength:
    v: example
  description:
    v: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-category
    link: http://hl7.org/fhir/ValueSet/care-plan-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class

id:
  v: CarePlan.category:nursingIntervention
path:
  v: CarePlan.category
slice name:
  v: nursingIntervention
short:
  v: Type of plan
definition:
  v: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", "wellness plan", etc.
comment:
  v: There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.
requirements:
  v: Used for filtering what plan(s) are retrieved and displayed to different types of users.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
pattern: CodeableConcept
  coding: http://snomed.info/id/9632001
    system:
      v: http://snomed.info/sct
    code:
      v: 9632001
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanCategory
  strength:
    v: example
  description:
    v: Identifies what "kind" of plan this is to support differentiation between multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma", "disease management", etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-category
    link: http://hl7.org/fhir/ValueSet/care-plan-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class

id:
  v: CarePlan.title
path:
  v: CarePlan.title
short:
  v: Human-friendly name for the care plan
definition:
  v: Human-friendly name for the care plan.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: CarePlan.description
path:
  v: CarePlan.description
short:
  v: Summary of nature of plan
definition:
  v: A description of the scope and nature of the plan.
requirements:
  v: Provides more detail than conveyed by category.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]

id:
  v: CarePlan.subject
path:
  v: CarePlan.subject
short:
  v: Who the care plan is for
definition:
  v: Identifies the patient or group whose intended care is described by the plan.
alias:
  v: patient
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    link: http://hl7.org/fhir/StructureDefinition/Group
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: PID-3
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PAT].role[classCode=PAT]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: CarePlan.encounter
path:
  v: CarePlan.encounter
short:
  v: Encounter created as part of
definition:
  v: The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated.
comment:
  v: This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    link: http://hl7.org/fhir/StructureDefinition/Encounter
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.context
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: v2
  map:
    v: Associated PV1
mapping:
  identity:
    v: rim
  map:
    v: .

id:
  v: CarePlan.period
path:
  v: CarePlan.period
short:
  v: Time period plan covers
definition:
  v: Indicates when the plan did (or is intended to) come into effect and end.
comment:
  v: Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).
requirements:
  v: Allows tracking what plan(s) are in effect at a particular time.
alias:
  v: timing
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.planned
mapping:
  identity:
    v: v2
  map:
    v: GOL-7 / GOL-8
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: CarePlan.period.id
path:
  v: CarePlan.period.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.period.extension
path:
  v: CarePlan.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.period.start
path:
  v: CarePlan.period.start
short:
  v: ProcedureStartDateTime
definition:
  v: The start date (and if possible start time) of the procedure. The concept offers the option to indicate the start of the period of a series of repeating procedures, in which case it should be repeated in `CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.start`.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: ActieStartDatumTijd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.start
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.11
  comment:
    v: ProcedureStartDateTime

id:
  v: CarePlan.period.end
path:
  v: CarePlan.period.end
short:
  v: ProcedureEndDateTime
definition:
  v: The end date (and if possible end time) of the procedure. The concept offers the option to indicate the end of the period of a series of repeating procedures, in which case it should be repeated in `CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.end`.
comment:
  v: The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.
alias:
  v: ActieEindDatumTijd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.end
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
meaning when missing:
  v: If the end of the period is missing, it means that the period is ongoing
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.12
  comment:
    v: ProcedureEndDateTime

id:
  v: CarePlan.created
path:
  v: CarePlan.created
short:
  v: Date record was first recorded
definition:
  v: Represents when this particular CarePlan record was created in the system, which is often a system-generated date.
alias:
  v: authoredOn
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.created
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.authoredOn
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: CarePlan.author
path:
  v: CarePlan.author
short:
  v: Who is the designated responsible party
definition:
  v: When populated, the author is responsible for the care plan. The care plan is attributed to the author.
comment:
  v: The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.author
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.requester
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author

id:
  v: CarePlan.contributor
path:
  v: CarePlan.contributor
slicing:
  discriminator:
    type:
      v: exists
    path:
      v: extension(url='http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester')
  rules:
    v: open
short:
  v: Who provided the content of the care plan
definition:
  v: Identifies the individual(s) or organization who provided the contents of the care plan.
comment:
  v: Collaborative care plans may have multiple contributors.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.contributor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.contributor:requester
path:
  v: CarePlan.contributor
slice name:
  v: requester
short:
  v: Requester
definition:
  v: The health professional who requested the nursing intervention. If desired, only the requester’s specialty can be entered.
comment:
  v: Collaborative care plans may have multiple contributors.
alias:
  v: Aanvrager
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.contributor
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
    link: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
    link: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.8
  comment:
    v: Requester

id:
  v: CarePlan.contributor:requester.id
path:
  v: CarePlan.contributor.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.contributor:requester.extension
path:
  v: CarePlan.contributor.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.contributor:requester.extension:contributorIsRequester
path:
  v: CarePlan.contributor.extension
slice name:
  v: contributorIsRequester
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester
    link: http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.contributor:requester.reference
path:
  v: CarePlan.contributor.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
condition:
  v: ref-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.contributor:requester.type
path:
  v: CarePlan.contributor.type
short:
  v: Type the reference refers to (e.g. "Patient")
definition:
  v: The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).
comment:
  v: This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: FHIRResourceTypeExt
  strength:
    v: extensible
  description:
    v: Aa resource (or, for logical models, the URI of the logical model).
  value set:
    v: http://hl7.org/fhir/ValueSet/resource-types
    link: http://hl7.org/fhir/ValueSet/resource-types
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.contributor:requester.identifier
path:
  v: CarePlan.contributor.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents 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. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: CarePlan.contributor:requester.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value:
    v: true
path:
  v: CarePlan.contributor.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
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.careTeam
path:
  v: CarePlan.careTeam
short:
  v: Who's involved in plan?
definition:
  v: Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.
requirements:
  v: Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.careTeam
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer {similar but does not entail CareTeam}
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor

id:
  v: CarePlan.addresses
path:
  v: CarePlan.addresses
short:
  v: Indication
definition:
  v: The nursing-related problem (indication) providing cause for the intervention.
comment:
  v: When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.
requirements:
  v: Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like "at risk for hypertension" or "fall risk".) Also scopes plans - multiple plans may exist addressing different concerns.
alias:
  v: Indicatie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.addresses
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    link: http://hl7.org/fhir/StructureDefinition/Condition
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Problem
    link: http://nictiz.nl/fhir/StructureDefinition/zib-Problem
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonReference
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: v2
  map:
    v: PRB-4
mapping:
  identity:
    v: rim
  map:
    v: .actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.6
  comment:
    v: Indication

id:
  v: CarePlan.supportingInfo
path:
  v: CarePlan.supportingInfo
short:
  v: Information considered as part of plan
definition:
  v: Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.
comment:
  v: Use "concern" to identify specific conditions addressed by the care plan.
requirements:
  v: Identifies barriers and other considerations associated with the care plan.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.supportingInfo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.supportingInfo

id:
  v: CarePlan.goal
path:
  v: CarePlan.goal
short:
  v: TreatmentObjective
definition:
  v: The description of the treatment goal that the intervention decision is based on.
comment:
  v: Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.
requirements:
  v: Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.
alias:
  v: Behandeldoel
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.goal
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Goal
    link: http://hl7.org/fhir/StructureDefinition/Goal
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective
    link: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: GOL.1
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode<=OBJ].
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.14
  comment:
    v: TreatmentObjective

id:
  v: CarePlan.activity
path:
  v: CarePlan.activity
short:
  v: Action to occur as part of plan
definition:
  v: Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.
comment:
  v: A nursing intervention in the Dutch realm always consists of a single activity. For this reason, the cardinality of `.activity` is restricted to 0..1.
requirements:
  v: Allows systems to prompt for performance of planned activities, and validate plans against best practice.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
constraint:
  key:
    v: cpl-3
  severity:
    v: error
  human:
    v: Provide a reference or detail, not both
  expression:
    v: detail.empty() or reference.empty()
  xpath:
    v: not(exists(f:detail)) or not(exists(f:reference))
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {no mapping NOTE: This is a list of contained Request-Event tuples!}
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target

id:
  v: CarePlan.activity.id
path:
  v: CarePlan.activity.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.extension
path:
  v: CarePlan.activity.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.modifierExtension
path:
  v: CarePlan.activity.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.activity.outcomeCodeableConcept
path:
  v: CarePlan.activity.outcomeCodeableConcept
short:
  v: Results of the activity
definition:
  v: Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).
comment:
  v: Note that this should not duplicate the activity status (e.g. completed or in progress).
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.outcomeCodeableConcept
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanActivityOutcome
  strength:
    v: example
  description:
    v: Identifies the results of the activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-outcome
    link: http://hl7.org/fhir/ValueSet/care-plan-activity-outcome

id:
  v: CarePlan.activity.outcomeReference
path:
  v: CarePlan.activity.outcomeReference
short:
  v: Appointment, Encounter, Procedure, etc.
definition:
  v: Details of the outcome or action resulting from the activity. The reference to an "event" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).
comment:
  v: The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.
requirements:
  v: Links plan to resulting actions.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.outcomeReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {Event that is outcome of Request in activity.reference}
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=FLFS].source

id:
  v: CarePlan.activity.progress
path:
  v: CarePlan.activity.progress
short:
  v: Comments about the activity status/progress
definition:
  v: Notes about the adherence/status/progress of the activity.
comment:
  v: This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.
requirements:
  v: Can be used to capture information about adherence, progress, concerns, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.progress
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

id:
  v: CarePlan.activity.reference
path:
  v: CarePlan.activity.reference
short:
  v: Activity details defined in specific resource
definition:
  v: The details of the proposed activity represented in a specific resource.
comment:
  v: Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. The goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the "basedOn" element. i.e. Requests that are part of a CarePlan are not "based on" the CarePlan.
requirements:
  v: Details in a form consistent with other applications and contexts of use.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Appointment
    link: http://hl7.org/fhir/StructureDefinition/Appointment
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
    link: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    link: http://hl7.org/fhir/StructureDefinition/NutritionOrder
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Task
    link: http://hl7.org/fhir/StructureDefinition/Task
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    link: http://hl7.org/fhir/StructureDefinition/VisionPrescription
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RequestGroup
    link: http://hl7.org/fhir/StructureDefinition/RequestGroup
condition:
  v: cpl-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: {Request that resulted in Event in activity.actionResulting}
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target

id:
  v: CarePlan.activity.detail
path:
  v: CarePlan.activity.detail
short:
  v: In-line definition of activity
definition:
  v: A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.
requirements:
  v: Details in a simple form for generic care plan systems.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
condition:
  v: cpl-3
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target

id:
  v: CarePlan.activity.detail.id
path:
  v: CarePlan.activity.detail.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.extension
path:
  v: CarePlan.activity.detail.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: CarePlan.activity.detail.extension:medicalDevice
path:
  v: CarePlan.activity.detail.extension
slice name:
  v: medicalDevice
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-CarePlan-MaterialUsed
    link: http://nictiz.nl/fhir/StructureDefinition/ext-CarePlan-MaterialUsed
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() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.activity.detail.extension:medicalDevice.id
path:
  v: CarePlan.activity.detail.extension.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.extension:medicalDevice.extension
path:
  v: CarePlan.activity.detail.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.extension:medicalDevice.url
path:
  v: CarePlan.activity.detail.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: uri
  code:
    v: http://hl7.org/fhirpath/System.String
fixed:
  v: http://nictiz.nl/fhir/StructureDefinition/ext-CarePlan-MaterialUsed
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.activity.detail.extension:medicalDevice.value[x]
path:
  v: CarePlan.activity.detail.extension.value[x]
short:
  v: MedicalDevice
definition:
  v: Description of the materials used for the nursing procedure, such as bandages.
alias:
  v: MedischHulpmiddel
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement
    link: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice
    link: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.13
  comment:
    v: MedicalDevice

id:
  v: CarePlan.activity.detail.modifierExtension
path:
  v: CarePlan.activity.detail.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.activity.detail.kind
path:
  v: CarePlan.activity.detail.kind
short:
  v: Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription
definition:
  v: A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.
requirements:
  v: May determine what types of extensions are permitted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.kind
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanActivityKind
  strength:
    v: required
  description:
    v: Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=LIST].code

id:
  v: CarePlan.activity.detail.instantiatesCanonical
path:
  v: CarePlan.activity.detail.instantiatesCanonical
short:
  v: Instantiates FHIR protocol or definition
definition:
  v: The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.
requirements:
  v: Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Questionnaire
    link: http://hl7.org/fhir/StructureDefinition/Questionnaire
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Measure
    link: http://hl7.org/fhir/StructureDefinition/Measure
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition
    link: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.activity.detail.instantiatesUri
path:
  v: CarePlan.activity.detail.instantiatesUri
short:
  v: Instantiates external protocol or definition
definition:
  v: The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
requirements:
  v: Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesUri
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: CarePlan.activity.detail.code
path:
  v: CarePlan.activity.detail.code
short:
  v: Intervention
definition:
  v: A nursing intervention is a treatment carried out by a nurse based on an expert opinion and clinical knowledge for the benefit of the person requesting healthcare. The intervention is targeted towards a certain problem (diagnosis) and has a predetermined healthcare result. It is possible to build a hierarchy of nursing interventions (where one intervention is part of another).
comment:
  v: Tends to be less relevant for activities involving particular products. Codes should not convey negation - use "prohibited" instead.
requirements:
  v: Allows matching performed to planned as well as validation against protocols.
alias:
  v: Interventie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.18--20200901000000
    link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.18--20200901000000
mapping:
  identity:
    v: workflow
  map:
    v: Request.code
mapping:
  identity:
    v: v2
  map:
    v: OBR-4 / RXE-2 / RXO-1 / RXD-2
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.2
  comment:
    v: Intervention

id:
  v: CarePlan.activity.detail.reasonCode
path:
  v: CarePlan.activity.detail.reasonCode
short:
  v: Why activity should be done or why activity was prohibited
definition:
  v: Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.
comment:
  v: This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanActivityReason
  strength:
    v: example
  description:
    v: Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as "general wellness", prophylaxis, surgical preparation, etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/clinical-findings
    link: http://hl7.org/fhir/ValueSet/clinical-findings
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonCode

id:
  v: CarePlan.activity.detail.reasonReference
path:
  v: CarePlan.activity.detail.reasonReference
short:
  v: Why activity is needed
definition:
  v: Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.
comment:
  v: Conditions can be identified at the activity level that are not identified as reasons for the overall plan.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    link: http://hl7.org/fhir/StructureDefinition/Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    link: http://hl7.org/fhir/StructureDefinition/Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    link: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    link: http://hl7.org/fhir/StructureDefinition/DocumentReference
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.reasonReference

id:
  v: CarePlan.activity.detail.goal
path:
  v: CarePlan.activity.detail.goal
short:
  v: Goals this activity relates to
definition:
  v: Internal reference that identifies the goals that this activity is intended to contribute towards meeting.
requirements:
  v: So that participants know the link explicitly.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CarePlan.activity.detail.goal
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Goal
    link: http://hl7.org/fhir/StructureDefinition/Goal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode<=OBJ].

id:
  v: CarePlan.activity.detail.status
path:
  v: CarePlan.activity.detail.status
short:
  v: not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error
definition:
  v: Identifies what progress is being made for the specific activity.
comment:
  v: Some aspects of status can be inferred based on the resources linked in actionTaken. Note that "status" is only as current as the plan was most recently updated. The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.
requirements:
  v: Indicates progress against the plan, whether the activity is still relevant for the plan.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanActivityStatus
  strength:
    v: required
  description:
    v: Codes that reflect the current state of a care plan activity within its overall life cycle.
  value set:
    v: http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: workflow
  map:
    v: Request.status
mapping:
  identity:
    v: v2
  map:
    v: ORC-5?
mapping:
  identity:
    v: rim
  map:
    v: .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted

id:
  v: CarePlan.activity.detail.statusReason
path:
  v: CarePlan.activity.detail.statusReason
short:
  v: Reason for current status
definition:
  v: Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.
comment:
  v: Will generally not be present if status is "complete". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.statusReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.statusReason

id:
  v: CarePlan.activity.detail.doNotPerform
path:
  v: CarePlan.activity.detail.doNotPerform
short:
  v: If true, activity is prohibiting action
definition:
  v: If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.
comment:
  v: This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.
requirements:
  v: Captures intention to not do something that may have been previously typical.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.doNotPerform
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
meaning when missing:
  v: If missing indicates that the described activity is one that should be engaged in when following the plan.
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: true
is modifier reason:
  v: If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.doNotPerform
mapping:
  identity:
    v: rim
  map:
    v: actionNegationInd

id:
  v: CarePlan.activity.detail.scheduled[x]
path:
  v: CarePlan.activity.detail.scheduled[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: When activity is to occur
definition:
  v: The period, timing or frequency upon which the described activity is to occur.
requirements:
  v: Allows prompting for activities and detection of missed planned activities.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.scheduled[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Timing
type:
  code:
    v: Period
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: v2
  map:
    v: TQ1
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming
path:
  v: CarePlan.activity.detail.scheduled[x]
slice name:
  v: scheduledTiming
short:
  v: When activity is to occur
definition:
  v: The period, timing or frequency upon which the described activity is to occur.
requirements:
  v: Allows prompting for activities and detection of missed planned activities.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.scheduled[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Timing
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: v2
  map:
    v: TQ1
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.id
path:
  v: CarePlan.activity.detail.scheduled[x].id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.extension
path:
  v: CarePlan.activity.detail.scheduled[x].extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.modifierExtension
path:
  v: CarePlan.activity.detail.scheduled[x].modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.event
path:
  v: CarePlan.activity.detail.scheduled[x].event
short:
  v: When the event occurs
definition:
  v: Identifies specific times when the event occurs.
requirements:
  v: In a Medication Administration Record, for instance, you need to take a general specification, and turn it into a precise specification.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Timing.event
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: QLIST<TS>

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat
path:
  v: CarePlan.activity.detail.scheduled[x].repeat
short:
  v: When the event is to occur
definition:
  v: A set of rules that describe when the event is scheduled.
requirements:
  v: Many timing schedules are determined by regular repetitions.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Element
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: tim-1
  severity:
    v: error
  human:
    v: if there's a duration, there needs to be duration units
  expression:
    v: duration.empty() or durationUnit.exists()
  xpath:
    v: not(exists(f:duration)) or exists(f:durationUnit)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-2
  severity:
    v: error
  human:
    v: if there's a period, there needs to be period units
  expression:
    v: period.empty() or periodUnit.exists()
  xpath:
    v: not(exists(f:period)) or exists(f:periodUnit)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-4
  severity:
    v: error
  human:
    v: duration SHALL be a non-negative value
  expression:
    v: duration.exists() implies duration >= 0
  xpath:
    v: f:duration/@value >= 0 or not(f:duration/@value)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-5
  severity:
    v: error
  human:
    v: period SHALL be a non-negative value
  expression:
    v: period.exists() implies period >= 0
  xpath:
    v: f:period/@value >= 0 or not(f:period/@value)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-6
  severity:
    v: error
  human:
    v: If there's a periodMax, there must be a period
  expression:
    v: periodMax.empty() or period.exists()
  xpath:
    v: not(exists(f:periodMax)) or exists(f:period)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-7
  severity:
    v: error
  human:
    v: If there's a durationMax, there must be a duration
  expression:
    v: durationMax.empty() or duration.exists()
  xpath:
    v: not(exists(f:durationMax)) or exists(f:duration)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-8
  severity:
    v: error
  human:
    v: If there's a countMax, there must be a count
  expression:
    v: countMax.empty() or count.exists()
  xpath:
    v: not(exists(f:countMax)) or exists(f:count)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-9
  severity:
    v: error
  human:
    v: If there's an offset, there must be a when (and not C, CM, CD, CV)
  expression:
    v: offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
  xpath:
    v: not(exists(f:offset)) or exists(f:when)
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
constraint:
  key:
    v: tim-10
  severity:
    v: error
  human:
    v: If there's a timeOfDay, there cannot be a when, or vice versa
  expression:
    v: timeOfDay.empty() or when.empty()
  xpath:
    v: not(exists(f:timeOfDay)) or not(exists(f:when))
  source:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: Implies PIVL or EIVL

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.id
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.extension
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Length/Range of lengths, or (Start and/or end) limits
definition:
  v: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.bounds[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Duration
type:
  code:
    v: Range
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: IVL(TS) used in a QSI

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x]
slice name:
  v: boundsPeriod
short:
  v: Length/Range of lengths, or (Start and/or end) limits
definition:
  v: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.bounds[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: IVL(TS) used in a QSI

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.id
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.extension
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.start
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].start
short:
  v: ProcedureStartDateTime
definition:
  v: Zib concept ProcedureStartDateTime should primarily be communicated using `CarePlan.period.start`, but it should be repeated here if it indicates the end of a series of repeating procedures.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: ActieStartDatumTijd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.start
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.1
mapping:
  identity:
    v: rim
  map:
    v: ./low
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.11
  comment:
    v: ProcedureStartDateTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.end
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].end
short:
  v: ProcedureEndDateTime
definition:
  v: Zib concept ProcedureEndDateTime should primarily be communicated using `CarePlan.period.end`, but it should be repeated here if it indicates the end of a series of repeating procedures.
comment:
  v: The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.
alias:
  v: ActieEindDatumTijd
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.end
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
meaning when missing:
  v: If the end of the period is missing, it means that the period is ongoing
condition:
  v: per-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: DR.2
mapping:
  identity:
    v: rim
  map:
    v: ./high
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.12
  comment:
    v: ProcedureEndDateTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.count
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.count
short:
  v: Number of times to repeat
definition:
  v: A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.
comment:
  v: If you have both bounds and count, then this should be understood as within the bounds period, until count times happens.
requirements:
  v: Repetitions may be limited by end time or total occurrences.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.count
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.count

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.countMax
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.countMax
short:
  v: Maximum number of times to repeat
definition:
  v: If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.countMax
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.count

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.duration
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.duration
short:
  v: How long when it happens
definition:
  v: How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.
comment:
  v: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).
requirements:
  v: Some activities are not instantaneous and need to be maintained for a period of time.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.duration
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.durationMax
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.durationMax
short:
  v: How long when it happens (Max)
definition:
  v: If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
comment:
  v: For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise).
requirements:
  v: Some activities are not instantaneous and need to be maintained for a period of time.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.durationMax
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.durationUnit
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.durationUnit
short:
  v: s | min | h | d | wk | mo | a - unit of time (UCUM)
definition:
  v: The units of time for the duration, in UCUM units.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.durationUnit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: UnitsOfTime
  strength:
    v: required
  description:
    v: A unit of time (units from UCUM).
  value set:
    v: http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase.unit

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.frequency
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.frequency
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.frequency
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
meaning when missing:
  v: If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.frequencyMax
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.frequencyMax
short:
  v: Event occurs up to frequencyMax times per period
definition:
  v: If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.frequencyMax
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: positiveInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.period
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.period
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.periodMax
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.periodMax
short:
  v: Upper limit of period (3-4 hours)
definition:
  v: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.periodMax
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.periodUnit
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.periodUnit
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.periodUnit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: UnitsOfTime
  strength:
    v: required
  description:
    v: A unit of time (units from UCUM).
  value set:
    v: http://hl7.org/fhir/ValueSet/units-of-time|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: PIVL.phase.unit
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.dayOfWeek
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.dayOfWeek
short:
  v: mon | tue | wed | thu | fri | sat | sun
definition:
  v: If one or more days of week is provided, then the action happens only on the specified day(s).
comment:
  v: If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Timing.repeat.dayOfWeek
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: DayOfWeek
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.timeOfDay
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.timeOfDay
short:
  v: Time of day for action
definition:
  v: Specified time of day for action to take place.
comment:
  v: When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Timing.repeat.timeOfDay
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: time
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.when
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.when
short:
  v: Code for time period of occurrence
definition:
  v: An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
comment:
  v: When more than one event is listed, the event is tied to the union of the specified events.
requirements:
  v: Timings are frequently determined by occurrences such as waking, eating and sleep.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Timing.repeat.when
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: EventTiming
  strength:
    v: required
  description:
    v: Real world event relating to the schedule.
  value set:
    v: http://hl7.org/fhir/ValueSet/event-timing|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: rim
  map:
    v: EIVL.event

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.offset
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.offset
short:
  v: Minutes from event (before or after)
definition:
  v: The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.repeat.offset
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: EIVL.offset

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.code
path:
  v: CarePlan.activity.detail.scheduled[x].code
short:
  v: BID | TID | QID | AM | PM | QD | QOD | +
definition:
  v: A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code).
comment:
  v: BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is "always at 7am and 6pm". If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Timing.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: TimingAbbreviation
  strength:
    v: preferred
  description:
    v: Code for a known / defined timing pattern.
  value set:
    v: http://hl7.org/fhir/ValueSet/timing-abbreviation
    link: http://hl7.org/fhir/ValueSet/timing-abbreviation
mapping:
  identity:
    v: rim
  map:
    v: QSC.code

id:
  v: CarePlan.activity.detail.location
path:
  v: CarePlan.activity.detail.location
short:
  v: Where it should happen
definition:
  v: Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
comment:
  v: May reference a specific clinical location or may identify a type of location.
requirements:
  v: Helps in planning of activity.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    link: http://hl7.org/fhir/StructureDefinition/Location
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: OBR-24(???!!)
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: CarePlan.activity.detail.performer
path:
  v: CarePlan.activity.detail.performer
slicing:
  discriminator:
    type:
      v: profile
    path:
      v: resolve()
  rules:
    v: open
short:
  v: Who will be responsible?
definition:
  v: Identifies who's expected to be involved in the activity.
comment:
  v: A performer MAY also be a participant in the care plan.
requirements:
  v: Helps in planning of activity.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    link: http://hl7.org/fhir/StructureDefinition/HealthcareService
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: v2
  map:
    v: PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]

id:
  v: CarePlan.activity.detail.performer:healthcareProvider
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: healthcareProvider
short:
  v: HealthcareProvider
definition:
  v: The health professional carrying out the nursing procedure.
comment:
  v: A performer MAY also be a participant in the care plan.
requirements:
  v: Helps in planning of activity.
alias:
  v: Zorgverlener
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
    link: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
    link: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: v2
  map:
    v: PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.7
  comment:
    v: HealthcareProvider

id:
  v: CarePlan.activity.detail.performer:caregiver
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: caregiver
short:
  v: Caregiver
definition:
  v: The caregiver carrying out the nursing procedure.
comment:
  v: A performer MAY also be a participant in the care plan.
requirements:
  v: Helps in planning of activity.
alias:
  v: Verzorger
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-ContactPerson
    link: http://nictiz.nl/fhir/StructureDefinition/zib-ContactPerson
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: v2
  map:
    v: PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.16
  comment:
    v: Caregiver

id:
  v: CarePlan.activity.detail.performer:patient
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: patient
short:
  v: Patient
definition:
  v: The patient carrying out the nursing procedure.
comment:
  v: A performer MAY also be a participant in the care plan.
requirements:
  v: Helps in planning of activity.
alias:
  v: Patient
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Patient
    link: http://nictiz.nl/fhir/StructureDefinition/zib-Patient
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: v2
  map:
    v: PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PFM]
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.17
  comment:
    v: Patient

id:
  v: CarePlan.activity.detail.product[x]
path:
  v: CarePlan.activity.detail.product[x]
short:
  v: What is to be administered/supplied
definition:
  v: Identifies the food, drug or other product to be consumed or supplied in the activity.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.product[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    link: http://hl7.org/fhir/StructureDefinition/Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: CarePlanProduct
  strength:
    v: example
  description:
    v: A product supplied or administered as part of a care plan activity.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-codes
    link: http://hl7.org/fhir/ValueSet/medication-codes
mapping:
  identity:
    v: v2
  map:
    v: RXE-2 / RXO-1 / RXD-2
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRD].role

id:
  v: CarePlan.activity.detail.dailyAmount
path:
  v: CarePlan.activity.detail.dailyAmount
short:
  v: How to consume/day?
definition:
  v: Identifies the quantity expected to be consumed in a given day.
requirements:
  v: Allows rough dose checking.
alias:
  v: daily dose
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.dailyAmount
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: RXO-23 / RXE-19 / RXD-12
mapping:
  identity:
    v: rim

id:
  v: CarePlan.activity.detail.quantity
path:
  v: CarePlan.activity.detail.quantity
short:
  v: How much to administer/supply/consume
definition:
  v: Identifies the quantity expected to be supplied, administered or consumed by the subject.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.quantity
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
  profile:
    v: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
    link: http://hl7.org/fhir/StructureDefinition/SimpleQuantity
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2
mapping:
  identity:
    v: rim

id:
  v: CarePlan.activity.detail.description
path:
  v: CarePlan.activity.detail.description
short:
  v: Instruction
definition:
  v: Instructions for performing the nursing action. This is particularly at issue when the action is performed by the patient himself or by a caregiver.
alias:
  v: Instructie
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.activity.detail.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .text
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.18
  comment:
    v: Instruction

id:
  v: CarePlan.note
path:
  v: CarePlan.note
short:
  v: Comments about the plan
definition:
  v: General notes about the care plan not covered elsewhere.
requirements:
  v: Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CarePlan.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.note
mapping:
  identity:
    v: v2
  map:
    v: NTE?
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

id:
  v: CarePlan.note.id
path:
  v: CarePlan.note.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    value:
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.note.extension
path:
  v: CarePlan.note.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. 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 can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: CarePlan.note.author[x]
path:
  v: CarePlan.note.author[x]
short:
  v: Individual responsible for the annotation
definition:
  v: The individual responsible for making the annotation.
comment:
  v: Organization is used when there's no need for specific attribution as to who made the comment.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Annotation.author[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
type:
  code:
    v: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.participant[typeCode=AUT].role

id:
  v: CarePlan.note.time
path:
  v: CarePlan.note.time
short:
  v: When the annotation was made
definition:
  v: Indicates when this particular annotation was made.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Annotation.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.effectiveTime

id:
  v: CarePlan.note.text
path:
  v: CarePlan.note.text
short:
  v: Comment
definition:
  v: Comment on the nursing intervention.
alias:
  v: Toelichting
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Annotation.text
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: markdown
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.text
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.5
  comment:
    v: Comment

element:
  id:
    v: CarePlan
  path:
    v: CarePlan
  short:
    v: NursingIntervention
  alias:
    v: VerpleegkundigeInterventie
  constraint:
    key:
      v: zib-NursingIntervention-1
    severity:
      v: error
    human:
      v: The start and/or end date of a repeating schedule should be communicated in CarePlan.encounter as well.
    expression:
      v: activity.detail.scheduled.ofType(Timing).repeat.bounds.ofType(Period).exists() implies (period = activity.detail.scheduled.ofType(Timing).repeat.bounds.ofType(Period))
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.1
    comment:
      v: NursingIntervention
element:
  id:
    v: CarePlan.status
  path:
    v: CarePlan.status
  comment:
    v: Sending systems that don't record an explicit status can use the following guidance to infer a value from the zib: * ProcedureEndTime present: * and in the future: _active_ * and in the past: _completed_ * ProcedureEndTime absent: * ProcedureStartTime present: _active_ * ProcedureStartTime absent: _unknown_
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.11
    comment:
      v: ProcedureStartDateTime (implicit, main mapping is on CarePlan.period.start and optionally on CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.start)
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.12
    comment:
      v: ProcedureEndDateTime (implicit, main mapping is on CarePlan.period.end and optionally on CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.end)
element:
  id:
    v: CarePlan.intent
  path:
    v: CarePlan.intent
  comment:
    v: For zib NursingIntervention, this will normally be _plan_, but the context may specify a more suitable intent.
element:
  id:
    v: CarePlan.category
  path:
    v: CarePlan.category
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: coding
    rules:
      v: open
  min:
    v: 1
element:
  id:
    v: CarePlan.category:nursingIntervention
  path:
    v: CarePlan.category
  slice name:
    v: nursingIntervention
  min:
    v: 1
  max:
    v: 1
  pattern: CodeableConcept
    coding: http://snomed.info/id/9632001
      system:
        v: http://snomed.info/sct
      code:
        v: 9632001
element:
  id:
    v: CarePlan.period.start
  path:
    v: CarePlan.period.start
  short:
    v: ProcedureStartDateTime
  definition:
    v: The start date (and if possible start time) of the procedure. The concept offers the option to indicate the start of the period of a series of repeating procedures, in which case it should be repeated in `CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.start`.
  alias:
    v: ActieStartDatumTijd
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.11
    comment:
      v: ProcedureStartDateTime
element:
  id:
    v: CarePlan.period.end
  path:
    v: CarePlan.period.end
  short:
    v: ProcedureEndDateTime
  definition:
    v: The end date (and if possible end time) of the procedure. The concept offers the option to indicate the end of the period of a series of repeating procedures, in which case it should be repeated in `CarePlan.activity.detail.scheduledTiming.repeat.boundsPeriod.end`.
  alias:
    v: ActieEindDatumTijd
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.12
    comment:
      v: ProcedureEndDateTime
element:
  id:
    v: CarePlan.contributor
  path:
    v: CarePlan.contributor
  slicing:
    discriminator:
      type:
        v: exists
      path:
        v: extension(url='http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester')
    rules:
      v: open
element:
  id:
    v: CarePlan.contributor:requester
  path:
    v: CarePlan.contributor
  slice name:
    v: requester
  short:
    v: Requester
  definition:
    v: The health professional who requested the nursing intervention. If desired, only the requester’s specialty can be entered.
  alias:
    v: Aanvrager
  type:
    code:
      v: Reference
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
      link: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
    target profile:
      v: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
      link: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
  mapping:
    identity:
      v: zib-nursingintervention-v3.2-2020EN
    map:
      v: NL-CM:14.2.8
    comment:
      v: Requester
element:
  id:
    v: CarePlan.contributor:requester.extension
  path:
    v: CarePlan.contributor.extension
  min:
    v: 1
element:
  id:
    v: CarePlan.contributor:requester.extension:contributorIsRequester
  path:
    v: CarePlan.contributor.extension
  slice name:
    v: contributorIsRequester
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Extension
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester
      link: http://nictiz.nl/fhir/StructureDefinition/ext-NursingIntervention-ContributorIsRequester
element:
  id:
    v: CarePlan.addresses
  path:
    v: CarePlan.addresses
  short:
    v: Indication
  definition:
    v: The nursing-related problem (indication) providing cause for the intervention.
  alias:
    v: Indicatie
  max:
    v: 1
  type:
    code:
      v: Reference

identity:
  v: zib-nursingintervention-v3.2-2020EN
map:
  v: NL-CM:14.2.6
comment:
  v: Indication

id:
  v: CarePlan.goal
path:
  v: CarePlan.goal
short:
  v: TreatmentObjective
definition:
  v: The description of the treatment goal that the intervention decision is based on.
alias:
  v: Behandeldoel
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Goal
    link: http://hl7.org/fhir/StructureDefinition/Goal
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective
    link: http://nictiz.nl/fhir/StructureDefinition/zib-TreatmentObjective
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.14
  comment:
    v: TreatmentObjective

id:
  v: CarePlan.activity
path:
  v: CarePlan.activity
comment:
  v: A nursing intervention in the Dutch realm always consists of a single activity. For this reason, the cardinality of `.activity` is restricted to 0..1.
max:
  v: 1

id:
  v: CarePlan.activity.detail.extension:medicalDevice
path:
  v: CarePlan.activity.detail.extension
slice name:
  v: medicalDevice
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-CarePlan-MaterialUsed
    link: http://nictiz.nl/fhir/StructureDefinition/ext-CarePlan-MaterialUsed

id:
  v: CarePlan.activity.detail.extension:medicalDevice.value[x]
path:
  v: CarePlan.activity.detail.extension.value[x]
short:
  v: MedicalDevice
definition:
  v: Description of the materials used for the nursing procedure, such as bandages.
alias:
  v: MedischHulpmiddel
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement
    link: http://hl7.org/fhir/StructureDefinition/DeviceUseStatement
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice
    link: http://nictiz.nl/fhir/StructureDefinition/zib-MedicalDevice
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.13
  comment:
    v: MedicalDevice

id:
  v: CarePlan.activity.detail.code
path:
  v: CarePlan.activity.detail.code
short:
  v: Intervention
definition:
  v: A nursing intervention is a treatment carried out by a nurse based on an expert opinion and clinical knowledge for the benefit of the person requesting healthcare. The intervention is targeted towards a certain problem (diagnosis) and has a predetermined healthcare result. It is possible to build a hierarchy of nursing interventions (where one intervention is part of another).
alias:
  v: Interventie
binding:
  strength:
    v: required
  value set:
    v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.18--20200901000000
    link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.18--20200901000000
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.2
  comment:
    v: Intervention

id:
  v: CarePlan.activity.detail.scheduled[x]
path:
  v: CarePlan.activity.detail.scheduled[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  rules:
    v: open

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming
path:
  v: CarePlan.activity.detail.scheduled[x]
slice name:
  v: scheduledTiming
type:
  code:
    v: Timing

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  rules:
    v: open

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x]
slice name:
  v: boundsPeriod
type:
  code:
    v: Period

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.start
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].start
short:
  v: ProcedureStartDateTime
definition:
  v: Zib concept ProcedureStartDateTime should primarily be communicated using `CarePlan.period.start`, but it should be repeated here if it indicates the end of a series of repeating procedures.
alias:
  v: ActieStartDatumTijd
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.11
  comment:
    v: ProcedureStartDateTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.bounds[x]:boundsPeriod.end
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.bounds[x].end
short:
  v: ProcedureEndDateTime
definition:
  v: Zib concept ProcedureEndDateTime should primarily be communicated using `CarePlan.period.end`, but it should be repeated here if it indicates the end of a series of repeating procedures.
alias:
  v: ActieEindDatumTijd
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.12
  comment:
    v: ProcedureEndDateTime

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.frequency
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.frequency
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.period
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.period
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.scheduled[x]:scheduledTiming.repeat.periodUnit
path:
  v: CarePlan.activity.detail.scheduled[x].repeat.periodUnit
short:
  v: Interval / Frequency
definition:
  v: * Interval indicates the time between planned procedures. When entering an interval, the focus is on the time between the consecutive procedures, such as in the treatment of a wound, for example. The exact times are of lesser importance. * The frequency describes how often and in which period certain procedures are carried out, e.g. 3x a day.
comment:
  v: Both the zib concepts Interval and Frequency are communicated using a combination of `.frequency`, `.period` and `.periodUnit`. If the Interval concept is communicated, `.frequency` SHOULD have a fixed value of 1 (see "Meaning when missing" for `.frequency`).
alias:
  v: Interval
alias:
  v: Frequentie
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.3
  comment:
    v: Interval
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.4
  comment:
    v: Frequency

id:
  v: CarePlan.activity.detail.performer
path:
  v: CarePlan.activity.detail.performer
slicing:
  discriminator:
    type:
      v: profile
    path:
      v: resolve()
  rules:
    v: open
max:
  v: 1

id:
  v: CarePlan.activity.detail.performer:healthcareProvider
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: healthcareProvider
short:
  v: HealthcareProvider
definition:
  v: The health professional carrying out the nursing procedure.
alias:
  v: Zorgverlener
max:
  v: 1
type:
  code:
    v: Reference
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
    link: http://nictiz.nl/fhir/StructureDefinition/pattern-ZibHealthProfessionalReference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
    link: http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.7
  comment:
    v: HealthcareProvider

id:
  v: CarePlan.activity.detail.performer:caregiver
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: caregiver
short:
  v: Caregiver
definition:
  v: The caregiver carrying out the nursing procedure.
alias:
  v: Verzorger
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-ContactPerson
    link: http://nictiz.nl/fhir/StructureDefinition/zib-ContactPerson
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.16
  comment:
    v: Caregiver

id:
  v: CarePlan.activity.detail.performer:patient
path:
  v: CarePlan.activity.detail.performer
slice name:
  v: patient
short:
  v: Patient
definition:
  v: The patient carrying out the nursing procedure.
alias:
  v: Patient
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://nictiz.nl/fhir/StructureDefinition/zib-Patient
    link: http://nictiz.nl/fhir/StructureDefinition/zib-Patient
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.17
  comment:
    v: Patient

id:
  v: CarePlan.activity.detail.description
path:
  v: CarePlan.activity.detail.description
short:
  v: Instruction
definition:
  v: Instructions for performing the nursing action. This is particularly at issue when the action is performed by the patient himself or by a caregiver.
alias:
  v: Instructie
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.18
  comment:
    v: Instruction

id:
  v: CarePlan.note
path:
  v: CarePlan.note
max:
  v: 1

id:
  v: CarePlan.note.text
path:
  v: CarePlan.note.text
short:
  v: Comment
definition:
  v: Comment on the nursing intervention.
alias:
  v: Toelichting
mapping:
  identity:
    v: zib-nursingintervention-v3.2-2020EN
  map:
    v: NL-CM:14.2.5
  comment:
    v: Comment