PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-generic-substitution
description: extention for registering generic substitution.
package_name: sfm.030521
derivation: constraint
name: SfmGenericSubstitution
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        genericSubstitutionAccepted:
          match: {url: genericSubstitutionAccepted}
          schema:
            short: Identifies if prescribed product can be substituted
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: genericSubstitutionAccepted}
                index: 2
              value:
                choices: [valueBoolean]
                index: 4
              valueBoolean: {type: boolean, choiceOf: value, index: 5}
        reason:
          match: {url: reason}
          schema:
            short: Reason for no substitution
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: reason}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-generic-substitution'}
    index: 11
  value:
    choices: []
    index: 13
package_version: 1.0.1
extensions:
  genericSubstitutionAccepted:
    url: genericSubstitutionAccepted
    short: Identifies if prescribed product can be substituted
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: genericSubstitutionAccepted}
        index: 2
      value:
        choices: [valueBoolean]
        index: 4
      valueBoolean: {type: boolean, choiceOf: value, index: 5}
  reason:
    url: reason
    short: Reason for no substitution
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: reason}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-generic-substitution
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'