PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.poc.second.test@1.1.1
    http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations
description: null
package_name: rs/bonsai.poc.second.test
derivation: constraint
name: NLLArticleRegulations
type: Extension
elements:
  extension:
    short: Prescriptive authority code
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/prescriptive-authority-codes'}
    index: 0
    slicing:
      slices:
        prescriptiveAuthorityCode:
          match: {}
          schema:
            short: Prescriptive authority code
            binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/prescriptive-authority-codes'}
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: uri, value: prescriptiveAuthorityCode}
                type: uri
                index: 2
              value:
                choices: [valueCode]
                index: 4
              valueCode: {type: code, choiceOf: value, index: 5}
        repeatPrescription:
          match: {}
          schema:
            short: Rules for iteration
            binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/prescription-iteration-types'}
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                pattern: {type: uri, value: repeatPrescription}
                type: uri
                index: 8
              value:
                choices: [valueCoding]
                index: 10
              valueCoding: {type: Coding, choiceOf: value, index: 11}
              value[x]:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/prescription-repeatable-category'}
                    type: uri
                    index: 12
                  code: {short: Rules for iteration, index: 13}
        substitutionDetails:
          match: {}
          schema:
            index: 14
            extensions:
              interchangeable:
                url: null
                short: Interchangeable
                index: 15
                extensions: {}
                elements:
                  extension: {index: 16}
                  url:
                    pattern: {type: uri, value: interchangeable}
                    type: uri
                    index: 17
                  value:
                    choices: [valueBoolean]
                    index: 19
                  valueBoolean: {type: boolean, choiceOf: value, index: 20}
              interchangeSubstanceGroup:
                url: null
                short: Interchange substance group name
                index: 21
                extensions: {}
                elements:
                  extension: {index: 22}
                  url:
                    pattern: {type: uri, value: interchangeSubstanceGroup}
                    type: uri
                    index: 23
                  value:
                    maxLength: 8
                    choices: [valueString]
                    index: 25
                  valueString: {type: string, maxLength: 8, choiceOf: value, index: 26}
            elements:
              extension:
                short: Interchangeable
                index: 15
                slicing:
                  slices:
                    interchangeable:
                      match: {}
                      schema:
                        short: Interchangeable
                        index: 15
                        extensions: {}
                        elements:
                          extension: {index: 16}
                          url:
                            pattern: {type: uri, value: interchangeable}
                            type: uri
                            index: 17
                          value:
                            choices: [valueBoolean]
                            index: 19
                          valueBoolean: {type: boolean, choiceOf: value, index: 20}
                    interchangeSubstanceGroup:
                      match: {}
                      schema:
                        short: Interchange substance group name
                        index: 21
                        extensions: {}
                        elements:
                          extension: {index: 22}
                          url:
                            pattern: {type: uri, value: interchangeSubstanceGroup}
                            type: uri
                            index: 23
                          value:
                            maxLength: 8
                            choices: [valueString]
                            index: 25
                          valueString: {type: string, maxLength: 8, choiceOf: value, index: 26}
              url:
                pattern: {type: uri, value: substitutionDetails}
                type: uri
                index: 27
              value:
                choices: []
                index: 29
        dispensingRestriction:
          match: {}
          schema:
            short: Dispensing restrictions
            binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/dispensing-restrictions'}
            index: 30
            extensions: {}
            elements:
              extension: {index: 31}
              url:
                pattern: {type: uri, value: dispensingRestriction}
                type: uri
                index: 32
              value:
                choices: [valueCodeableConcept]
                index: 34
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 35}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/dispensing-restriction'}
                        type: uri
                        index: 36
                      code: {index: 37}
                  text: {maxLength: 300, index: 38}
        controlledMedicinalProduct:
          match: {}
          schema:
            short: Controlled medicinal product
            index: 39
            extensions: {}
            elements:
              extension: {index: 40}
              url:
                pattern: {type: uri, value: controlledMedicinalProduct}
                type: uri
                index: 41
              value:
                choices: [valueBoolean]
                index: 43
              valueBoolean: {type: boolean, choiceOf: value, index: 44}
        narcoticClassification:
          match: {}
          schema:
            short: Narcotic classification
            binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/narcotic-classification'}
            index: 45
            extensions: {}
            elements:
              extension: {index: 46}
              url:
                pattern: {type: uri, value: narcoticClassification}
                type: uri
                index: 47
              value:
                choices: [valueCodeableConcept]
                index: 49
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 50}
              value[x]:
                elements:
                  coding:
                    index: 51
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/narcotic-classification'}
                        type: uri
                        index: 52
                      code: {index: 53}
                  text: {maxLength: 255, index: 54}
  url:
    pattern: {type: uri, value: 'http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations'}
    type: uri
    index: 55
  value:
    choices: []
    index: 57
package_version: 1.1.1
extensions:
  prescriptiveAuthorityCode:
    url: null
    short: Prescriptive authority code
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/prescriptive-authority-codes'}
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: uri, value: prescriptiveAuthorityCode}
        type: uri
        index: 2
      value:
        choices: [valueCode]
        index: 4
      valueCode: {type: code, choiceOf: value, index: 5}
  repeatPrescription:
    url: null
    short: Rules for iteration
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/prescription-iteration-types'}
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        pattern: {type: uri, value: repeatPrescription}
        type: uri
        index: 8
      value:
        choices: [valueCoding]
        index: 10
      valueCoding: {type: Coding, choiceOf: value, index: 11}
      value[x]:
        elements:
          system:
            pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/prescription-repeatable-category'}
            type: uri
            index: 12
          code: {short: Rules for iteration, index: 13}
  substitutionDetails:
    url: null
    index: 14
    extensions:
      interchangeable:
        url: null
        short: Interchangeable
        index: 15
        extensions: {}
        elements:
          extension: {index: 16}
          url:
            pattern: {type: uri, value: interchangeable}
            type: uri
            index: 17
          value:
            choices: [valueBoolean]
            index: 19
          valueBoolean: {type: boolean, choiceOf: value, index: 20}
      interchangeSubstanceGroup:
        url: null
        short: Interchange substance group name
        index: 21
        extensions: {}
        elements:
          extension: {index: 22}
          url:
            pattern: {type: uri, value: interchangeSubstanceGroup}
            type: uri
            index: 23
          value:
            maxLength: 8
            choices: [valueString]
            index: 25
          valueString: {type: string, maxLength: 8, choiceOf: value, index: 26}
    elements:
      extension:
        short: Interchangeable
        index: 15
        slicing:
          slices:
            interchangeable:
              match: {}
              schema:
                short: Interchangeable
                index: 15
                extensions: {}
                elements:
                  extension: {index: 16}
                  url:
                    pattern: {type: uri, value: interchangeable}
                    type: uri
                    index: 17
                  value:
                    choices: [valueBoolean]
                    index: 19
                  valueBoolean: {type: boolean, choiceOf: value, index: 20}
            interchangeSubstanceGroup:
              match: {}
              schema:
                short: Interchange substance group name
                index: 21
                extensions: {}
                elements:
                  extension: {index: 22}
                  url:
                    pattern: {type: uri, value: interchangeSubstanceGroup}
                    type: uri
                    index: 23
                  value:
                    maxLength: 8
                    choices: [valueString]
                    index: 25
                  valueString: {type: string, maxLength: 8, choiceOf: value, index: 26}
      url:
        pattern: {type: uri, value: substitutionDetails}
        type: uri
        index: 27
      value:
        choices: []
        index: 29
  dispensingRestriction:
    url: null
    short: Dispensing restrictions
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/dispensing-restrictions'}
    index: 30
    extensions: {}
    elements:
      extension: {index: 31}
      url:
        pattern: {type: uri, value: dispensingRestriction}
        type: uri
        index: 32
      value:
        choices: [valueCodeableConcept]
        index: 34
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 35}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/dispensing-restriction'}
                type: uri
                index: 36
              code: {index: 37}
          text: {maxLength: 300, index: 38}
  controlledMedicinalProduct:
    url: null
    short: Controlled medicinal product
    index: 39
    extensions: {}
    elements:
      extension: {index: 40}
      url:
        pattern: {type: uri, value: controlledMedicinalProduct}
        type: uri
        index: 41
      value:
        choices: [valueBoolean]
        index: 43
      valueBoolean: {type: boolean, choiceOf: value, index: 44}
  narcoticClassification:
    url: null
    short: Narcotic classification
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/narcotic-classification'}
    index: 45
    extensions: {}
    elements:
      extension: {index: 46}
      url:
        pattern: {type: uri, value: narcoticClassification}
        type: uri
        index: 47
      value:
        choices: [valueCodeableConcept]
        index: 49
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 50}
      value[x]:
        elements:
          coding:
            index: 51
            elements:
              system:
                pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/narcotic-classification'}
                type: uri
                index: 52
              code: {index: 53}
          text: {maxLength: 255, index: 54}
class: extension
kind: complex-type
url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.1