description: 'This Sex Observation template is used to reflect the documentation of a person''s sex. Systems choosing to record the source of information should include the Provenance participation.\n\nUSCDI v3 includes a data element for sex, intended to support the exchange of a sex value that is not characterized as sex assigned at birth or birth sex. This version of the C-CDA companion guide supports USCDI Sex data element. Sex assigned at birth or birth sex must be recorded using the Birth Sex Observation which falls under the broader category of a ''Sex observation''. A Data Absent Reason (DAR) code value of ''asked-declined'' may be used when a person has chosen not to disclose their sex.\n\nFuture versions of the template may be informed by the content of the HL7 Cross Paradigm IG: Gender Harmony - Sex and Gender Representation, which may include additional guidance on this Sex observation and the relationship to administrative gender (administrativeGenderCode).\n\nIt is recommended systems include the Sex Observation in the Social History section.' package_name: hl7.cda.us.ccda derivation: constraint name: SexObservation 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: sex-obs: match: {root: 2.16.840.1.113883.10.20.22.4.507, extension: '2023-06-28'} schema: _required: true index: 1 elements: root: pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.507} index: 2 extension: pattern: {type: String, value: '2023-06-28'} index: 3 required: [root, extension] extensions: {} classCode: pattern: {type: Code, value: OBS} index: 4 moodCode: pattern: {type: Code, value: EVN} index: 5 code: short: Sex index: 6 elements: code: pattern: {type: Code, value: 46098-0} 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/SexObservation', severity: error, expression: value.exists() implies value.startsWith('#')} index: 10 statusCode: index: 11 elements: code: pattern: {type: Code, value: completed} index: 12 required: [code] effectiveTime: constraint: value-only: {human: Interval fields SHALL NOT be present, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/SexObservation', severity: error, expression: (low | high | width | center).empty()} index: 13 elements: value: {short: value should be used instead of low/high, index: 14} value: type: http://hl7.org/cda/stds/core/StructureDefinition/CD index: 15 elements: nullFlavor: {index: 16} code: binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.3'} index: 17 required: [code] package_version: 4.0.0-ballot class: logical kind: logical url: http://hl7.org/cda/us/ccda/StructureDefinition/SexObservation base: http://hl7.org/cda/stds/core/StructureDefinition/Observation version: 4.0.0-ballot required: [effectiveTime, value, statusCode, templateId]