PackagesCanonicalsLogsProblems
    Packages
    vzvz.fhir.mitz@3.8.0
    http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-mitz-base-consent
description: null
package_name: vzvz.fhir.mitz
derivation: constraint
name: MitzBaseConsent
type: Consent
elements:
  id: {index: 0}
  meta:
    index: 1
    elements:
      profile: {index: 2}
    required: [profile]
  extension:
    type: Extension
    url: http://fhir.nl/StructureDefinition/OTV-ProviderCategory
    index: 3
    slicing:
      slices:
        providerCategory:
          match: {}
          schema: {type: Extension, url: 'http://fhir.nl/StructureDefinition/OTV-ProviderCategory', index: 3}
          min: 0
  scope:
    elements:
      coding:
        index: 4
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            type: uri
            index: 5
          version: {index: 6}
          code: {short: Consent type, index: 7}
        required: [code, system, version]
    required: [coding]
  patient:
    index: 8
    elements:
      reference: {index: 9}
    required: [reference]
  dateTime: {short: Consent registration date, index: 10}
  policyRule:
    binding: {strength: extensible, valueSet: 'http://fhir.nl/otv/ValueSet/policyrule-codes', bindingName: ConsentPolicyRule}
    index: 11
  provision:
    elements:
      type: {index: 12}
      period:
        short: Validity of consent
        index: 13
        elements:
          start: {index: 14}
          end: {index: 15}
      actor:
        elements:
          role:
            binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ParticipationType', bindingName: ConsentActorRole}
            index: 16
            elements:
              coding:
                index: 17
                elements:
                  system: {index: 18}
                  code: {index: 19}
                required: [code, system]
            required: [coding]
          reference:
            elements:
              reference: {short: Organization resource, index: 20}
            required: [reference]
      provision:
        elementReference: ['http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-mitz-base-consent', elements, org/fhir/StructureDefinition/Consent#Consent, elements, provision]
        index: 21
    required: [type]
package_version: 3.8.0
extensions:
  providerCategory: {url: 'http://fhir.nl/StructureDefinition/OTV-ProviderCategory', min: 0, type: Extension, index: 3}
class: profile
kind: resource
url: http://vzvz.nl/fhir/StructureDefinition/nl-vzvz-mitz-base-consent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 3.8.0
required: [dateTime, id, meta, patient]