PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-deliverysummary
description: Delivery summary used in SFM.
package_name: sfm.030521
derivation: constraint
name: SfmDeliverySummary
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        varenummer:
          match: {url: varenummer}
          schema:
            short: Nordic identifier of product
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: varenummer}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        varenavn:
          match: {url: varenavn}
          schema:
            short: Name as stated on package
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: varenavn}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
        pakningsstr:
          match: {url: pakningsstr}
          schema:
            short: Size of package
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: pakningsstr}
                index: 12
              value:
                choices: [valueQuantity]
                index: 14
              valueQuantity: {type: Quantity, choiceOf: value, index: 15}
        antallpkntotalt:
          match: {url: antallpkntotalt}
          schema:
            short: Total number of packages dispenced to patient
            _required: true
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: antallpkntotalt}
                index: 17
              value:
                choices: [valueDecimal]
                index: 19
              valueDecimal: {type: decimal, choiceOf: value, index: 20}
        antallpknsiste:
          match: {url: antallpknsiste}
          schema:
            short: No package dispenced last delivery
            _required: true
            index: 21
            elements:
              url:
                pattern: {type: Uri, value: antallpknsiste}
                index: 22
              value:
                choices: [valueDecimal]
                index: 24
              valueDecimal: {type: decimal, choiceOf: value, index: 25}
        sistutlevert:
          match: {url: sistutlevert}
          schema:
            short: Time when last dispenced
            _required: true
            index: 26
            elements:
              url:
                pattern: {type: Uri, value: sistutlevert}
                index: 27
              value:
                choices: [valueDateTime]
                index: 29
              valueDateTime: {type: dateTime, choiceOf: value, index: 30}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-deliverysummary'}
    index: 31
  value:
    choices: []
    index: 33
package_version: 1.0.1
extensions:
  varenummer:
    url: varenummer
    short: Nordic identifier of product
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: varenummer}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  varenavn:
    url: varenavn
    short: Name as stated on package
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: varenavn}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
  pakningsstr:
    url: pakningsstr
    short: Size of package
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: pakningsstr}
        index: 12
      value:
        choices: [valueQuantity]
        index: 14
      valueQuantity: {type: Quantity, choiceOf: value, index: 15}
  antallpkntotalt:
    url: antallpkntotalt
    short: Total number of packages dispenced to patient
    _required: true
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: antallpkntotalt}
        index: 17
      value:
        choices: [valueDecimal]
        index: 19
      valueDecimal: {type: decimal, choiceOf: value, index: 20}
  antallpknsiste:
    url: antallpknsiste
    short: No package dispenced last delivery
    _required: true
    index: 21
    elements:
      url:
        pattern: {type: Uri, value: antallpknsiste}
        index: 22
      value:
        choices: [valueDecimal]
        index: 24
      valueDecimal: {type: decimal, choiceOf: value, index: 25}
  sistutlevert:
    url: sistutlevert
    short: Time when last dispenced
    _required: true
    index: 26
    elements:
      url:
        pattern: {type: Uri, value: sistutlevert}
        index: 27
      value:
        choices: [valueDateTime]
        index: 29
      valueDateTime: {type: dateTime, choiceOf: value, index: 30}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-deliverysummary
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'