zib-MedicationContraIndication
type: StructureDefinition
node role: treeRoot
id:
  v: zib-MedicationContraIndication
text:
  status:
    v: extensions
  div: Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Flag 0..* Flag This is an abstract profile. Child profiles: NlcoreMedicationContraIndication MedicationContraIndication comment 0..1 string Optional Extensions Element URL: http://nictiz.nl/fhir/StructureDefinition/ext-Comment value[x] 0..1 string Comment reasonClosure 0..1 string Optional Extensions Element URL: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationContraIndication.ReasonClosure status 1..1 code active | inactive | entered-in-error Slices for category 1..* CodeableConcept Clinical, administrative, etc. Slice: Unordered, Open by value:$this category:medicationContraIndication 1..1 CodeableConcept Clinical, administrative, etc. 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: 140401000146105 code 1..1 CodeableConcept MedicationContraIndicationName Binding: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000 (required) period <a href="StructureDefinition-zib-MedicationContraIndication-definitions.html#Flag.period.start" title="The date and possibly time when the contraindication became relevant for medication safety monitoring. Note: the zib specifies the StartDate concept as "The date and possibly time when the contraindication for medication [monitoring] was identified". This sentence was chosen specifically to indicate that the zib is about safety monitoring, which can only start once the contraindication has been identified. However, a date in the future is not prohibited, in which case the StartDate will not align with the identification date.">start 0..1 dateTime StartDate end 0..1 dateTime EndDate author 0..1 PatternZibHealthProfessionalReference(Device | Organization…
url:
  v: http://nictiz.nl/fhir/StructureDefinition/zib-MedicationContraIndication
version:
  v: 0.9.0
name:
  v: ZibMedicationContraIndication
title:
  v: zib MedicationContraIndication
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 contraindication (CI) for medication safety is a condition or characteristic of a patient where healthcare professionals are not allowed to subscribe certain medicines, or only under certain conditions.
purpose:
  v: This Flag resource represents the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) MedicationContraIndication v1.0 (2020)](https://zibs.nl/wiki/MedicationContraIndication-v1.0(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-medicationcontraindication-v1.0-2020EN
  uri:
    v: https://zibs.nl/wiki/MedicationContraIndication-v1.0(2020EN)
  name:
    v: zib MedicationContraIndication-v1.0(2020EN)
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
kind:
  v: resource
abstract:
  v: true
type:
  v: Flag
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Flag
  link: http://hl7.org/fhir/StructureDefinition/Flag
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Flag
    path:
      v: Flag
    short:
      v: MedicationContraIndication
    definition:
      v: Prospective warnings of potential issues when providing care to the patient.
    comment:
      v: Although a medication contra-indication could be represented using both the Flag or the DetectedIssue resource, the latter is an _event_ from the FHIR workflow perspective and associated with a specific action. For this reason, it is not a proper representation of zib MedicationContraIndication and this zib has been mapped onto the Flag resource.
    alias:
      v: Barriers to Care
    alias:
      v: Alert
    alias:
      v: Warning
    alias:
      v: MedicatieContraIndicatie
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Flag
      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
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: rim
      map:
        v: Observation[classCode=ISSUE, moodCode=EVN]
    mapping:
      identity:
        v: zib-medicationcontraindication-v1.0-2020EN
      map:
        v: NL-CM:9.14.1
      comment:
        v: MedicationContraIndication
  element:
    id:
      v: Flag.id
    path:
      v: Flag.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.

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.

v: 0

v: 1

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

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
  value:
    v: id
code:
  v: http://hl7.org/fhirpath/System.String

v: false

v: true

id:
  v: Flag.meta
path:
  v: Flag.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: Flag.implicitRules
path:
  v: Flag.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: Flag.language
path:
  v: Flag.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: Flag.text
path:
  v: Flag.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: Flag.contained
path:
  v: Flag.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: Flag.extension
path:
  v: Flag.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: 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

id:
  v: Flag.extension:comment
path:
  v: Flag.extension
slice name:
  v: comment
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
    link: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() 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: Flag.extension:comment.id
path:
  v: Flag.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: Flag.extension:comment.extension
path:
  v: Flag.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: Flag.extension:comment.url
path:
  v: Flag.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-Comment
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Flag.extension:comment.value[x]
path:
  v: Flag.extension.value[x]
short:
  v: Comment
definition:
  v: Comment on the contraindication important for interpretation which cannot be captured in any of the other data items. For example, a comment on a contraindication with an end date in the future.
alias:
  v: Toelichting
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  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: rim
  map:
    v: N/A
mapping:
  identity:
    v: zib-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.7
  comment:
    v: Comment

id:
  v: Flag.extension:reasonClosure
path:
  v: Flag.extension
slice name:
  v: reasonClosure
short:
  v: Optional Extensions Element
definition:
  v: Optional Extension Element - found in all resources.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
  profile:
    v: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationContraIndication.ReasonClosure
    link: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationContraIndication.ReasonClosure
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: Flag.modifierExtension
path:
  v: Flag.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: Flag.identifier
path:
  v: Flag.identifier
short:
  v: Business identifier
definition:
  v: Business identifiers assigned to this flag 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 flag 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: Flag.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: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: Flag.status
path:
  v: Flag.status
short:
  v: active | inactive | entered-in-error
definition:
  v: Supports basic workflow.
comment:
  v: This element is implictly mapped to the zib concept NL-CM:9.14.3 (EndDate). Unless the status is explicitly recorded, the following guidance applies: * When EndDateTime is present and in the past, `.status` will usually be set to _inactive_. * In all other situations, `.status` will usually be set to _active_. This element is labeled as a modifier because the status contains codes that mark the resource as entered in error.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Flag.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 resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value:
      v: FlagStatus
  strength:
    v: required
  description:
    v: Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error.
  value set:
    v: http://hl7.org/fhir/ValueSet/flag-status|4.0.1
    link: 4.0
    link: .1
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: rim
  map:
    v: .status
mapping:
  identity:
    v: zib-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.3
  comment:
    v: EndDate (implicit, main mapping is on `Flag.period.end`)

id:
  v: Flag.category
path:
  v: Flag.category
slicing:
  discriminator:
    type:
      v: value
    path:
      v: $this
  rules:
    v: open
short:
  v: Clinical, administrative, etc.
definition:
  v: Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.
comment:
  v: The value set will often need to be adjusted based on local business rules and usage context.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Flag.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: FlagCategory
  strength:
    v: example
  description:
    v: A general category for flags for filtering/display purposes.
  value set:
    v: http://hl7.org/fhir/ValueSet/flag-category
    link: http://hl7.org/fhir/ValueSet/flag-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Flag.category:medicationContraIndication
path:
  v: Flag.category
slice name:
  v: medicationContraIndication
short:
  v: Clinical, administrative, etc.
definition:
  v: Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.
comment:
  v: The value set will often need to be adjusted based on local business rules and usage context.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Flag.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
pattern: CodeableConcept
  coding: http://snomed.info/id/140401000146105
    system:
      v: http://snomed.info/sct
    code:
      v: 140401000146105
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: FlagCategory
  strength:
    v: example
  description:
    v: A general category for flags for filtering/display purposes.
  value set:
    v: http://hl7.org/fhir/ValueSet/flag-category
    link: http://hl7.org/fhir/ValueSet/flag-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Flag.code
path:
  v: Flag.code
short:
  v: MedicationContraIndicationName
definition:
  v: The name and code of the contraindication from the Dutch National Contraindication list (G-standard Thesaurus 40).
comment:
  v: If non-coded, use CodeableConcept.text. This element should always be included in the narrative.
alias:
  v: MedicatieContraIndicatieNaam
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Flag.code
  min:
    v: 1
  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:
  strength:
    v: required
  value set:
    v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000
    link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: .value
mapping:
  identity:
    v: zib-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.6
  comment:
    v: MedicationContraIndicationName

id:
  v: Flag.subject
path:
  v: Flag.subject
short:
  v: Who/What is flag about?
definition:
  v: The patient, location, group, organization, or practitioner etc. this is about record this flag is associated with.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Flag.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/Location
    link: http://hl7.org/fhir/StructureDefinition/Location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    link: http://hl7.org/fhir/StructureDefinition/Group
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    link: http://hl7.org/fhir/StructureDefinition/Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Procedure
    link: http://hl7.org/fhir/StructureDefinition/Procedure
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.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role[classCode=PAT | LOCE | ASSIGNED]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: Flag.period
path:
  v: Flag.period
short:
  v: Time period when flag is active
definition:
  v: The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Flag.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: w5
  map:
    v: FiveWs.context

id:
  v: Flag.period.id
path:
  v: Flag.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: Flag.period.extension
path:
  v: Flag.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: Flag.period.start
path:
  v: Flag.period.start
short:
  v: StartDate
definition:
  v: The date and possibly time when the contraindication became relevant for medication safety monitoring. Note: the zib specifies the StartDate concept as "The date and possibly time when the contraindication for medication [monitoring] was identified". This sentence was chosen specifically to indicate that the zib is about safety monitoring, which can only start once the contraindication has been identified. However, a date in the future is not prohibited, in which case the StartDate will not align with the identification date.
comment:
  v: If the low element is missing, the meaning is that the low boundary is not known.
alias:
  v: BeginDatum
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Period.start
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
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-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.2
  comment:
    v: StartDate

id:
  v: Flag.period.end
path:
  v: Flag.period.end
short:
  v: EndDate
definition:
  v: The date and, if applicable, time when the contraindication for medication monitoring is considered no longer applicable.
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: EindDatum
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-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.3
  comment:
    v: EndDate

id:
  v: Flag.encounter
path:
  v: Flag.encounter
short:
  v: Alert relevant during encounter
definition:
  v: This alert is only relevant during the encounter.
comment:
  v: If both Flag.encounter and Flag.period are valued, then Flag.period.start shall not be before Encounter.period.start and Flag.period.end shall not be after Encounter.period.end.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Flag.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: w5
  map:
    v: FiveWs.context

id:
  v: Flag.author
path:
  v: Flag.author
short:
  v: Reporter
definition:
  v: The health professional who takes responsibility for registering the contraindication.
alias:
  v: Melder
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Flag.author
  min:
    v: 0
  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://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  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://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: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].role
mapping:
  identity:
    v: zib-medicationcontraindication-v1.0-2020EN
  map:
    v: NL-CM:9.14.5
  comment:
    v: Reporter

element:
  id:
    v: Flag
  path:
    v: Flag
  short:
    v: MedicationContraIndication
  comment:
    v: Although a medication contra-indication could be represented using both the Flag or the DetectedIssue resource, the latter is an _event_ from the FHIR workflow perspective and associated with a specific action. For this reason, it is not a proper representation of zib MedicationContraIndication and this zib has been mapped onto the Flag resource.
  alias:
    v: MedicatieContraIndicatie
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.1
    comment:
      v: MedicationContraIndication
element:
  id:
    v: Flag.extension:comment
  path:
    v: Flag.extension
  slice name:
    v: comment
  max:
    v: 1
  type:
    code:
      v: Extension
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
      link: http://nictiz.nl/fhir/StructureDefinition/ext-Comment
element:
  id:
    v: Flag.extension:comment.value[x]
  path:
    v: Flag.extension.value[x]
  short:
    v: Comment
  definition:
    v: Comment on the contraindication important for interpretation which cannot be captured in any of the other data items. For example, a comment on a contraindication with an end date in the future.
  alias:
    v: Toelichting
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.7
    comment:
      v: Comment
element:
  id:
    v: Flag.extension:reasonClosure
  path:
    v: Flag.extension
  slice name:
    v: reasonClosure
  max:
    v: 1
  type:
    code:
      v: Extension
    profile:
      v: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationContraIndication.ReasonClosure
      link: http://nictiz.nl/fhir/StructureDefinition/ext-MedicationContraIndication.ReasonClosure
element:
  id:
    v: Flag.status
  path:
    v: Flag.status
  comment:
    v: This element is implictly mapped to the zib concept NL-CM:9.14.3 (EndDate). Unless the status is explicitly recorded, the following guidance applies: * When EndDateTime is present and in the past, `.status` will usually be set to _inactive_. * In all other situations, `.status` will usually be set to _active_. This element is labeled as a modifier because the status contains codes that mark the resource as entered in error.
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.3
    comment:
      v: EndDate (implicit, main mapping is on `Flag.period.end`)
element:
  id:
    v: Flag.category
  path:
    v: Flag.category
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: $this
    rules:
      v: open
  min:
    v: 1
element:
  id:
    v: Flag.category:medicationContraIndication
  path:
    v: Flag.category
  slice name:
    v: medicationContraIndication
  min:
    v: 1
  max:
    v: 1
  pattern: CodeableConcept
    coding: http://snomed.info/id/140401000146105
      system:
        v: http://snomed.info/sct
      code:
        v: 140401000146105
element:
  id:
    v: Flag.code
  path:
    v: Flag.code
  short:
    v: MedicationContraIndicationName
  definition:
    v: The name and code of the contraindication from the Dutch National Contraindication list (G-standard Thesaurus 40).
  alias:
    v: MedicatieContraIndicatieNaam
  binding:
    strength:
      v: required
    value set:
      v: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000
      link: http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.9.14.1--20200901000000
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.6
    comment:
      v: MedicationContraIndicationName
element:
  id:
    v: Flag.period.start
  path:
    v: Flag.period.start
  short:
    v: StartDate
  definition:
    v: The date and possibly time when the contraindication became relevant for medication safety monitoring. Note: the zib specifies the StartDate concept as "The date and possibly time when the contraindication for medication [monitoring] was identified". This sentence was chosen specifically to indicate that the zib is about safety monitoring, which can only start once the contraindication has been identified. However, a date in the future is not prohibited, in which case the StartDate will not align with the identification date.
  alias:
    v: BeginDatum
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.2
    comment:
      v: StartDate
element:
  id:
    v: Flag.period.end
  path:
    v: Flag.period.end
  short:
    v: EndDate
  definition:
    v: The date and, if applicable, time when the contraindication for medication monitoring is considered no longer applicable.
  alias:
    v: EindDatum
  mapping:
    identity:
      v: zib-medicationcontraindication-v1.0-2020EN
    map:
      v: NL-CM:9.14.3
    comment:
      v: EndDate
element:
  id:
    v: Flag.author
  path:
    v: Flag.author
  short:
    v: Reporter
  definition:
    v: The health professional who takes responsibility for registering the contraindication.
  alias:
    v: Melder
  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://hl7.org/fhir/StructureDefinition/Device
      link: http://hl7.org/fhir/StructureDefinition/Device
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Organization
      link: http://hl7.org/fhir/StructureDefinition/Organization
    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

identity:
  v: zib-medicationcontraindication-v1.0-2020EN
map:
  v: NL-CM:9.14.5
comment:
  v: Reporter