PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.first.test.r4@0.1.1
    http://electronichealth.se/fhir/StructureDefinition/NLLMultiDoseDispConsent
description: null
package_name: rs/bonsai.first.test.r4
derivation: constraint
name: NLLMultiDoseDispConsent
type: Consent
elements:
  id: {mustSupport: true, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      lastUpdated: {mustSupport: true, index: 2}
      security:
        binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/security-labels'}
        mustSupport: true
        index: 3
        elements:
          system: {mustSupport: true, index: 4}
          version: {mustSupport: true, index: 5}
          code: {mustSupport: true, index: 6}
  status:
    short: active | inactive
    binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/multi-dose-disp-consent-status'}
    mustSupport: true
    index: 7
  scope:
    mustSupport: true
    index: 8
    elements:
      coding:
        mustSupport: true
        index: 9
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            mustSupport: true
            type: uri
            index: 10
          version: {mustSupport: true, index: 11}
          code:
            pattern: {type: code, value: patient-privacy}
            mustSupport: true
            type: code
            index: 12
  category:
    binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/consent-category-codes'}
    mustSupport: true
    index: 13
    elements:
      coding:
        mustSupport: true
        index: 14
        elements:
          system:
            pattern: {type: uri, value: 'http://ehalsomyndigheten.se/fhir/CodeSystem/library'}
            mustSupport: true
            type: uri
            index: 15
          version: {mustSupport: true, index: 16}
          code:
            pattern: {type: code, value: consent-dose-disp}
            mustSupport: true
            type: code
            index: 17
        required: [code, system]
    required: [coding]
  patient:
    refers: ['http://electronichealth.se/fhir/StructureDefinition/NLLPatient']
    type: Reference
    mustSupport: true
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
  policy:
    mustSupport: true
    index: 20
    elements:
      uri:
        pattern: {type: uri, value: 'https://ehalsomyndigheten.se/nationellalakemedelslistan/policy'}
        mustSupport: true
        type: uri
        index: 21
  provision:
    mustSupport: true
    index: 22
    elements:
      period:
        mustSupport: true
        index: 23
        elements:
          start: {short: Start time of the consent., mustSupport: true, index: 24}
          end: {short: End time of the consent., mustSupport: true, index: 25}
package_version: 0.1.1
class: profile
kind: resource
url: http://electronichealth.se/fhir/StructureDefinition/NLLMultiDoseDispConsent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 1.3.0
required: [patient]