PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-medicationdetails
description: FEST details about medication.
package_name: sfm.030521
derivation: constraint
name: SfmMedicationDetails
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        producer:
          match: {url: producer}
          schema:
            index: 52
            elements:
              url:
                pattern: {type: Uri, value: producer}
                index: 53
              value:
                choices: [valueString]
                index: 55
              valueString: {type: string, choiceOf: value, index: 56}
        vaccinationstandard:
          match: {url: vaccinationstandard}
          schema:
            index: 46
            elements:
              url:
                pattern: {type: Uri, value: vaccinationstandard}
                index: 47
              value:
                choices: [valueCodeableConcept]
                index: 49
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 50}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7447'}
                        index: 51
        mixingliquid:
          match: {url: mixingliquid}
          schema:
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: mixingliquid}
                index: 7
              value:
                choices: [valueBoolean]
                index: 9
              valueBoolean: {type: boolean, choiceOf: value, index: 10}
        mayopen:
          match: {url: mayopen}
          schema:
            index: 23
            elements:
              url:
                pattern: {type: Uri, value: mayopen}
                index: 24
              value:
                choices: [valueCodeableConcept]
                index: 26
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 27}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.1103'}
                        index: 28
        devidable:
          match: {url: devidable}
          schema:
            index: 29
            elements:
              url:
                pattern: {type: Uri, value: devidable}
                index: 30
              value:
                choices: [valueCodeableConcept]
                index: 32
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7472'}
                        index: 34
        maycrush:
          match: {url: maycrush}
          schema:
            index: 17
            elements:
              url:
                pattern: {type: Uri, value: maycrush}
                index: 18
              value:
                choices: [valueCodeableConcept]
                index: 20
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 21}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.1103'}
                        index: 22
        name:
          match: {url: name}
          schema:
            short: Name describing medication
            index: 57
            elements:
              url:
                pattern: {type: Uri, value: name}
                index: 58
              value:
                choices: [valueString]
                index: 60
              valueString: {type: string, choiceOf: value, index: 61}
        taste:
          match: {url: taste}
          schema:
            index: 35
            elements:
              url:
                pattern: {type: Uri, value: taste}
                index: 36
              value:
                choices: [valueCodeableConcept]
                index: 38
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 39}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7504'}
                        index: 40
        warningtriangle:
          match: {url: warningtriangle}
          schema:
            index: 41
            elements:
              url:
                pattern: {type: Uri, value: warningtriangle}
                index: 42
              value:
                choices: [valueBoolean]
                index: 44
              valueBoolean: {type: boolean, choiceOf: value, index: 45}
        administrationway:
          match: {url: administrationway}
          schema:
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: administrationway}
                index: 12
              value:
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7477'}
                        index: 16
        packinginfoprescription:
          match: {url: packinginfoprescription}
          schema:
            short: Packing information
            index: 70
            extensions:
              name:
                url: name
                _required: true
                index: 72
                elements:
                  url:
                    pattern: {type: Uri, value: name}
                    index: 73
                  value:
                    choices: [valueString]
                    index: 75
                  valueString: {type: string, choiceOf: value, index: 76}
              packingsize:
                url: packingsize
                _required: true
                index: 77
                elements:
                  url:
                    pattern: {type: Uri, value: packingsize}
                    index: 78
                  value:
                    choices: [valueString]
                    index: 80
                  valueString: {type: string, choiceOf: value, index: 81}
              packingunit:
                url: packingunit
                _required: true
                index: 82
                elements:
                  url:
                    pattern: {type: Uri, value: packingunit}
                    index: 83
                  value:
                    choices: [valueCodeableConcept]
                    index: 85
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 86}
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                            index: 87
                          code: {index: 88}
                          display: {index: 89}
                        required: [display, system, code]
            elements:
              extension:
                index: 71
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    name:
                      match: {url: name}
                      schema:
                        _required: true
                        index: 72
                        elements:
                          url:
                            pattern: {type: Uri, value: name}
                            index: 73
                          value:
                            choices: [valueString]
                            index: 75
                          valueString: {type: string, choiceOf: value, index: 76}
                    packingsize:
                      match: {url: packingsize}
                      schema:
                        _required: true
                        index: 77
                        elements:
                          url:
                            pattern: {type: Uri, value: packingsize}
                            index: 78
                          value:
                            choices: [valueString]
                            index: 80
                          valueString: {type: string, choiceOf: value, index: 81}
                    packingunit:
                      match: {url: packingunit}
                      schema:
                        _required: true
                        index: 82
                        elements:
                          url:
                            pattern: {type: Uri, value: packingunit}
                            index: 83
                          value:
                            choices: [valueCodeableConcept]
                            index: 85
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 86}
                          value[x]:
                            elements:
                              coding:
                                elements:
                                  system:
                                    pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                                    index: 87
                                  code: {index: 88}
                                  display: {index: 89}
                                required: [display, system, code]
              url:
                pattern: {type: Uri, value: packinginfoprescription}
                index: 90
              value:
                choices: []
                index: 92
        blacktriangle:
          match: {url: blacktriangle}
          schema:
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: blacktriangle}
                index: 2
              value:
                choices: [valueBoolean]
                index: 4
              valueBoolean: {type: boolean, choiceOf: value, index: 5}
        registreringstype:
          match: {url: registreringstype}
          schema:
            short: type of FEST registration
            index: 62
            elements:
              url:
                pattern: {type: Uri, value: registreringstype}
                index: 63
              value:
                choices: [valueCodeableConcept]
                index: 65
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 66}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-festregistrationtype'}
                        index: 67
                      code: {index: 68}
                      display: {index: 69}
                    required: [display, system, code]
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-medicationdetails'}
    index: 93
  value:
    choices: []
    index: 95
package_version: 1.0.1
extensions:
  producer:
    url: producer
    index: 52
    elements:
      url:
        pattern: {type: Uri, value: producer}
        index: 53
      value:
        choices: [valueString]
        index: 55
      valueString: {type: string, choiceOf: value, index: 56}
  vaccinationstandard:
    url: vaccinationstandard
    index: 46
    elements:
      url:
        pattern: {type: Uri, value: vaccinationstandard}
        index: 47
      value:
        choices: [valueCodeableConcept]
        index: 49
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 50}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7447'}
                index: 51
  mixingliquid:
    url: mixingliquid
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: mixingliquid}
        index: 7
      value:
        choices: [valueBoolean]
        index: 9
      valueBoolean: {type: boolean, choiceOf: value, index: 10}
  mayopen:
    url: mayopen
    index: 23
    elements:
      url:
        pattern: {type: Uri, value: mayopen}
        index: 24
      value:
        choices: [valueCodeableConcept]
        index: 26
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 27}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.1103'}
                index: 28
  devidable:
    url: devidable
    index: 29
    elements:
      url:
        pattern: {type: Uri, value: devidable}
        index: 30
      value:
        choices: [valueCodeableConcept]
        index: 32
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7472'}
                index: 34
  maycrush:
    url: maycrush
    index: 17
    elements:
      url:
        pattern: {type: Uri, value: maycrush}
        index: 18
      value:
        choices: [valueCodeableConcept]
        index: 20
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 21}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.1103'}
                index: 22
  name:
    url: name
    short: Name describing medication
    index: 57
    elements:
      url:
        pattern: {type: Uri, value: name}
        index: 58
      value:
        choices: [valueString]
        index: 60
      valueString: {type: string, choiceOf: value, index: 61}
  taste:
    url: taste
    index: 35
    elements:
      url:
        pattern: {type: Uri, value: taste}
        index: 36
      value:
        choices: [valueCodeableConcept]
        index: 38
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 39}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7504'}
                index: 40
  warningtriangle:
    url: warningtriangle
    index: 41
    elements:
      url:
        pattern: {type: Uri, value: warningtriangle}
        index: 42
      value:
        choices: [valueBoolean]
        index: 44
      valueBoolean: {type: boolean, choiceOf: value, index: 45}
  administrationway:
    url: administrationway
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: administrationway}
        index: 12
      value:
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7477'}
                index: 16
  packinginfoprescription:
    url: packinginfoprescription
    short: Packing information
    index: 70
    extensions:
      name:
        url: name
        _required: true
        index: 72
        elements:
          url:
            pattern: {type: Uri, value: name}
            index: 73
          value:
            choices: [valueString]
            index: 75
          valueString: {type: string, choiceOf: value, index: 76}
      packingsize:
        url: packingsize
        _required: true
        index: 77
        elements:
          url:
            pattern: {type: Uri, value: packingsize}
            index: 78
          value:
            choices: [valueString]
            index: 80
          valueString: {type: string, choiceOf: value, index: 81}
      packingunit:
        url: packingunit
        _required: true
        index: 82
        elements:
          url:
            pattern: {type: Uri, value: packingunit}
            index: 83
          value:
            choices: [valueCodeableConcept]
            index: 85
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 86}
          value[x]:
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                    index: 87
                  code: {index: 88}
                  display: {index: 89}
                required: [display, system, code]
    elements:
      extension:
        index: 71
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            name:
              match: {url: name}
              schema:
                _required: true
                index: 72
                elements:
                  url:
                    pattern: {type: Uri, value: name}
                    index: 73
                  value:
                    choices: [valueString]
                    index: 75
                  valueString: {type: string, choiceOf: value, index: 76}
            packingsize:
              match: {url: packingsize}
              schema:
                _required: true
                index: 77
                elements:
                  url:
                    pattern: {type: Uri, value: packingsize}
                    index: 78
                  value:
                    choices: [valueString]
                    index: 80
                  valueString: {type: string, choiceOf: value, index: 81}
            packingunit:
              match: {url: packingunit}
              schema:
                _required: true
                index: 82
                elements:
                  url:
                    pattern: {type: Uri, value: packingunit}
                    index: 83
                  value:
                    choices: [valueCodeableConcept]
                    index: 85
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 86}
                  value[x]:
                    elements:
                      coding:
                        elements:
                          system:
                            pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7452'}
                            index: 87
                          code: {index: 88}
                          display: {index: 89}
                        required: [display, system, code]
      url:
        pattern: {type: Uri, value: packinginfoprescription}
        index: 90
      value:
        choices: []
        index: 92
  blacktriangle:
    url: blacktriangle
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: blacktriangle}
        index: 2
      value:
        choices: [valueBoolean]
        index: 4
      valueBoolean: {type: boolean, choiceOf: value, index: 5}
  registreringstype:
    url: registreringstype
    short: type of FEST registration
    index: 62
    elements:
      url:
        pattern: {type: Uri, value: registreringstype}
        index: 63
      value:
        choices: [valueCodeableConcept]
        index: 65
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 66}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://ehelse.no/fhir/CodeSystem/sfm-festregistrationtype'}
                index: 67
              code: {index: 68}
              display: {index: 69}
            required: [display, system, code]
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-medicationdetails
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'