description: The Immunization Not Given Reason documents the rationale for the patient declining an immunization. package_name: hl7.cda.us.ccda derivation: constraint name: ImmunizationNotGivenReason type: http://hl7.org/cda/stds/core/StructureDefinition/Observation elements: templateId: index: 0 slicing: rules: open discriminator: - {path: root, type: value} - {path: extension, type: value} min: 1 slices: imm-not-given-reason: match: {root: 2.16.840.1.113883.10.20.22.4.53, extension: '2024-05-01'} schema: _required: true index: 1 elements: root: pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.53} type: string index: 2 extension: pattern: {type: string, value: '2024-05-01'} type: string index: 3 required: [extension, root] extensions: {} classCode: pattern: {type: code, value: OBS} type: code index: 4 moodCode: pattern: {type: code, value: EVN} type: code index: 5 id: {index: 6} code: short: Reason Immunization Not Given index: 7 elements: code: pattern: {type: code, value: 71798-3} type: code index: 8 codeSystem: short: LOINC pattern: {type: string, value: 2.16.840.1.113883.6.1} type: string index: 9 required: [code, codeSystem] text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 10 elements: reference: constraint: value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationNotGivenReason', severity: error, expression: value.exists() implies value.startsWith('#')} index: 11 statusCode: index: 12 elements: code: pattern: {type: code, value: completed} type: code index: 13 required: [code] value: type: http://hl7.org/cda/stds/core/StructureDefinition/CD binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19717'} index: 14 package_version: 4.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/ImmunizationNotGivenReason base: http://hl7.org/cda/stds/core/StructureDefinition/Observation version: 4.0.0 required: [id, statusCode, templateId, value]