description: This cross-version extension represents AdverseEvent.preventiveAction from http://hl7.org/fhir/StructureDefinition/AdverseEvent|5.0.0 for use in FHIR R4B. package_name: hl7.fhir.uv.xver-r5.r4b derivation: constraint name: ext_R5_AdverseEvent_preventiveAction type: Extension elements: extension: array: true min: 1 index: 0 slicing: rules: closed ordered: false discriminator: - {path: url, type: value} min: 1 slices: item[x]: match: {url: null} schema: isModifier: false short: Action that contributed to avoiding the adverse event _required: true index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Action that contributed to avoiding the adverse event choices: [valueReference, valueCodeableConcept] index: 3 valueReference: short: Action that contributed to avoiding the adverse event refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/Procedure'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 4 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Action that contributed to avoiding the adverse event choiceOf: value index: 5 url: pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AdverseEvent.preventiveAction'} index: 6 package_version: 0.0.1-snapshot-1 extensions: item[x]: url: null isModifier: false short: Action that contributed to avoiding the adverse event _required: true index: 1 elements: value: base: {path: 'Extension.value[x]'} short: Action that contributed to avoiding the adverse event choices: [valueReference, valueCodeableConcept] index: 3 valueReference: short: Action that contributed to avoiding the adverse event refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Immunization', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest', 'http://hl7.org/fhir/StructureDefinition/Procedure'] type: Reference base: {path: 'Extension.value[x]'} choiceOf: value index: 4 valueCodeableConcept: base: {path: 'Extension.value[x]'} type: CodeableConcept short: Action that contributed to avoiding the adverse event choiceOf: value index: 5 class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-AdverseEvent.preventiveAction base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.0.1-snapshot-1 required: [url, extension]