PackagesCanonicalsLogsProblems
    Packages
    bonsai.first.test.r4@0.1.9
    http://electronichealth.se/fhir/StructureDefinition/NLLMedication
description: null
package_name: bonsai.first.test.r4
derivation: constraint
name: NLLMedication
type: Medication
elements:
  amount:
    mustSupport: true
    index: 82
    extensions:
      nllDescription: {url: 'http://electronichealth.se/fhir/StructureDefinition/NLLAmountDescription', max: 1, type: Extension, mustSupport: true, index: 83}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://electronichealth.se/fhir/StructureDefinition/NLLAmountDescription
        index: 83
        slicing:
          slices:
            nllDescription:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://electronichealth.se/fhir/StructureDefinition/NLLAmountDescription', index: 83}
              max: 1
      numerator:
        mustSupport: true
        index: 84
        elements:
          value: {short: Amount per package, mustSupport: true, index: 85}
          unit: {maxLength: 80, mustSupport: true, index: 86}
      denominator:
        mustSupport: true
        pattern:
          type: Quantity
          value: {value: 1}
        type: Quantity
        index: 87
        elements:
          value: {mustSupport: true, index: 88}
  extension:
    type: Extension
    mustSupport: true
    url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo
    index: 4
    slicing:
      slices:
        nllArticleInfo:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo
            index: 4
            extensions:
              medicinalProduct: {url: null, mustSupport: true, index: 5}
              productType:
                url: null
                mustSupport: true
                index: 6
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 7
                        elements:
                          system: {mustSupport: true, index: 8}
                          version: {mustSupport: true, index: 9}
                          code: {mustSupport: true, index: 10}
                      text: {mustSupport: true, index: 11}
              productName:
                url: null
                mustSupport: true
                index: 12
                extensions:
                  currentProductName: {url: null, mustSupport: true, index: 13}
                  history:
                    url: null
                    mustSupport: true
                    index: 14
                    extensions:
                      productName: {url: null, mustSupport: true, index: 15}
                      periodOfUse: {url: null, mustSupport: true, index: 16}
                    elements:
                      extension:
                        mustSupport: true
                        index: 15
                        slicing:
                          slices:
                            productName:
                              match: {}
                              schema: {mustSupport: true, index: 15}
                            periodOfUse:
                              match: {}
                              schema: {mustSupport: true, index: 16}
                elements:
                  extension:
                    mustSupport: true
                    index: 13
                    slicing:
                      slices:
                        currentProductName:
                          match: {}
                          schema: {mustSupport: true, index: 13}
                        history:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 14
                            extensions:
                              productName: {url: null, mustSupport: true, index: 15}
                              periodOfUse: {url: null, mustSupport: true, index: 16}
                            elements:
                              extension:
                                mustSupport: true
                                index: 15
                                slicing:
                                  slices:
                                    productName:
                                      match: {}
                                      schema: {mustSupport: true, index: 15}
                                    periodOfUse:
                                      match: {}
                                      schema: {mustSupport: true, index: 16}
              package:
                url: null
                mustSupport: true
                index: 17
                extensions:
                  packageContainer: {url: null, mustSupport: true, index: 18}
                  packageDescription: {url: null, mustSupport: true, index: 19}
                elements:
                  extension:
                    mustSupport: true
                    index: 18
                    slicing:
                      slices:
                        packageContainer:
                          match: {}
                          schema: {mustSupport: true, index: 18}
                        packageDescription:
                          match: {}
                          schema: {mustSupport: true, index: 19}
              strength:
                url: null
                mustSupport: true
                index: 20
                extensions:
                  quantity:
                    url: null
                    mustSupport: true
                    index: 21
                    elements:
                      value[x]:
                        elements:
                          value: {mustSupport: true, index: 22}
                          unit: {mustSupport: true, index: 23}
                  text: {url: null, mustSupport: true, index: 24}
                elements:
                  extension:
                    mustSupport: true
                    index: 21
                    slicing:
                      slices:
                        quantity:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 21
                            elements:
                              value[x]:
                                elements:
                                  value: {mustSupport: true, index: 22}
                                  unit: {mustSupport: true, index: 23}
                        text:
                          match: {}
                          schema: {mustSupport: true, index: 24}
            elements:
              extension:
                mustSupport: true
                index: 5
                slicing:
                  slices:
                    medicinalProduct:
                      match: {}
                      schema: {mustSupport: true, index: 5}
                    productType:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 6
                        elements:
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 7
                                elements:
                                  system: {mustSupport: true, index: 8}
                                  version: {mustSupport: true, index: 9}
                                  code: {mustSupport: true, index: 10}
                              text: {mustSupport: true, index: 11}
                    productName:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 12
                        extensions:
                          currentProductName: {url: null, mustSupport: true, index: 13}
                          history:
                            url: null
                            mustSupport: true
                            index: 14
                            extensions:
                              productName: {url: null, mustSupport: true, index: 15}
                              periodOfUse: {url: null, mustSupport: true, index: 16}
                            elements:
                              extension:
                                mustSupport: true
                                index: 15
                                slicing:
                                  slices:
                                    productName:
                                      match: {}
                                      schema: {mustSupport: true, index: 15}
                                    periodOfUse:
                                      match: {}
                                      schema: {mustSupport: true, index: 16}
                        elements:
                          extension:
                            mustSupport: true
                            index: 13
                            slicing:
                              slices:
                                currentProductName:
                                  match: {}
                                  schema: {mustSupport: true, index: 13}
                                history:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 14
                                    extensions:
                                      productName: {url: null, mustSupport: true, index: 15}
                                      periodOfUse: {url: null, mustSupport: true, index: 16}
                                    elements:
                                      extension:
                                        mustSupport: true
                                        index: 15
                                        slicing:
                                          slices:
                                            productName:
                                              match: {}
                                              schema: {mustSupport: true, index: 15}
                                            periodOfUse:
                                              match: {}
                                              schema: {mustSupport: true, index: 16}
                    package:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 17
                        extensions:
                          packageContainer: {url: null, mustSupport: true, index: 18}
                          packageDescription: {url: null, mustSupport: true, index: 19}
                        elements:
                          extension:
                            mustSupport: true
                            index: 18
                            slicing:
                              slices:
                                packageContainer:
                                  match: {}
                                  schema: {mustSupport: true, index: 18}
                                packageDescription:
                                  match: {}
                                  schema: {mustSupport: true, index: 19}
                    strength:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 20
                        extensions:
                          quantity:
                            url: null
                            mustSupport: true
                            index: 21
                            elements:
                              value[x]:
                                elements:
                                  value: {mustSupport: true, index: 22}
                                  unit: {mustSupport: true, index: 23}
                          text: {url: null, mustSupport: true, index: 24}
                        elements:
                          extension:
                            mustSupport: true
                            index: 21
                            slicing:
                              slices:
                                quantity:
                                  match: {}
                                  schema:
                                    mustSupport: true
                                    index: 21
                                    elements:
                                      value[x]:
                                        elements:
                                          value: {mustSupport: true, index: 22}
                                          unit: {mustSupport: true, index: 23}
                                text:
                                  match: {}
                                  schema: {mustSupport: true, index: 24}
        nllArticleAvailability:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleAvailability
            index: 25
            extensions:
              onTheMarket: {url: null, mustSupport: true, index: 26}
              salesStopped: {url: null, mustSupport: true, index: 27}
              withdrawalDate: {url: null, mustSupport: true, index: 28}
            elements:
              extension:
                mustSupport: true
                index: 26
                slicing:
                  slices:
                    onTheMarket:
                      match: {}
                      schema: {mustSupport: true, index: 26}
                    salesStopped:
                      match: {}
                      schema: {mustSupport: true, index: 27}
                    withdrawalDate:
                      match: {}
                      schema: {mustSupport: true, index: 28}
        nllArticleRegulations:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations
            index: 29
            extensions:
              prescriptiveAuthorityCode: {url: null, mustSupport: true, index: 30}
              repeatPrescription:
                url: null
                mustSupport: true
                index: 31
                elements:
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 32}
                      code: {mustSupport: true, index: 33}
              substitutionDetails:
                url: null
                mustSupport: true
                index: 34
                extensions:
                  interchangeable: {url: null, mustSupport: true, index: 35}
                  interchangeSubstanceGroup: {url: null, mustSupport: true, index: 36}
                elements:
                  extension:
                    mustSupport: true
                    index: 35
                    slicing:
                      slices:
                        interchangeable:
                          match: {}
                          schema: {mustSupport: true, index: 35}
                        interchangeSubstanceGroup:
                          match: {}
                          schema: {mustSupport: true, index: 36}
              dispensingRestriction:
                url: null
                mustSupport: true
                index: 37
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 38
                        elements:
                          system: {mustSupport: true, index: 39}
                          version: {mustSupport: true, index: 40}
                          code: {mustSupport: true, index: 41}
                      text: {mustSupport: true, index: 42}
              controlledMedicinalProduct: {url: null, mustSupport: true, index: 43}
              narcoticClassification:
                url: null
                mustSupport: true
                index: 44
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 45
                        elements:
                          system: {mustSupport: true, index: 46}
                          version: {mustSupport: true, index: 47}
                          code: {mustSupport: true, index: 48}
                      text: {mustSupport: true, index: 49}
            elements:
              extension:
                mustSupport: true
                index: 30
                slicing:
                  slices:
                    prescriptiveAuthorityCode:
                      match: {}
                      schema: {mustSupport: true, index: 30}
                    repeatPrescription:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 31
                        elements:
                          value[x]:
                            elements:
                              system: {mustSupport: true, index: 32}
                              code: {mustSupport: true, index: 33}
                    substitutionDetails:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 34
                        extensions:
                          interchangeable: {url: null, mustSupport: true, index: 35}
                          interchangeSubstanceGroup: {url: null, mustSupport: true, index: 36}
                        elements:
                          extension:
                            mustSupport: true
                            index: 35
                            slicing:
                              slices:
                                interchangeable:
                                  match: {}
                                  schema: {mustSupport: true, index: 35}
                                interchangeSubstanceGroup:
                                  match: {}
                                  schema: {mustSupport: true, index: 36}
                    dispensingRestriction:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 37
                        elements:
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 38
                                elements:
                                  system: {mustSupport: true, index: 39}
                                  version: {mustSupport: true, index: 40}
                                  code: {mustSupport: true, index: 41}
                              text: {mustSupport: true, index: 42}
                    controlledMedicinalProduct:
                      match: {}
                      schema: {mustSupport: true, index: 43}
                    narcoticClassification:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 44
                        elements:
                          value[x]:
                            elements:
                              coding:
                                mustSupport: true
                                index: 45
                                elements:
                                  system: {mustSupport: true, index: 46}
                                  version: {mustSupport: true, index: 47}
                                  code: {mustSupport: true, index: 48}
                              text: {mustSupport: true, index: 49}
        nllReimbursement:
          match: {}
          schema:
            type: Extension
            mustSupport: true
            url: http://electronichealth.se/fhir/StructureDefinition/NLLReimbursement
            index: 50
            extensions:
              eligibleForReimbursement: {url: null, mustSupport: true, index: 51}
              restrictedReimbursement: {url: null, mustSupport: true, index: 52}
              productOfThePeriod:
                url: null
                mustSupport: true
                index: 53
                extensions:
                  currentPeriod: {url: null, mustSupport: true, index: 54}
                  unavailable: {url: null, mustSupport: true, index: 55}
                  previousPeriod: {url: null, mustSupport: true, index: 56}
                elements:
                  extension:
                    mustSupport: true
                    index: 54
                    slicing:
                      slices:
                        currentPeriod:
                          match: {}
                          schema: {mustSupport: true, index: 54}
                        unavailable:
                          match: {}
                          schema: {mustSupport: true, index: 55}
                        previousPeriod:
                          match: {}
                          schema: {mustSupport: true, index: 56}
            elements:
              extension:
                mustSupport: true
                index: 51
                slicing:
                  slices:
                    eligibleForReimbursement:
                      match: {}
                      schema: {mustSupport: true, index: 51}
                    restrictedReimbursement:
                      match: {}
                      schema: {mustSupport: true, index: 52}
                    productOfThePeriod:
                      match: {}
                      schema:
                        mustSupport: true
                        index: 53
                        extensions:
                          currentPeriod: {url: null, mustSupport: true, index: 54}
                          unavailable: {url: null, mustSupport: true, index: 55}
                          previousPeriod: {url: null, mustSupport: true, index: 56}
                        elements:
                          extension:
                            mustSupport: true
                            index: 54
                            slicing:
                              slices:
                                currentPeriod:
                                  match: {}
                                  schema: {mustSupport: true, index: 54}
                                unavailable:
                                  match: {}
                                  schema: {mustSupport: true, index: 55}
                                previousPeriod:
                                  match: {}
                                  schema: {mustSupport: true, index: 56}
  status: {short: active | inactive, mustSupport: true, index: 77}
  id: {mustSupport: true, index: 0}
  code:
    mustSupport: true
    index: 66
    elements:
      coding:
        index: 67
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            atc:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                short: ATC
                binding: {strength: required, valueSet: 'http://www.whocc.no/atc'}
                mustSupport: true
                index: 68
                elements:
                  system:
                    pattern: {type: uri, value: 'http://www.whocc.no/atc'}
                    mustSupport: true
                    type: uri
                    index: 69
                  version: {mustSupport: true, index: 70}
                  code: {mustSupport: true, index: 71}
                required: [code]
            nplId:
              match: {system: 'http://electronichealth.se/fhir/NamingSystem/nplid'}
              schema:
                short: Medcinal product Id
                mustSupport: true
                binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/NamingSystem/nplid'}
                index: 72
                elements:
                  system:
                    pattern: {type: uri, value: 'http://electronichealth.se/fhir/NamingSystem/nplid'}
                    mustSupport: true
                    type: uri
                    index: 73
                  version: {mustSupport: true, index: 74}
                  code: {mustSupport: true, index: 75}
                required: [code]
      text: {maxLength: 240, mustSupport: true, index: 76}
  identifier:
    mustSupport: true
    index: 57
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        nplpackid:
          match: {system: 'http://electronichealth.se/fhir/NamingSystem/nplpackid'}
          schema:
            short: Medicinal product package ID
            mustSupport: true
            index: 58
            elements:
              use: {mustSupport: true, index: 59}
              system:
                pattern: {type: uri, value: 'http://electronichealth.se/fhir/NamingSystem/nplpackid'}
                mustSupport: true
                type: uri
                index: 60
              value: {maxLength: 14, mustSupport: true, index: 61}
            required: [system, value]
        varunr:
          match: {system: 'http://electronichealth.se/fhir/NamingSystem/varunr'}
          schema:
            short: Medical consumables Id
            mustSupport: true
            index: 62
            elements:
              use: {short: official | old, mustSupport: true, index: 63}
              system:
                pattern: {type: uri, value: 'http://electronichealth.se/fhir/NamingSystem/varunr'}
                mustSupport: true
                type: uri
                index: 64
              value: {short: Medical consumables Id, mustSupport: true, index: 65}
            required: [system, value]
  manufacturer:
    mustSupport: true
    index: 78
    elements:
      display: {short: Responsible organisation, maxLength: 160, mustSupport: true, index: 79}
  form:
    short: Dose form of the medicinal product
    mustSupport: true
    index: 80
    elements:
      text: {short: Dose form of the medicinal product, maxLength: 160, mustSupport: true, index: 81}
  text:
    mustSupport: true
    index: 1
    elements:
      status:
        pattern: {type: code, value: extensions}
        mustSupport: true
        type: code
        index: 2
      div: {mustSupport: true, index: 3}
package_version: 0.1.9
extensions:
  nllArticleInfo:
    url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo
    type: Extension
    mustSupport: true
    index: 4
    extensions:
      medicinalProduct: {url: null, mustSupport: true, index: 5}
      productType:
        url: null
        mustSupport: true
        index: 6
        elements:
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 7
                elements:
                  system: {mustSupport: true, index: 8}
                  version: {mustSupport: true, index: 9}
                  code: {mustSupport: true, index: 10}
              text: {mustSupport: true, index: 11}
      productName:
        url: null
        mustSupport: true
        index: 12
        extensions:
          currentProductName: {url: null, mustSupport: true, index: 13}
          history:
            url: null
            mustSupport: true
            index: 14
            extensions:
              productName: {url: null, mustSupport: true, index: 15}
              periodOfUse: {url: null, mustSupport: true, index: 16}
            elements:
              extension:
                mustSupport: true
                index: 15
                slicing:
                  slices:
                    productName:
                      match: {}
                      schema: {mustSupport: true, index: 15}
                    periodOfUse:
                      match: {}
                      schema: {mustSupport: true, index: 16}
        elements:
          extension:
            mustSupport: true
            index: 13
            slicing:
              slices:
                currentProductName:
                  match: {}
                  schema: {mustSupport: true, index: 13}
                history:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 14
                    extensions:
                      productName: {url: null, mustSupport: true, index: 15}
                      periodOfUse: {url: null, mustSupport: true, index: 16}
                    elements:
                      extension:
                        mustSupport: true
                        index: 15
                        slicing:
                          slices:
                            productName:
                              match: {}
                              schema: {mustSupport: true, index: 15}
                            periodOfUse:
                              match: {}
                              schema: {mustSupport: true, index: 16}
      package:
        url: null
        mustSupport: true
        index: 17
        extensions:
          packageContainer: {url: null, mustSupport: true, index: 18}
          packageDescription: {url: null, mustSupport: true, index: 19}
        elements:
          extension:
            mustSupport: true
            index: 18
            slicing:
              slices:
                packageContainer:
                  match: {}
                  schema: {mustSupport: true, index: 18}
                packageDescription:
                  match: {}
                  schema: {mustSupport: true, index: 19}
      strength:
        url: null
        mustSupport: true
        index: 20
        extensions:
          quantity:
            url: null
            mustSupport: true
            index: 21
            elements:
              value[x]:
                elements:
                  value: {mustSupport: true, index: 22}
                  unit: {mustSupport: true, index: 23}
          text: {url: null, mustSupport: true, index: 24}
        elements:
          extension:
            mustSupport: true
            index: 21
            slicing:
              slices:
                quantity:
                  match: {}
                  schema:
                    mustSupport: true
                    index: 21
                    elements:
                      value[x]:
                        elements:
                          value: {mustSupport: true, index: 22}
                          unit: {mustSupport: true, index: 23}
                text:
                  match: {}
                  schema: {mustSupport: true, index: 24}
    elements:
      extension:
        mustSupport: true
        index: 5
        slicing:
          slices:
            medicinalProduct:
              match: {}
              schema: {mustSupport: true, index: 5}
            productType:
              match: {}
              schema:
                mustSupport: true
                index: 6
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 7
                        elements:
                          system: {mustSupport: true, index: 8}
                          version: {mustSupport: true, index: 9}
                          code: {mustSupport: true, index: 10}
                      text: {mustSupport: true, index: 11}
            productName:
              match: {}
              schema:
                mustSupport: true
                index: 12
                extensions:
                  currentProductName: {url: null, mustSupport: true, index: 13}
                  history:
                    url: null
                    mustSupport: true
                    index: 14
                    extensions:
                      productName: {url: null, mustSupport: true, index: 15}
                      periodOfUse: {url: null, mustSupport: true, index: 16}
                    elements:
                      extension:
                        mustSupport: true
                        index: 15
                        slicing:
                          slices:
                            productName:
                              match: {}
                              schema: {mustSupport: true, index: 15}
                            periodOfUse:
                              match: {}
                              schema: {mustSupport: true, index: 16}
                elements:
                  extension:
                    mustSupport: true
                    index: 13
                    slicing:
                      slices:
                        currentProductName:
                          match: {}
                          schema: {mustSupport: true, index: 13}
                        history:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 14
                            extensions:
                              productName: {url: null, mustSupport: true, index: 15}
                              periodOfUse: {url: null, mustSupport: true, index: 16}
                            elements:
                              extension:
                                mustSupport: true
                                index: 15
                                slicing:
                                  slices:
                                    productName:
                                      match: {}
                                      schema: {mustSupport: true, index: 15}
                                    periodOfUse:
                                      match: {}
                                      schema: {mustSupport: true, index: 16}
            package:
              match: {}
              schema:
                mustSupport: true
                index: 17
                extensions:
                  packageContainer: {url: null, mustSupport: true, index: 18}
                  packageDescription: {url: null, mustSupport: true, index: 19}
                elements:
                  extension:
                    mustSupport: true
                    index: 18
                    slicing:
                      slices:
                        packageContainer:
                          match: {}
                          schema: {mustSupport: true, index: 18}
                        packageDescription:
                          match: {}
                          schema: {mustSupport: true, index: 19}
            strength:
              match: {}
              schema:
                mustSupport: true
                index: 20
                extensions:
                  quantity:
                    url: null
                    mustSupport: true
                    index: 21
                    elements:
                      value[x]:
                        elements:
                          value: {mustSupport: true, index: 22}
                          unit: {mustSupport: true, index: 23}
                  text: {url: null, mustSupport: true, index: 24}
                elements:
                  extension:
                    mustSupport: true
                    index: 21
                    slicing:
                      slices:
                        quantity:
                          match: {}
                          schema:
                            mustSupport: true
                            index: 21
                            elements:
                              value[x]:
                                elements:
                                  value: {mustSupport: true, index: 22}
                                  unit: {mustSupport: true, index: 23}
                        text:
                          match: {}
                          schema: {mustSupport: true, index: 24}
  nllArticleAvailability:
    url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleAvailability
    type: Extension
    mustSupport: true
    index: 25
    extensions:
      onTheMarket: {url: null, mustSupport: true, index: 26}
      salesStopped: {url: null, mustSupport: true, index: 27}
      withdrawalDate: {url: null, mustSupport: true, index: 28}
    elements:
      extension:
        mustSupport: true
        index: 26
        slicing:
          slices:
            onTheMarket:
              match: {}
              schema: {mustSupport: true, index: 26}
            salesStopped:
              match: {}
              schema: {mustSupport: true, index: 27}
            withdrawalDate:
              match: {}
              schema: {mustSupport: true, index: 28}
  nllArticleRegulations:
    url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations
    type: Extension
    mustSupport: true
    index: 29
    extensions:
      prescriptiveAuthorityCode: {url: null, mustSupport: true, index: 30}
      repeatPrescription:
        url: null
        mustSupport: true
        index: 31
        elements:
          value[x]:
            elements:
              system: {mustSupport: true, index: 32}
              code: {mustSupport: true, index: 33}
      substitutionDetails:
        url: null
        mustSupport: true
        index: 34
        extensions:
          interchangeable: {url: null, mustSupport: true, index: 35}
          interchangeSubstanceGroup: {url: null, mustSupport: true, index: 36}
        elements:
          extension:
            mustSupport: true
            index: 35
            slicing:
              slices:
                interchangeable:
                  match: {}
                  schema: {mustSupport: true, index: 35}
                interchangeSubstanceGroup:
                  match: {}
                  schema: {mustSupport: true, index: 36}
      dispensingRestriction:
        url: null
        mustSupport: true
        index: 37
        elements:
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 38
                elements:
                  system: {mustSupport: true, index: 39}
                  version: {mustSupport: true, index: 40}
                  code: {mustSupport: true, index: 41}
              text: {mustSupport: true, index: 42}
      controlledMedicinalProduct: {url: null, mustSupport: true, index: 43}
      narcoticClassification:
        url: null
        mustSupport: true
        index: 44
        elements:
          value[x]:
            elements:
              coding:
                mustSupport: true
                index: 45
                elements:
                  system: {mustSupport: true, index: 46}
                  version: {mustSupport: true, index: 47}
                  code: {mustSupport: true, index: 48}
              text: {mustSupport: true, index: 49}
    elements:
      extension:
        mustSupport: true
        index: 30
        slicing:
          slices:
            prescriptiveAuthorityCode:
              match: {}
              schema: {mustSupport: true, index: 30}
            repeatPrescription:
              match: {}
              schema:
                mustSupport: true
                index: 31
                elements:
                  value[x]:
                    elements:
                      system: {mustSupport: true, index: 32}
                      code: {mustSupport: true, index: 33}
            substitutionDetails:
              match: {}
              schema:
                mustSupport: true
                index: 34
                extensions:
                  interchangeable: {url: null, mustSupport: true, index: 35}
                  interchangeSubstanceGroup: {url: null, mustSupport: true, index: 36}
                elements:
                  extension:
                    mustSupport: true
                    index: 35
                    slicing:
                      slices:
                        interchangeable:
                          match: {}
                          schema: {mustSupport: true, index: 35}
                        interchangeSubstanceGroup:
                          match: {}
                          schema: {mustSupport: true, index: 36}
            dispensingRestriction:
              match: {}
              schema:
                mustSupport: true
                index: 37
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 38
                        elements:
                          system: {mustSupport: true, index: 39}
                          version: {mustSupport: true, index: 40}
                          code: {mustSupport: true, index: 41}
                      text: {mustSupport: true, index: 42}
            controlledMedicinalProduct:
              match: {}
              schema: {mustSupport: true, index: 43}
            narcoticClassification:
              match: {}
              schema:
                mustSupport: true
                index: 44
                elements:
                  value[x]:
                    elements:
                      coding:
                        mustSupport: true
                        index: 45
                        elements:
                          system: {mustSupport: true, index: 46}
                          version: {mustSupport: true, index: 47}
                          code: {mustSupport: true, index: 48}
                      text: {mustSupport: true, index: 49}
  nllReimbursement:
    url: http://electronichealth.se/fhir/StructureDefinition/NLLReimbursement
    type: Extension
    mustSupport: true
    index: 50
    extensions:
      eligibleForReimbursement: {url: null, mustSupport: true, index: 51}
      restrictedReimbursement: {url: null, mustSupport: true, index: 52}
      productOfThePeriod:
        url: null
        mustSupport: true
        index: 53
        extensions:
          currentPeriod: {url: null, mustSupport: true, index: 54}
          unavailable: {url: null, mustSupport: true, index: 55}
          previousPeriod: {url: null, mustSupport: true, index: 56}
        elements:
          extension:
            mustSupport: true
            index: 54
            slicing:
              slices:
                currentPeriod:
                  match: {}
                  schema: {mustSupport: true, index: 54}
                unavailable:
                  match: {}
                  schema: {mustSupport: true, index: 55}
                previousPeriod:
                  match: {}
                  schema: {mustSupport: true, index: 56}
    elements:
      extension:
        mustSupport: true
        index: 51
        slicing:
          slices:
            eligibleForReimbursement:
              match: {}
              schema: {mustSupport: true, index: 51}
            restrictedReimbursement:
              match: {}
              schema: {mustSupport: true, index: 52}
            productOfThePeriod:
              match: {}
              schema:
                mustSupport: true
                index: 53
                extensions:
                  currentPeriod: {url: null, mustSupport: true, index: 54}
                  unavailable: {url: null, mustSupport: true, index: 55}
                  previousPeriod: {url: null, mustSupport: true, index: 56}
                elements:
                  extension:
                    mustSupport: true
                    index: 54
                    slicing:
                      slices:
                        currentPeriod:
                          match: {}
                          schema: {mustSupport: true, index: 54}
                        unavailable:
                          match: {}
                          schema: {mustSupport: true, index: 55}
                        previousPeriod:
                          match: {}
                          schema: {mustSupport: true, index: 56}
class: profile
kind: resource
url: http://electronichealth.se/fhir/StructureDefinition/NLLMedication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: 1.1.3
required: [identifier]