PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-BandaPrescription
description: Banda prescription used in SFM, based on Basic.
package_name: sfm.030521
derivation: constraint
name: SfmBandaPrescription
type: Basic
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        reseptinfo:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/sfm-reseptamendment
            index: 1
            extensions:
              dispencesummary:
                url: dispencesummary
                mustSupport: true
                index: 33
                extensions:
                  varenummer: {url: null, mustSupport: true, index: 35}
                  nameformstrenght: {url: null, mustSupport: true, index: 36}
                  packingsize: {url: null, mustSupport: true, index: 37}
                  noPackingTotal: {url: null, mustSupport: true, index: 38}
                  noPackingLast: {url: null, mustSupport: true, index: 39}
                  lastdeliverydate: {url: null, mustSupport: true, index: 40}
                elements:
                  extension:
                    index: 34
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        varenummer:
                          match: {url: null}
                          schema: {mustSupport: true, index: 35}
                        nameformstrenght:
                          match: {url: null}
                          schema: {mustSupport: true, index: 36}
                        packingsize:
                          match: {url: null}
                          schema: {mustSupport: true, index: 37}
                        noPackingTotal:
                          match: {url: null}
                          schema: {mustSupport: true, index: 38}
                        noPackingLast:
                          match: {url: null}
                          schema: {mustSupport: true, index: 39}
                        lastdeliverydate:
                          match: {url: null}
                          schema: {mustSupport: true, index: 40}
                  url:
                    pattern: {type: Uri, value: dispencesummary}
                    index: 41
              recallinfo:
                url: null
                mustSupport: true
                index: 28
                extensions:
                  recallId: {url: null, mustSupport: true, index: 30}
                  text: {url: null, mustSupport: true, index: 31}
                  recallcode: {url: null, mustSupport: true, index: 32}
                elements:
                  extension:
                    index: 29
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        recallId:
                          match: {url: null}
                          schema: {mustSupport: true, index: 30}
                        text:
                          match: {url: null}
                          schema: {mustSupport: true, index: 31}
                        recallcode:
                          match: {url: null}
                          schema: {mustSupport: true, index: 32}
              guardiantransparencyreservation: {url: null, mustSupport: true, index: 7}
              refnum: {url: null, mustSupport: true, index: 10}
              ownpractice: {url: null, mustSupport: true, index: 8}
              reimbursmentparagraph: {url: null, mustSupport: true, index: 25}
              dispatchrequest:
                url: null
                mustSupport: true
                index: 11
                extensions:
                  condition: {url: null, mustSupport: true, index: 13}
                  metod: {url: null, mustSupport: true, index: 14}
                  organization: {url: null, mustSupport: true, index: 15}
                  contactperson: {url: null, mustSupport: true, index: 16}
                  note: {url: null, mustSupport: true, index: 17}
                  orgnum: {url: null, mustSupport: true, index: 18}
                  orgname: {url: null, mustSupport: true, index: 19}
                  address: {url: null, mustSupport: true, index: 20}
                elements:
                  extension:
                    index: 12
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        condition:
                          match: {url: null}
                          schema: {mustSupport: true, index: 13}
                        metod:
                          match: {url: null}
                          schema: {mustSupport: true, index: 14}
                        organization:
                          match: {url: null}
                          schema: {mustSupport: true, index: 15}
                        contactperson:
                          match: {url: null}
                          schema: {mustSupport: true, index: 16}
                        note:
                          match: {url: null}
                          schema: {mustSupport: true, index: 17}
                        orgnum:
                          match: {url: null}
                          schema: {mustSupport: true, index: 18}
                        orgname:
                          match: {url: null}
                          schema: {mustSupport: true, index: 19}
                        address:
                          match: {url: null}
                          schema: {mustSupport: true, index: 20}
              dischargedhospital: {url: null, mustSupport: true, index: 22}
              festUpdate: {url: null, mustSupport: true, index: 5}
              reseptdate: {url: null, mustSupport: true, index: 3}
              helfoapplication: {url: null, mustSupport: true, index: 6}
              note: {url: null, mustSupport: true, index: 27}
              rfstatus: {url: null, mustSupport: true, index: 26}
              itemgroup: {url: null, mustSupport: true, index: 24}
              earliestdispence: {url: null, mustSupport: true, index: 21}
              indoctorsname: {url: null, mustSupport: true, index: 9}
              lockedresept: {url: null, mustSupport: true, index: 23}
              expirationdate: {url: null, mustSupport: true, index: 4}
            elements:
              extension:
                index: 2
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    dispencesummary:
                      match: {url: dispencesummary}
                      schema:
                        mustSupport: true
                        index: 33
                        extensions:
                          varenummer: {url: null, mustSupport: true, index: 35}
                          nameformstrenght: {url: null, mustSupport: true, index: 36}
                          packingsize: {url: null, mustSupport: true, index: 37}
                          noPackingTotal: {url: null, mustSupport: true, index: 38}
                          noPackingLast: {url: null, mustSupport: true, index: 39}
                          lastdeliverydate: {url: null, mustSupport: true, index: 40}
                        elements:
                          extension:
                            index: 34
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                varenummer:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 35}
                                nameformstrenght:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 36}
                                packingsize:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 37}
                                noPackingTotal:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 38}
                                noPackingLast:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 39}
                                lastdeliverydate:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 40}
                          url:
                            pattern: {type: Uri, value: dispencesummary}
                            index: 41
                    recallinfo:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        index: 28
                        extensions:
                          recallId: {url: null, mustSupport: true, index: 30}
                          text: {url: null, mustSupport: true, index: 31}
                          recallcode: {url: null, mustSupport: true, index: 32}
                        elements:
                          extension:
                            index: 29
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                recallId:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 30}
                                text:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 31}
                                recallcode:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 32}
                    guardiantransparencyreservation:
                      match: {url: null}
                      schema: {mustSupport: true, index: 7}
                    refnum:
                      match: {url: null}
                      schema: {mustSupport: true, index: 10}
                    ownpractice:
                      match: {url: null}
                      schema: {mustSupport: true, index: 8}
                    reimbursmentparagraph:
                      match: {url: null}
                      schema: {mustSupport: true, index: 25}
                    dispatchrequest:
                      match: {url: null}
                      schema:
                        mustSupport: true
                        index: 11
                        extensions:
                          condition: {url: null, mustSupport: true, index: 13}
                          metod: {url: null, mustSupport: true, index: 14}
                          organization: {url: null, mustSupport: true, index: 15}
                          contactperson: {url: null, mustSupport: true, index: 16}
                          note: {url: null, mustSupport: true, index: 17}
                          orgnum: {url: null, mustSupport: true, index: 18}
                          orgname: {url: null, mustSupport: true, index: 19}
                          address: {url: null, mustSupport: true, index: 20}
                        elements:
                          extension:
                            index: 12
                            slicing:
                              rules: open
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                condition:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 13}
                                metod:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 14}
                                organization:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 15}
                                contactperson:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 16}
                                note:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 17}
                                orgnum:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 18}
                                orgname:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 19}
                                address:
                                  match: {url: null}
                                  schema: {mustSupport: true, index: 20}
                    dischargedhospital:
                      match: {url: null}
                      schema: {mustSupport: true, index: 22}
                    festUpdate:
                      match: {url: null}
                      schema: {mustSupport: true, index: 5}
                    reseptdate:
                      match: {url: null}
                      schema: {mustSupport: true, index: 3}
                    helfoapplication:
                      match: {url: null}
                      schema: {mustSupport: true, index: 6}
                    note:
                      match: {url: null}
                      schema: {mustSupport: true, index: 27}
                    rfstatus:
                      match: {url: null}
                      schema: {mustSupport: true, index: 26}
                    itemgroup:
                      match: {url: null}
                      schema: {mustSupport: true, index: 24}
                    earliestdispence:
                      match: {url: null}
                      schema: {mustSupport: true, index: 21}
                    indoctorsname:
                      match: {url: null}
                      schema: {mustSupport: true, index: 9}
                    lockedresept:
                      match: {url: null}
                      schema: {mustSupport: true, index: 23}
                    expirationdate:
                      match: {url: null}
                      schema: {mustSupport: true, index: 4}
        reseptdetails:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://ehelse.no/fhir/StructureDefinition/sfm-reseptdocbanda
            index: 42
            extensions:
              productgroup: {url: null, mustSupport: true, index: 44}
              productnumber: {url: null, mustSupport: true, index: 45}
            elements:
              extension:
                index: 43
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    productgroup:
                      match: {url: null}
                      schema: {mustSupport: true, index: 44}
                    productnumber:
                      match: {url: null}
                      schema: {mustSupport: true, index: 45}
  code:
    mustSupport: true
    index: 46
    elements:
      coding:
        elements:
          system:
            pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7402'}
            index: 47
  subject:
    type: Reference
    short: Identifies the patient
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-Patient']
    index: 48
  author:
    type: Reference
    short: Identifies the prescriber
    mustSupport: true
    refers: ['http://ehelse.no/fhir/StructureDefinition/sfm-PractitionerRole']
    index: 49
package_version: 1.0.1
extensions:
  reseptinfo:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-reseptamendment
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      dispencesummary:
        url: dispencesummary
        mustSupport: true
        index: 33
        extensions:
          varenummer: {url: null, mustSupport: true, index: 35}
          nameformstrenght: {url: null, mustSupport: true, index: 36}
          packingsize: {url: null, mustSupport: true, index: 37}
          noPackingTotal: {url: null, mustSupport: true, index: 38}
          noPackingLast: {url: null, mustSupport: true, index: 39}
          lastdeliverydate: {url: null, mustSupport: true, index: 40}
        elements:
          extension:
            index: 34
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                varenummer:
                  match: {url: null}
                  schema: {mustSupport: true, index: 35}
                nameformstrenght:
                  match: {url: null}
                  schema: {mustSupport: true, index: 36}
                packingsize:
                  match: {url: null}
                  schema: {mustSupport: true, index: 37}
                noPackingTotal:
                  match: {url: null}
                  schema: {mustSupport: true, index: 38}
                noPackingLast:
                  match: {url: null}
                  schema: {mustSupport: true, index: 39}
                lastdeliverydate:
                  match: {url: null}
                  schema: {mustSupport: true, index: 40}
          url:
            pattern: {type: Uri, value: dispencesummary}
            index: 41
      recallinfo:
        url: null
        mustSupport: true
        index: 28
        extensions:
          recallId: {url: null, mustSupport: true, index: 30}
          text: {url: null, mustSupport: true, index: 31}
          recallcode: {url: null, mustSupport: true, index: 32}
        elements:
          extension:
            index: 29
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                recallId:
                  match: {url: null}
                  schema: {mustSupport: true, index: 30}
                text:
                  match: {url: null}
                  schema: {mustSupport: true, index: 31}
                recallcode:
                  match: {url: null}
                  schema: {mustSupport: true, index: 32}
      guardiantransparencyreservation: {url: null, mustSupport: true, index: 7}
      refnum: {url: null, mustSupport: true, index: 10}
      ownpractice: {url: null, mustSupport: true, index: 8}
      reimbursmentparagraph: {url: null, mustSupport: true, index: 25}
      dispatchrequest:
        url: null
        mustSupport: true
        index: 11
        extensions:
          condition: {url: null, mustSupport: true, index: 13}
          metod: {url: null, mustSupport: true, index: 14}
          organization: {url: null, mustSupport: true, index: 15}
          contactperson: {url: null, mustSupport: true, index: 16}
          note: {url: null, mustSupport: true, index: 17}
          orgnum: {url: null, mustSupport: true, index: 18}
          orgname: {url: null, mustSupport: true, index: 19}
          address: {url: null, mustSupport: true, index: 20}
        elements:
          extension:
            index: 12
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                condition:
                  match: {url: null}
                  schema: {mustSupport: true, index: 13}
                metod:
                  match: {url: null}
                  schema: {mustSupport: true, index: 14}
                organization:
                  match: {url: null}
                  schema: {mustSupport: true, index: 15}
                contactperson:
                  match: {url: null}
                  schema: {mustSupport: true, index: 16}
                note:
                  match: {url: null}
                  schema: {mustSupport: true, index: 17}
                orgnum:
                  match: {url: null}
                  schema: {mustSupport: true, index: 18}
                orgname:
                  match: {url: null}
                  schema: {mustSupport: true, index: 19}
                address:
                  match: {url: null}
                  schema: {mustSupport: true, index: 20}
      dischargedhospital: {url: null, mustSupport: true, index: 22}
      festUpdate: {url: null, mustSupport: true, index: 5}
      reseptdate: {url: null, mustSupport: true, index: 3}
      helfoapplication: {url: null, mustSupport: true, index: 6}
      note: {url: null, mustSupport: true, index: 27}
      rfstatus: {url: null, mustSupport: true, index: 26}
      itemgroup: {url: null, mustSupport: true, index: 24}
      earliestdispence: {url: null, mustSupport: true, index: 21}
      indoctorsname: {url: null, mustSupport: true, index: 9}
      lockedresept: {url: null, mustSupport: true, index: 23}
      expirationdate: {url: null, mustSupport: true, index: 4}
    elements:
      extension:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dispencesummary:
              match: {url: dispencesummary}
              schema:
                mustSupport: true
                index: 33
                extensions:
                  varenummer: {url: null, mustSupport: true, index: 35}
                  nameformstrenght: {url: null, mustSupport: true, index: 36}
                  packingsize: {url: null, mustSupport: true, index: 37}
                  noPackingTotal: {url: null, mustSupport: true, index: 38}
                  noPackingLast: {url: null, mustSupport: true, index: 39}
                  lastdeliverydate: {url: null, mustSupport: true, index: 40}
                elements:
                  extension:
                    index: 34
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        varenummer:
                          match: {url: null}
                          schema: {mustSupport: true, index: 35}
                        nameformstrenght:
                          match: {url: null}
                          schema: {mustSupport: true, index: 36}
                        packingsize:
                          match: {url: null}
                          schema: {mustSupport: true, index: 37}
                        noPackingTotal:
                          match: {url: null}
                          schema: {mustSupport: true, index: 38}
                        noPackingLast:
                          match: {url: null}
                          schema: {mustSupport: true, index: 39}
                        lastdeliverydate:
                          match: {url: null}
                          schema: {mustSupport: true, index: 40}
                  url:
                    pattern: {type: Uri, value: dispencesummary}
                    index: 41
            recallinfo:
              match: {url: null}
              schema:
                mustSupport: true
                index: 28
                extensions:
                  recallId: {url: null, mustSupport: true, index: 30}
                  text: {url: null, mustSupport: true, index: 31}
                  recallcode: {url: null, mustSupport: true, index: 32}
                elements:
                  extension:
                    index: 29
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        recallId:
                          match: {url: null}
                          schema: {mustSupport: true, index: 30}
                        text:
                          match: {url: null}
                          schema: {mustSupport: true, index: 31}
                        recallcode:
                          match: {url: null}
                          schema: {mustSupport: true, index: 32}
            guardiantransparencyreservation:
              match: {url: null}
              schema: {mustSupport: true, index: 7}
            refnum:
              match: {url: null}
              schema: {mustSupport: true, index: 10}
            ownpractice:
              match: {url: null}
              schema: {mustSupport: true, index: 8}
            reimbursmentparagraph:
              match: {url: null}
              schema: {mustSupport: true, index: 25}
            dispatchrequest:
              match: {url: null}
              schema:
                mustSupport: true
                index: 11
                extensions:
                  condition: {url: null, mustSupport: true, index: 13}
                  metod: {url: null, mustSupport: true, index: 14}
                  organization: {url: null, mustSupport: true, index: 15}
                  contactperson: {url: null, mustSupport: true, index: 16}
                  note: {url: null, mustSupport: true, index: 17}
                  orgnum: {url: null, mustSupport: true, index: 18}
                  orgname: {url: null, mustSupport: true, index: 19}
                  address: {url: null, mustSupport: true, index: 20}
                elements:
                  extension:
                    index: 12
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        condition:
                          match: {url: null}
                          schema: {mustSupport: true, index: 13}
                        metod:
                          match: {url: null}
                          schema: {mustSupport: true, index: 14}
                        organization:
                          match: {url: null}
                          schema: {mustSupport: true, index: 15}
                        contactperson:
                          match: {url: null}
                          schema: {mustSupport: true, index: 16}
                        note:
                          match: {url: null}
                          schema: {mustSupport: true, index: 17}
                        orgnum:
                          match: {url: null}
                          schema: {mustSupport: true, index: 18}
                        orgname:
                          match: {url: null}
                          schema: {mustSupport: true, index: 19}
                        address:
                          match: {url: null}
                          schema: {mustSupport: true, index: 20}
            dischargedhospital:
              match: {url: null}
              schema: {mustSupport: true, index: 22}
            festUpdate:
              match: {url: null}
              schema: {mustSupport: true, index: 5}
            reseptdate:
              match: {url: null}
              schema: {mustSupport: true, index: 3}
            helfoapplication:
              match: {url: null}
              schema: {mustSupport: true, index: 6}
            note:
              match: {url: null}
              schema: {mustSupport: true, index: 27}
            rfstatus:
              match: {url: null}
              schema: {mustSupport: true, index: 26}
            itemgroup:
              match: {url: null}
              schema: {mustSupport: true, index: 24}
            earliestdispence:
              match: {url: null}
              schema: {mustSupport: true, index: 21}
            indoctorsname:
              match: {url: null}
              schema: {mustSupport: true, index: 9}
            lockedresept:
              match: {url: null}
              schema: {mustSupport: true, index: 23}
            expirationdate:
              match: {url: null}
              schema: {mustSupport: true, index: 4}
  reseptdetails:
    url: http://ehelse.no/fhir/StructureDefinition/sfm-reseptdocbanda
    type: Extension
    mustSupport: true
    index: 42
    extensions:
      productgroup: {url: null, mustSupport: true, index: 44}
      productnumber: {url: null, mustSupport: true, index: 45}
    elements:
      extension:
        index: 43
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            productgroup:
              match: {url: null}
              schema: {mustSupport: true, index: 44}
            productnumber:
              match: {url: null}
              schema: {mustSupport: true, index: 45}
class: profile
kind: resource
url: http://ehelse.no/fhir/StructureDefinition/sfm-BandaPrescription
base: http://hl7.org/fhir/StructureDefinition/Basic
version: '1.0'