PackagesCanonicalsLogsProblems
    Packages
    rs/bonsai.first.test.r4@0.1.6
    http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo
description: null
package_name: rs/bonsai.first.test.r4
derivation: constraint
name: NLLArticleInfo
type: Extension
elements:
  extension:
    short: Designates if the product is a medicinal product
    index: 0
    slicing:
      slices:
        medicinalProduct:
          match: {}
          schema:
            short: Designates if the product is a medicinal product
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                pattern: {type: uri, value: medicinalProduct}
                type: uri
                index: 2
              value:
                choices: [valueBoolean]
                index: 4
              valueBoolean: {type: boolean, choiceOf: value, index: 5}
        productType:
          match: {}
          schema:
            short: Product type
            binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/product-types'}
            index: 6
            extensions: {}
            elements:
              extension: {index: 7}
              url:
                pattern: {type: uri, value: productType}
                type: uri
                index: 8
              value:
                choices: [valueCodeableConcept]
                index: 10
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        short: Product type code system
                        pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/productclass'}
                        type: uri
                        index: 12
                      code: {short: Product type code, index: 13}
                  text: {maxLength: 100, index: 14}
        productName:
          match: {}
          schema:
            index: 15
            extensions:
              currentProductName:
                url: null
                short: Current trade name
                _required: true
                index: 17
                extensions: {}
                elements:
                  extension: {index: 18}
                  url:
                    pattern: {type: uri, value: currentProductName}
                    type: uri
                    index: 19
                  value:
                    maxLength: 100
                    choices: [valueString]
                    index: 21
                  valueString: {type: string, maxLength: 100, choiceOf: value, index: 22}
              history:
                url: null
                index: 23
                extensions:
                  productName:
                    url: null
                    short: Previous trade name
                    _required: true
                    index: 25
                    extensions: {}
                    elements:
                      extension: {index: 26}
                      url:
                        pattern: {type: uri, value: productName}
                        type: uri
                        index: 27
                      value:
                        maxLength: 100
                        choices: [valueString]
                        index: 29
                      valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                  periodOfUse:
                    url: null
                    short: Period when the trade name was in use
                    index: 31
                    extensions: {}
                    elements:
                      extension: {index: 32}
                      url:
                        pattern: {type: uri, value: periodOfUse}
                        type: uri
                        index: 33
                      value:
                        choices: [valuePeriod]
                        index: 35
                      valuePeriod: {type: Period, choiceOf: value, index: 36}
                elements:
                  extension:
                    index: 24
                    slicing:
                      slices:
                        productName:
                          match: {}
                          schema:
                            short: Previous trade name
                            _required: true
                            index: 25
                            extensions: {}
                            elements:
                              extension: {index: 26}
                              url:
                                pattern: {type: uri, value: productName}
                                type: uri
                                index: 27
                              value:
                                maxLength: 100
                                choices: [valueString]
                                index: 29
                              valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                        periodOfUse:
                          match: {}
                          schema:
                            short: Period when the trade name was in use
                            index: 31
                            extensions: {}
                            elements:
                              extension: {index: 32}
                              url:
                                pattern: {type: uri, value: periodOfUse}
                                type: uri
                                index: 33
                              value:
                                choices: [valuePeriod]
                                index: 35
                              valuePeriod: {type: Period, choiceOf: value, index: 36}
                  url:
                    pattern: {type: uri, value: history}
                    type: uri
                    index: 37
                  value:
                    choices: []
                    index: 39
                required: [extension]
            elements:
              extension:
                index: 16
                slicing:
                  slices:
                    currentProductName:
                      match: {}
                      schema:
                        short: Current trade name
                        _required: true
                        index: 17
                        extensions: {}
                        elements:
                          extension: {index: 18}
                          url:
                            pattern: {type: uri, value: currentProductName}
                            type: uri
                            index: 19
                          value:
                            maxLength: 100
                            choices: [valueString]
                            index: 21
                          valueString: {type: string, maxLength: 100, choiceOf: value, index: 22}
                    history:
                      match: {}
                      schema:
                        index: 23
                        extensions:
                          productName:
                            url: null
                            short: Previous trade name
                            _required: true
                            index: 25
                            extensions: {}
                            elements:
                              extension: {index: 26}
                              url:
                                pattern: {type: uri, value: productName}
                                type: uri
                                index: 27
                              value:
                                maxLength: 100
                                choices: [valueString]
                                index: 29
                              valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                          periodOfUse:
                            url: null
                            short: Period when the trade name was in use
                            index: 31
                            extensions: {}
                            elements:
                              extension: {index: 32}
                              url:
                                pattern: {type: uri, value: periodOfUse}
                                type: uri
                                index: 33
                              value:
                                choices: [valuePeriod]
                                index: 35
                              valuePeriod: {type: Period, choiceOf: value, index: 36}
                        elements:
                          extension:
                            index: 24
                            slicing:
                              slices:
                                productName:
                                  match: {}
                                  schema:
                                    short: Previous trade name
                                    _required: true
                                    index: 25
                                    extensions: {}
                                    elements:
                                      extension: {index: 26}
                                      url:
                                        pattern: {type: uri, value: productName}
                                        type: uri
                                        index: 27
                                      value:
                                        maxLength: 100
                                        choices: [valueString]
                                        index: 29
                                      valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                                periodOfUse:
                                  match: {}
                                  schema:
                                    short: Period when the trade name was in use
                                    index: 31
                                    extensions: {}
                                    elements:
                                      extension: {index: 32}
                                      url:
                                        pattern: {type: uri, value: periodOfUse}
                                        type: uri
                                        index: 33
                                      value:
                                        choices: [valuePeriod]
                                        index: 35
                                      valuePeriod: {type: Period, choiceOf: value, index: 36}
                          url:
                            pattern: {type: uri, value: history}
                            type: uri
                            index: 37
                          value:
                            choices: []
                            index: 39
                        required: [extension]
              url:
                pattern: {type: uri, value: productName}
                type: uri
                index: 40
              value:
                choices: []
                index: 42
            required: [extension]
        package:
          match: {}
          schema:
            short: Textual description of content in medicinal product or medical consumables
            index: 43
            extensions:
              packageContainer:
                url: null
                short: Type of package in textual form
                index: 44
                extensions: {}
                elements:
                  extension: {index: 45}
                  url:
                    pattern: {type: uri, value: packageContainer}
                    type: uri
                    index: 46
                  value:
                    maxLength: 40
                    choices: [valueString]
                    index: 48
                  valueString: {type: string, maxLength: 40, choiceOf: value, index: 49}
              packageDescription:
                url: null
                short: Description of content in package
                index: 50
                extensions: {}
                elements:
                  extension: {index: 51}
                  url:
                    pattern: {type: uri, value: packageDescription}
                    type: uri
                    index: 52
                  value:
                    maxLength: 160
                    choices: [valueString]
                    index: 54
                  valueString: {type: string, maxLength: 160, choiceOf: value, index: 55}
            elements:
              extension:
                short: Type of package in textual form
                index: 44
                slicing:
                  slices:
                    packageContainer:
                      match: {}
                      schema:
                        short: Type of package in textual form
                        index: 44
                        extensions: {}
                        elements:
                          extension: {index: 45}
                          url:
                            pattern: {type: uri, value: packageContainer}
                            type: uri
                            index: 46
                          value:
                            maxLength: 40
                            choices: [valueString]
                            index: 48
                          valueString: {type: string, maxLength: 40, choiceOf: value, index: 49}
                    packageDescription:
                      match: {}
                      schema:
                        short: Description of content in package
                        index: 50
                        extensions: {}
                        elements:
                          extension: {index: 51}
                          url:
                            pattern: {type: uri, value: packageDescription}
                            type: uri
                            index: 52
                          value:
                            maxLength: 160
                            choices: [valueString]
                            index: 54
                          valueString: {type: string, maxLength: 160, choiceOf: value, index: 55}
              url:
                pattern: {type: uri, value: package}
                type: uri
                index: 56
              value:
                choices: []
                index: 58
        strength:
          match: {}
          schema:
            index: 59
            extensions:
              quantity:
                url: null
                short: Definition of strength defined in value and unit, e.g. 100 mg
                index: 60
                extensions: {}
                elements:
                  extension: {index: 61}
                  url:
                    pattern: {type: uri, value: quantity}
                    type: uri
                    index: 62
                  value:
                    short: Definition of strength, e.g. 100 mg
                    choices: [valueQuantity]
                    index: 64
                  valueQuantity: {type: Quantity, short: 'Definition of strength, e.g. 100 mg', choiceOf: value, index: 65}
                  value[x]:
                    elements:
                      value: {index: 66}
                      unit: {maxLength: 8, index: 67}
              text:
                url: null
                short: Textual description of strength
                index: 68
                extensions: {}
                elements:
                  extension: {index: 69}
                  url:
                    pattern: {type: uri, value: text}
                    type: uri
                    index: 70
                  value:
                    maxLength: 80
                    choices: [valueString]
                    index: 72
                  valueString: {type: string, maxLength: 80, choiceOf: value, index: 73}
            elements:
              extension:
                short: Definition of strength defined in value and unit, e.g. 100 mg
                index: 60
                slicing:
                  slices:
                    quantity:
                      match: {}
                      schema:
                        short: Definition of strength defined in value and unit, e.g. 100 mg
                        index: 60
                        extensions: {}
                        elements:
                          extension: {index: 61}
                          url:
                            pattern: {type: uri, value: quantity}
                            type: uri
                            index: 62
                          value:
                            short: Definition of strength, e.g. 100 mg
                            choices: [valueQuantity]
                            index: 64
                          valueQuantity: {type: Quantity, short: 'Definition of strength, e.g. 100 mg', choiceOf: value, index: 65}
                          value[x]:
                            elements:
                              value: {index: 66}
                              unit: {maxLength: 8, index: 67}
                    text:
                      match: {}
                      schema:
                        short: Textual description of strength
                        index: 68
                        extensions: {}
                        elements:
                          extension: {index: 69}
                          url:
                            pattern: {type: uri, value: text}
                            type: uri
                            index: 70
                          value:
                            maxLength: 80
                            choices: [valueString]
                            index: 72
                          valueString: {type: string, maxLength: 80, choiceOf: value, index: 73}
              url:
                pattern: {type: uri, value: strength}
                type: uri
                index: 74
              value:
                choices: []
                index: 76
        substanceDescription:
          match: {}
          schema:
            short: Substance description
            index: 77
            extensions: {}
            elements:
              extension: {index: 78}
              url:
                pattern: {type: uri, value: substanceDescription}
                type: uri
                index: 79
              value:
                choices: [valueString]
                index: 81
              valueString: {type: string, choiceOf: value, index: 82}
  url:
    pattern: {type: uri, value: 'http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo'}
    type: uri
    index: 83
  value:
    choices: []
    index: 85
package_version: 0.1.6
extensions:
  medicinalProduct:
    url: null
    short: Designates if the product is a medicinal product
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        pattern: {type: uri, value: medicinalProduct}
        type: uri
        index: 2
      value:
        choices: [valueBoolean]
        index: 4
      valueBoolean: {type: boolean, choiceOf: value, index: 5}
  productType:
    url: null
    short: Product type
    binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/product-types'}
    index: 6
    extensions: {}
    elements:
      extension: {index: 7}
      url:
        pattern: {type: uri, value: productType}
        type: uri
        index: 8
      value:
        choices: [valueCodeableConcept]
        index: 10
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
      value[x]:
        elements:
          coding:
            elements:
              system:
                short: Product type code system
                pattern: {type: uri, value: 'http://npl.mpa.se/CodeSystem/productclass'}
                type: uri
                index: 12
              code: {short: Product type code, index: 13}
          text: {maxLength: 100, index: 14}
  productName:
    url: null
    index: 15
    extensions:
      currentProductName:
        url: null
        short: Current trade name
        _required: true
        index: 17
        extensions: {}
        elements:
          extension: {index: 18}
          url:
            pattern: {type: uri, value: currentProductName}
            type: uri
            index: 19
          value:
            maxLength: 100
            choices: [valueString]
            index: 21
          valueString: {type: string, maxLength: 100, choiceOf: value, index: 22}
      history:
        url: null
        index: 23
        extensions:
          productName:
            url: null
            short: Previous trade name
            _required: true
            index: 25
            extensions: {}
            elements:
              extension: {index: 26}
              url:
                pattern: {type: uri, value: productName}
                type: uri
                index: 27
              value:
                maxLength: 100
                choices: [valueString]
                index: 29
              valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
          periodOfUse:
            url: null
            short: Period when the trade name was in use
            index: 31
            extensions: {}
            elements:
              extension: {index: 32}
              url:
                pattern: {type: uri, value: periodOfUse}
                type: uri
                index: 33
              value:
                choices: [valuePeriod]
                index: 35
              valuePeriod: {type: Period, choiceOf: value, index: 36}
        elements:
          extension:
            index: 24
            slicing:
              slices:
                productName:
                  match: {}
                  schema:
                    short: Previous trade name
                    _required: true
                    index: 25
                    extensions: {}
                    elements:
                      extension: {index: 26}
                      url:
                        pattern: {type: uri, value: productName}
                        type: uri
                        index: 27
                      value:
                        maxLength: 100
                        choices: [valueString]
                        index: 29
                      valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                periodOfUse:
                  match: {}
                  schema:
                    short: Period when the trade name was in use
                    index: 31
                    extensions: {}
                    elements:
                      extension: {index: 32}
                      url:
                        pattern: {type: uri, value: periodOfUse}
                        type: uri
                        index: 33
                      value:
                        choices: [valuePeriod]
                        index: 35
                      valuePeriod: {type: Period, choiceOf: value, index: 36}
          url:
            pattern: {type: uri, value: history}
            type: uri
            index: 37
          value:
            choices: []
            index: 39
        required: [extension]
    elements:
      extension:
        index: 16
        slicing:
          slices:
            currentProductName:
              match: {}
              schema:
                short: Current trade name
                _required: true
                index: 17
                extensions: {}
                elements:
                  extension: {index: 18}
                  url:
                    pattern: {type: uri, value: currentProductName}
                    type: uri
                    index: 19
                  value:
                    maxLength: 100
                    choices: [valueString]
                    index: 21
                  valueString: {type: string, maxLength: 100, choiceOf: value, index: 22}
            history:
              match: {}
              schema:
                index: 23
                extensions:
                  productName:
                    url: null
                    short: Previous trade name
                    _required: true
                    index: 25
                    extensions: {}
                    elements:
                      extension: {index: 26}
                      url:
                        pattern: {type: uri, value: productName}
                        type: uri
                        index: 27
                      value:
                        maxLength: 100
                        choices: [valueString]
                        index: 29
                      valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                  periodOfUse:
                    url: null
                    short: Period when the trade name was in use
                    index: 31
                    extensions: {}
                    elements:
                      extension: {index: 32}
                      url:
                        pattern: {type: uri, value: periodOfUse}
                        type: uri
                        index: 33
                      value:
                        choices: [valuePeriod]
                        index: 35
                      valuePeriod: {type: Period, choiceOf: value, index: 36}
                elements:
                  extension:
                    index: 24
                    slicing:
                      slices:
                        productName:
                          match: {}
                          schema:
                            short: Previous trade name
                            _required: true
                            index: 25
                            extensions: {}
                            elements:
                              extension: {index: 26}
                              url:
                                pattern: {type: uri, value: productName}
                                type: uri
                                index: 27
                              value:
                                maxLength: 100
                                choices: [valueString]
                                index: 29
                              valueString: {type: string, maxLength: 100, choiceOf: value, index: 30}
                        periodOfUse:
                          match: {}
                          schema:
                            short: Period when the trade name was in use
                            index: 31
                            extensions: {}
                            elements:
                              extension: {index: 32}
                              url:
                                pattern: {type: uri, value: periodOfUse}
                                type: uri
                                index: 33
                              value:
                                choices: [valuePeriod]
                                index: 35
                              valuePeriod: {type: Period, choiceOf: value, index: 36}
                  url:
                    pattern: {type: uri, value: history}
                    type: uri
                    index: 37
                  value:
                    choices: []
                    index: 39
                required: [extension]
      url:
        pattern: {type: uri, value: productName}
        type: uri
        index: 40
      value:
        choices: []
        index: 42
    required: [extension]
  package:
    url: null
    short: Textual description of content in medicinal product or medical consumables
    index: 43
    extensions:
      packageContainer:
        url: null
        short: Type of package in textual form
        index: 44
        extensions: {}
        elements:
          extension: {index: 45}
          url:
            pattern: {type: uri, value: packageContainer}
            type: uri
            index: 46
          value:
            maxLength: 40
            choices: [valueString]
            index: 48
          valueString: {type: string, maxLength: 40, choiceOf: value, index: 49}
      packageDescription:
        url: null
        short: Description of content in package
        index: 50
        extensions: {}
        elements:
          extension: {index: 51}
          url:
            pattern: {type: uri, value: packageDescription}
            type: uri
            index: 52
          value:
            maxLength: 160
            choices: [valueString]
            index: 54
          valueString: {type: string, maxLength: 160, choiceOf: value, index: 55}
    elements:
      extension:
        short: Type of package in textual form
        index: 44
        slicing:
          slices:
            packageContainer:
              match: {}
              schema:
                short: Type of package in textual form
                index: 44
                extensions: {}
                elements:
                  extension: {index: 45}
                  url:
                    pattern: {type: uri, value: packageContainer}
                    type: uri
                    index: 46
                  value:
                    maxLength: 40
                    choices: [valueString]
                    index: 48
                  valueString: {type: string, maxLength: 40, choiceOf: value, index: 49}
            packageDescription:
              match: {}
              schema:
                short: Description of content in package
                index: 50
                extensions: {}
                elements:
                  extension: {index: 51}
                  url:
                    pattern: {type: uri, value: packageDescription}
                    type: uri
                    index: 52
                  value:
                    maxLength: 160
                    choices: [valueString]
                    index: 54
                  valueString: {type: string, maxLength: 160, choiceOf: value, index: 55}
      url:
        pattern: {type: uri, value: package}
        type: uri
        index: 56
      value:
        choices: []
        index: 58
  strength:
    url: null
    index: 59
    extensions:
      quantity:
        url: null
        short: Definition of strength defined in value and unit, e.g. 100 mg
        index: 60
        extensions: {}
        elements:
          extension: {index: 61}
          url:
            pattern: {type: uri, value: quantity}
            type: uri
            index: 62
          value:
            short: Definition of strength, e.g. 100 mg
            choices: [valueQuantity]
            index: 64
          valueQuantity: {type: Quantity, short: 'Definition of strength, e.g. 100 mg', choiceOf: value, index: 65}
          value[x]:
            elements:
              value: {index: 66}
              unit: {maxLength: 8, index: 67}
      text:
        url: null
        short: Textual description of strength
        index: 68
        extensions: {}
        elements:
          extension: {index: 69}
          url:
            pattern: {type: uri, value: text}
            type: uri
            index: 70
          value:
            maxLength: 80
            choices: [valueString]
            index: 72
          valueString: {type: string, maxLength: 80, choiceOf: value, index: 73}
    elements:
      extension:
        short: Definition of strength defined in value and unit, e.g. 100 mg
        index: 60
        slicing:
          slices:
            quantity:
              match: {}
              schema:
                short: Definition of strength defined in value and unit, e.g. 100 mg
                index: 60
                extensions: {}
                elements:
                  extension: {index: 61}
                  url:
                    pattern: {type: uri, value: quantity}
                    type: uri
                    index: 62
                  value:
                    short: Definition of strength, e.g. 100 mg
                    choices: [valueQuantity]
                    index: 64
                  valueQuantity: {type: Quantity, short: 'Definition of strength, e.g. 100 mg', choiceOf: value, index: 65}
                  value[x]:
                    elements:
                      value: {index: 66}
                      unit: {maxLength: 8, index: 67}
            text:
              match: {}
              schema:
                short: Textual description of strength
                index: 68
                extensions: {}
                elements:
                  extension: {index: 69}
                  url:
                    pattern: {type: uri, value: text}
                    type: uri
                    index: 70
                  value:
                    maxLength: 80
                    choices: [valueString]
                    index: 72
                  valueString: {type: string, maxLength: 80, choiceOf: value, index: 73}
      url:
        pattern: {type: uri, value: strength}
        type: uri
        index: 74
      value:
        choices: []
        index: 76
  substanceDescription:
    url: null
    short: Substance description
    index: 77
    extensions: {}
    elements:
      extension: {index: 78}
      url:
        pattern: {type: uri, value: substanceDescription}
        type: uri
        index: 79
      value:
        choices: [valueString]
        index: 81
      valueString: {type: string, choiceOf: value, index: 82}
class: extension
kind: complex-type
url: http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.1