description: This template captures the condition or state of the specimen as identified by the laboratory upon receipt or during processing—such as hemolysis, clotting, or contamination. These conditions provide critical context for interpreting results or determining whether the specimen is suitable for testing. If multiple conditions apply, each should be represented using a separate instance of this template. package_name: hl7.cda.us.ccda derivation: constraint name: SpecimenConditionObservation 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: specimen-condition-obs: match: {root: 2.16.840.1.113883.10.20.22.4.421, extension: '2018-06-12'} schema: _required: true index: 1 elements: root: pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.421} index: 2 extension: pattern: {type: String, value: '2018-06-12'} index: 3 required: [root, extension] extensions: {} classCode: pattern: {type: Code, value: OBS} index: 4 moodCode: pattern: {type: Code, value: EVN} index: 5 code: short: Specimen condition index: 6 elements: code: pattern: {type: Code, value: 93047-7} index: 7 codeSystem: short: LOINC pattern: {type: String, value: 2.16.840.1.113883.6.1} index: 8 required: [codeSystem, code] text: short: SHOULD reference the portion of section narrative text corresponding to this entry index: 9 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/SpecimenConditionObservation', severity: error, expression: value.exists() implies value.startsWith('#')} index: 10 value: type: http://hl7.org/cda/stds/core/StructureDefinition/CD binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-specimen-condition'} index: 11 package_version: 4.0.0 class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/SpecimenConditionObservation base: http://hl7.org/cda/stds/core/StructureDefinition/Observation version: 4.0.0 required: [value, templateId]