PackagesCanonicalsLogsProblems
    Packages
    test.mpd.noma.no@2.0.0
    http://noma.no/fhir/StructureDefinition/PackageItemContainedItem_NOMA_v3_0
description: null
package_name: test.mpd.noma.no
derivation: constraint
name: PackageItemContainedItem_NOMA_v3_0
type: Extension
elements:
  valueBase64Binary: {type: base64Binary, choiceOf: value, index: 21}
  valueAge: {type: Age, choiceOf: value, index: 41}
  valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 65}
  valueTiming: {type: Timing, choiceOf: value, index: 60}
  valueCode: {type: code, choiceOf: value, index: 24}
  valueReference:
    type: Reference
    choiceOf: value
    refers: ['http://legemiddelverket.no/fhir/StructureDefinition/safest-MedicinalProductManufactured']
    index: 57
  valueContributor: {type: Contributor, choiceOf: value, index: 62}
  valueContactDetail: {type: ContactDetail, choiceOf: value, index: 61}
  valueUri: {type: uri, choiceOf: value, index: 37}
  valueUsageContext: {type: UsageContext, choiceOf: value, index: 68}
  valueTime: {type: time, choiceOf: value, index: 35}
  valueDecimal: {type: decimal, choiceOf: value, index: 27}
  valueCanonical: {type: canonical, choiceOf: value, index: 23}
  valueMarkdown: {type: markdown, choiceOf: value, index: 31}
  valueIdentifier: {type: Identifier, choiceOf: value, index: 51}
  valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 67}
  valueQuantity: {type: Quantity, choiceOf: value, index: 54}
  value:
    choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
    index: 20
  valueCount: {type: Count, choiceOf: value, index: 47}
  valueString: {type: string, choiceOf: value, index: 34}
  valueRatio: {type: Ratio, choiceOf: value, index: 56}
  valueBoolean: {type: boolean, choiceOf: value, index: 22}
  valueInstant: {type: instant, choiceOf: value, index: 29}
  valueDateTime: {type: dateTime, choiceOf: value, index: 26}
  valueDate: {type: date, choiceOf: value, index: 25}
  valueDuration: {type: Duration, choiceOf: value, index: 49}
  valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 63}
  valueMoney: {type: Money, choiceOf: value, index: 52}
  valueCoding: {type: Coding, choiceOf: value, index: 45}
  valueExpression: {type: Expression, choiceOf: value, index: 64}
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        item:
          match: {}
          schema:
            short: The manufactured item or nutrition product as contained in the packaged medicinal product
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: item}
                index: 3
              value:
                short: Reference to contained item
                choices: [valueReference]
                index: 5
              valueReference:
                type: Reference
                short: Reference to contained item
                choiceOf: value
                refers: ['https://noma.no/fhir/StructureDefinition/MedicinalProduct_NOMA_v3_0']
                index: 6
              value[x]:
                extensions: {}
                elements:
                  extension: {index: 7}
                  type: {short: Type the reference refers to, index: 8}
                  identifier: {index: 9}
                  display: {index: 10}
            required: [valueReference, value]
        amount:
          match: {}
          schema:
            short: The amount of manufactured items or nutrition products contained in the package item
            _required: true
            index: 11
            extensions: {}
            elements:
              extension: {index: 12}
              url:
                pattern: {type: Uri, value: amount}
                index: 13
              value:
                short: The number of this type of item within this packaging
                choices: [valueInteger, valueQuantity]
                index: 15
              valueInteger: {type: integer, short: The number of this type of item within this packaging, choiceOf: value, index: 16}
              valueQuantity: {type: Quantity, short: The number of this type of item within this packaging, choiceOf: value, index: 17}
            required: [value, valueQuantity, valueInteger]
  valueSampledData: {type: SampledData, choiceOf: value, index: 58}
  valueDosage: {type: Dosage, choiceOf: value, index: 69}
  valueContactPoint: {type: ContactPoint, choiceOf: value, index: 46}
  url:
    pattern: {type: Uri, value: 'http://noma.no/fhir/StructureDefinition/PackageItemContainedItem_NOMA_v3_0'}
    index: 18
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 44}
  valueAnnotation: {type: Annotation, choiceOf: value, index: 42}
  valuePeriod: {type: Period, choiceOf: value, index: 53}
  valueDistance: {type: Distance, choiceOf: value, index: 48}
  valueRange: {type: Range, choiceOf: value, index: 55}
  valueSignature: {type: Signature, choiceOf: value, index: 59}
  valueUuid: {type: uuid, choiceOf: value, index: 39}
  valueInteger: {type: integer, choiceOf: value, index: 30}
  valueHumanName: {type: HumanName, choiceOf: value, index: 50}
  valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 36}
  valueAttachment: {type: Attachment, choiceOf: value, index: 43}
  valueOid: {type: oid, choiceOf: value, index: 32}
  valueAddress: {type: Address, choiceOf: value, index: 40}
  valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 66}
  valuePositiveInt: {type: positiveInt, choiceOf: value, index: 33}
  valueId: {type: id, choiceOf: value, index: 28}
  valueUrl: {type: url, choiceOf: value, index: 38}
package_version: 2.0.0
extensions:
  item:
    url: null
    short: The manufactured item or nutrition product as contained in the packaged medicinal product
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: item}
        index: 3
      value:
        short: Reference to contained item
        choices: [valueReference]
        index: 5
      valueReference:
        type: Reference
        short: Reference to contained item
        choiceOf: value
        refers: ['https://noma.no/fhir/StructureDefinition/MedicinalProduct_NOMA_v3_0']
        index: 6
      value[x]:
        extensions: {}
        elements:
          extension: {index: 7}
          type: {short: Type the reference refers to, index: 8}
          identifier: {index: 9}
          display: {index: 10}
    required: [valueReference, value]
  amount:
    url: null
    short: The amount of manufactured items or nutrition products contained in the package item
    _required: true
    index: 11
    extensions: {}
    elements:
      extension: {index: 12}
      url:
        pattern: {type: Uri, value: amount}
        index: 13
      value:
        short: The number of this type of item within this packaging
        choices: [valueInteger, valueQuantity]
        index: 15
      valueInteger: {type: integer, short: The number of this type of item within this packaging, choiceOf: value, index: 16}
      valueQuantity: {type: Quantity, short: The number of this type of item within this packaging, choiceOf: value, index: 17}
    required: [value, valueQuantity, valueInteger]
class: extension
kind: complex-type
url: http://noma.no/fhir/StructureDefinition/PackageItemContainedItem_NOMA_v3_0
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '3.0'