description: This cross-version extension represents DeviceDefinition.correctiveAction from http://hl7.org/fhir/StructureDefinition/DeviceDefinition|5.0.0 for use in FHIR R4. package_name: hl7.fhir.uv.xver-r5.r4 derivation: constraint name: ext_R5_DeviceDefinition_correctiveAction type: Extension elements: extension: array: true min: 2 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 2 slices: recall: match: {url: null} schema: short: Whether the corrective action was a recall isModifier: false _required: true index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Whether the corrective action was a recall choices: [valueBoolean] index: 3 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Whether the corrective action was a recall choiceOf: value index: 4 scope: match: {url: null} schema: short: model | lot-numbers | serial-numbers isModifier: false index: 5 elements: value: base: {path: 'Extension.value[x]'} short: model | lot-numbers | serial-numbers choices: [valueCode] index: 7 valueCode: base: {path: 'Extension.value[x]'} type: code short: model | lot-numbers | serial-numbers choiceOf: value index: 8 period: match: {url: null} schema: short: Start and end dates of the corrective action isModifier: false _required: true index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Start and end dates of the corrective action choices: [valuePeriod] index: 11 valuePeriod: base: {path: 'Extension.value[x]'} type: Period short: Start and end dates of the corrective action choiceOf: value index: 12 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.correctiveAction'} index: 13 package_version: 0.0.1-snapshot-1 extensions: recall: url: null short: Whether the corrective action was a recall isModifier: false _required: true index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Whether the corrective action was a recall choices: [valueBoolean] index: 3 valueBoolean: base: {path: 'Extension.value[x]'} type: boolean short: Whether the corrective action was a recall choiceOf: value index: 4 scope: url: null short: model | lot-numbers | serial-numbers isModifier: false index: 5 elements: value: base: {path: 'Extension.value[x]'} short: model | lot-numbers | serial-numbers choices: [valueCode] index: 7 valueCode: base: {path: 'Extension.value[x]'} type: code short: model | lot-numbers | serial-numbers choiceOf: value index: 8 period: url: null short: Start and end dates of the corrective action isModifier: false _required: true index: 9 elements: value: base: {path: 'Extension.value[x]'} short: Start and end dates of the corrective action choices: [valuePeriod] index: 11 valuePeriod: base: {path: 'Extension.value[x]'} type: Period short: Start and end dates of the corrective action choiceOf: value index: 12 class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DeviceDefinition.correctiveAction base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url]