PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.first.test.r4@0.1.4
    http://electronichealth.se/fhir/StructureDefinition/NLLAccessConsent
description: null
package_name: rs/bonsai.first.test.r4
derivation: constraint
name: NLLAccessConsent
type: Consent
elements:
  patient:
    mustSupport: true
    index: 23
    elements:
      reference: {mustSupport: true, index: 24}
    required: [reference]
  category:
    binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/consent-category-codes'}
    mustSupport: true
    index: 18
    elements:
      coding:
        mustSupport: true
        index: 19
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            mustSupport: true
            type: uri
            index: 20
          version: {mustSupport: true, index: 21}
          code:
            pattern: {type: code, value: INFA}
            mustSupport: true
            type: code
            index: 22
  provision:
    mustSupport: true
    index: 27
    elements:
      period:
        mustSupport: true
        index: 28
        elements:
          start: {short: Start time of the consent., mustSupport: true, index: 29}
          end: {short: End time of the consent., mustSupport: true, index: 30}
        required: [end, start]
      actor:
        mustSupport: true
        index: 31
        elements:
          role:
            mustSupport: true
            index: 32
            elements:
              coding:
                mustSupport: true
                index: 33
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode'}
                    mustSupport: true
                    type: uri
                    index: 34
                  version: {mustSupport: true, index: 35}
                  code:
                    pattern: {type: code, value: GRANTEE}
                    mustSupport: true
                    type: code
                    index: 36
          reference:
            type: Reference
            mustSupport: true
            refers: ['http://hl7.org/fhir/StructureDefinition/Practitioner']
            index: 37
            elements:
              reference: {mustSupport: true, index: 38}
              type: {mustSupport: true, index: 39}
      securityLabel:
        mustSupport: true
        index: 40
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
            mustSupport: true
            type: uri
            index: 41
          version: {mustSupport: true, index: 42}
          code:
            short: Classification of information
            pattern: {type: code, value: IDSCL}
            mustSupport: true
            type: code
            index: 43
  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}
  scope:
    mustSupport: true
    index: 13
    elements:
      coding:
        mustSupport: true
        index: 14
        elements:
          system:
            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/consentscope'}
            mustSupport: true
            type: uri
            index: 15
          version: {mustSupport: true, index: 16}
          code:
            pattern: {type: code, value: patient-privacy}
            mustSupport: true
            type: code
            index: 17
  policy:
    mustSupport: true
    index: 25
    elements:
      uri:
        pattern: {type: uri, value: 'https://ehalsomyndigheten.se/nationellalakemedelslistan/policy'}
        mustSupport: true
        type: uri
        index: 26
  extension:
    type: Extension
    short: Inquery period
    mustSupport: true
    url: http://electronichealth.se/fhir/StructureDefinition/NLLPeriod
    index: 7
    slicing:
      slices:
        nllInqueryPeriod:
          match: {}
          schema:
            type: Extension
            short: Inquery period
            mustSupport: true
            url: http://electronichealth.se/fhir/StructureDefinition/NLLPeriod
            index: 7
            elements:
              value:
                choices: []
                index: 9
              value[x]:
                elements:
                  start: {short: Inquery start time, mustSupport: true, index: 10}
                  end: {short: Inquery end time, mustSupport: true, index: 11}
                required: [end, start]
  status:
    short: proposed | active | inactive
    binding: {strength: required, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/access-consent-status'}
    mustSupport: true
    index: 12
  id: {mustSupport: true, index: 0}
package_version: 0.1.4
extensions:
  nllInqueryPeriod:
    url: http://electronichealth.se/fhir/StructureDefinition/NLLPeriod
    type: Extension
    short: Inquery period
    mustSupport: true
    index: 7
    elements:
      value:
        choices: []
        index: 9
      value[x]:
        elements:
          start: {short: Inquery start time, mustSupport: true, index: 10}
          end: {short: Inquery end time, mustSupport: true, index: 11}
        required: [end, start]
class: profile
kind: resource
url: http://electronichealth.se/fhir/StructureDefinition/NLLAccessConsent
base: http://hl7.org/fhir/StructureDefinition/Consent
version: 1.2.0