PackagesCanonicalsLogsProblems
    Packages
    ehealth4u.package@1.0.0
    http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition
description: Extension to describe a subset of the parameters included in the medicinal product definition. Inspired by R5 http://hl7.org/fhir/5.0.0-snapshot1/medicinalproductdefinition.html.
package_name: ehealth4u.package
derivation: constraint
name: CYEHREXTMedicinalProductDefinition
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        productName:
          match: {url: productName}
          schema:
            short: The full product name
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: productName}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        strength:
          match: {url: strength}
          schema:
            short: The drug strength (as part of its name)
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: strength}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
        description:
          match: {url: description}
          schema:
            short: General description of this product
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: description}
                index: 12
              value:
                choices: [valueMarkdown]
                index: 14
              valueMarkdown: {type: markdown, choiceOf: value, index: 15}
        routeOfAdministration:
          match: {url: routeOfAdministration}
          schema:
            short: The path by which the product is taken into or makes contact with the body
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: routeOfAdministration}
                index: 17
              value:
                choices: [valueCodeableConcept]
                index: 19
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 20}
              value[x]:
                elements:
                  coding:
                    index: 21
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: pattern}
                      min: null
                      slices:
                        eHDSIRouteOfAdministration:
                          match: {}
                          schema:
                            binding: {strength: required, valueSet: 'http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsirouteofadministration'}
                            index: 22
                            elements:
                              system: {index: 23}
                              code: {index: 24}
                              display: {index: 25}
                            required: [display, system, code]
        packageSizeUnit:
          match: {url: packageSizeUnit}
          schema:
            index: 26
            elements:
              url:
                pattern: {type: Uri, value: packageSizeUnit}
                index: 27
              value:
                choices: [valueString]
                index: 29
              valueString: {type: string, choiceOf: value, index: 30}
  url:
    pattern: {type: Uri, value: 'http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition'}
    index: 31
  value:
    choices: []
    index: 33
package_version: 1.0.0
extensions:
  productName:
    url: productName
    short: The full product name
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: productName}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  strength:
    url: strength
    short: The drug strength (as part of its name)
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: strength}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
  description:
    url: description
    short: General description of this product
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: description}
        index: 12
      value:
        choices: [valueMarkdown]
        index: 14
      valueMarkdown: {type: markdown, choiceOf: value, index: 15}
  routeOfAdministration:
    url: routeOfAdministration
    short: The path by which the product is taken into or makes contact with the body
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: routeOfAdministration}
        index: 17
      value:
        choices: [valueCodeableConcept]
        index: 19
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 20}
      value[x]:
        elements:
          coding:
            index: 21
            slicing:
              rules: open
              discriminator:
              - {path: $this, type: pattern}
              min: null
              slices:
                eHDSIRouteOfAdministration:
                  match: {}
                  schema:
                    binding: {strength: required, valueSet: 'http://ig.ehealth4u.eu/fhir/ValueSet/cyehr-vs-ehdsirouteofadministration'}
                    index: 22
                    elements:
                      system: {index: 23}
                      code: {index: 24}
                      display: {index: 25}
                    required: [display, system, code]
  packageSizeUnit:
    url: packageSizeUnit
    index: 26
    elements:
      url:
        pattern: {type: Uri, value: packageSizeUnit}
        index: 27
      value:
        choices: [valueString]
        index: 29
      valueString: {type: string, choiceOf: value, index: 30}
class: extension
kind: complex-type
url: http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-medicinalproductdefinition
base: http://hl7.org/fhir/StructureDefinition/Extension
version: null