description: 'R5: `AdverseEvent.preventiveAction` (new:BackboneElement)' package_name: hl7.fhir.uv.xver-r5.r4 derivation: constraint name: ExtensionAdverseEvent_PreventiveAction type: Extension elements: extension: base: {max: '*', min: 0, path: Extension.extension} array: true min: 1 index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: item: match: {url: item} schema: short: 'R5: Action that contributed to avoiding the adverse event (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: item} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Action that contributed to avoiding the adverse event choices: [valueReference, valueCodeableConcept] index: 4 valueReference: short: Action that contributed to avoiding the adverse event refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-DocumentReference-for-Media|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-Immunization|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-MedicationAdministration|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-MedicationRequest|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Immunization|4.0.1', 'http://hl7.org/fhir/StructureDefinition/Media|4.0.1', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration|4.0.1', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 valueCodeableConcept: short: Action that contributed to avoiding the adverse event type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 6 required: [url, valueReference, value, valueCodeableConcept] url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-AdverseEvent.preventiveAction'} index: 7 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} choices: [] index: 9 package_version: 0.1.0 extensions: item: url: item short: 'R5: Action that contributed to avoiding the adverse event (new)' _required: true base: {max: '*', min: 0, path: Extension.extension} index: 1 elements: url: base: {max: '1', min: 1, path: Extension.url} pattern: {type: Uri, value: item} index: 2 value: base: {max: '1', min: 0, path: 'Extension.value[x]'} short: Action that contributed to avoiding the adverse event choices: [valueReference, valueCodeableConcept] index: 4 valueReference: short: Action that contributed to avoiding the adverse event refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-DocumentReference-for-Media|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-Immunization|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-MedicationAdministration|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-MedicationRequest|0.1.0', 'http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0', 'http://hl7.org/fhir/StructureDefinition/Immunization|4.0.1', 'http://hl7.org/fhir/StructureDefinition/Media|4.0.1', 'http://hl7.org/fhir/StructureDefinition/MedicationAdministration|4.0.1', 'http://hl7.org/fhir/StructureDefinition/MedicationRequest|4.0.1', 'http://hl7.org/fhir/StructureDefinition/Procedure|4.0.1'] type: Reference base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 5 valueCodeableConcept: short: Action that contributed to avoiding the adverse event type: CodeableConcept base: {max: '1', min: 0, path: 'Extension.value[x]'} choiceOf: value index: 6 required: [url, valueReference, value, valueCodeableConcept] class: extension kind: complex-type url: http://hl7.org/fhir/5.0/StructureDefinition/extension-AdverseEvent.preventiveAction base: http://hl7.org/fhir/StructureDefinition/Extension|4.0.1 version: 0.1.0 required: [url, extension]