PackagesCanonicalsLogsProblems
    Packages
    HL7Norway.STU3.no.basis@1.0.3
    http://hl7.no/fhir/StructureDefinition/no-basis-Medication
description: null
package_name: HL7Norway.STU3.no.basis
derivation: constraint
name: no-basis-Medication
type: Medication
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        prescriptionGroup:
          match: {url: null}
          schema: {type: Extension, url: h, index: 1}
          min: 1
          max: 1
  code:
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            FEST-Medication:
              match: {system: 'http://ehelse.no/fhir/CodeSystem/FEST'}
              schema:
                _required: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/FEST'}
                    index: 5
                  display: {index: 6}
                required: [display, system]
            ATC:
              match: {system: 'http://www.whocc.no/atc'}
              schema:
                index: 7
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://www.whocc.no/atc'}
                    index: 8
                  code: {index: 9}
                  display: {index: 10}
                required: [display, system, code]
  isBrand: {index: 11}
  form:
    short: Code from volven 7448
    index: 12
    elements:
      coding:
        index: 13
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            FEST-Form:
              match: {system: 'http://ehelse.no/volven/7448'}
              schema:
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://ehelse.no/volven/7448'}
                    index: 15
                  code: {index: 16}
                  display: {index: 17}
                required: [display, system, code]
    required: [coding]
package_version: 1.0.3
extensions:
  prescriptionGroup: {url: h, min: 1, max: 1, type: Extension, index: 1}
class: profile
kind: resource
url: http://hl7.no/fhir/StructureDefinition/no-basis-Medication
base: http://hl7.org/fhir/StructureDefinition/Medication
version: '0.1'
required: [isBrand, form, code]