PackagesCanonicalsLogsProblems
    Packages
    sfm.030521@1.0.1
    http://ehelse.no/fhir/StructureDefinition/sfm-recalldetails
description: Details from M7 message.
package_name: sfm.030521
derivation: constraint
name: SfmRecalldetails
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        prescriptionId:
          match: {url: prescriptionId}
          schema:
            short: Id on M1 that is recalled
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: prescriptionId}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        merknad:
          match: {url: merknad}
          schema:
            short: Textual information about the recall
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: merknad}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
        reason:
          match: {url: reason}
          schema:
            short: Information about the recall reason
            _required: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: reason}
                index: 12
              value:
                choices: [valueCodeableConcept]
                index: 14
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
              value[x]:
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7500'}
                        index: 16
        newprescriptionId:
          match: {url: newprescriptionId}
          schema:
            short: Pointer to new resept prescribed
            index: 17
            elements:
              url:
                pattern: {type: Uri, value: newprescriptionId}
                index: 18
              value:
                choices: [valueString]
                index: 20
              valueString: {type: string, choiceOf: value, index: 21}
        performed:
          match: {url: performed}
          schema:
            _required: true
            index: 22
            elements:
              url:
                pattern: {type: Uri, value: performed}
                index: 23
              value:
                choices: [valueDateTime]
                index: 25
              valueDateTime: {type: dateTime, choiceOf: value, index: 26}
  url:
    pattern: {type: Uri, value: 'http://ehelse.no/fhir/StructureDefinition/sfm-recalldetails'}
    index: 27
  value:
    choices: []
    index: 29
package_version: 1.0.1
extensions:
  prescriptionId:
    url: prescriptionId
    short: Id on M1 that is recalled
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: prescriptionId}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  merknad:
    url: merknad
    short: Textual information about the recall
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: merknad}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
  reason:
    url: reason
    short: Information about the recall reason
    _required: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: reason}
        index: 12
      value:
        choices: [valueCodeableConcept]
        index: 14
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 15}
      value[x]:
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'urn:oid:2.16.578.1.12.4.1.1.7500'}
                index: 16
  newprescriptionId:
    url: newprescriptionId
    short: Pointer to new resept prescribed
    index: 17
    elements:
      url:
        pattern: {type: Uri, value: newprescriptionId}
        index: 18
      value:
        choices: [valueString]
        index: 20
      valueString: {type: string, choiceOf: value, index: 21}
  performed:
    url: performed
    _required: true
    index: 22
    elements:
      url:
        pattern: {type: Uri, value: performed}
        index: 23
      value:
        choices: [valueDateTime]
        index: 25
      valueDateTime: {type: dateTime, choiceOf: value, index: 26}
class: extension
kind: complex-type
url: http://ehelse.no/fhir/StructureDefinition/sfm-recalldetails
base: http://hl7.org/fhir/StructureDefinition/Extension
version: '1.0'