This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/SexObservation | Version: 3.0.0-ballot | |||
Draft as of 2023-12-21 | Computable Name: SexObservation | |||
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.507:2023-07-01 |
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.
USCDI 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.
Future 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).
It is recommended systems include the Sex Observation in the Social History section.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 1..1 | Observation | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1 Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:sex-obs | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.507 | |
@extension | 1..1 | st | Required Pattern: 2023-07-01 | |
@classCode | 1..1 | cs | Fixed Value: OBS | |
@moodCode | 1..1 | cs | Fixed Value: EVN | |
code | 1..1 | CD | Sex | |
@code | 1..1 | cs | Required Pattern: 46098-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | LOINC Required Pattern: 2.16.840.1.113883.6.1 | |
text | 0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
reference | C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
statusCode | 1..1 | CS | ||
@code | 1..1 | cs | Fixed Value: completed | |
effectiveTime | 1..1 | IVL_TS | ||
low | 0..0 | |||
center | 0..0 | |||
width | 0..0 | |||
high | 0..0 | |||
value | 1..1 | CD | ||
@nullFlavor | 0..0 | |||
@code | 1..1 | cs | Binding: Sex (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
Observation.value.code | required | Sex |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 1..1 | Observation | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1 Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:sex-obs | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.507 | |
@extension | 1..1 | st | Required Pattern: 2023-07-01 | |
@classCode | 1..1 | cs | Binding: ActClassObservation (2.0.0) (required) Fixed Value: OBS | |
@moodCode | 1..1 | cs | Binding: XActMoodDocumentObservation (2.0.0) (required) Fixed Value: EVN | |
code | 1..1 | CD | Sex Binding: ObservationType (example) | |
@code | 1..1 | cs | Required Pattern: 46098-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | LOINC Required Pattern: 2.16.840.1.113883.6.1 | |
text | 0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
reference | C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
@code | 1..1 | cs | Fixed Value: completed | |
effectiveTime | 1..1 | IVL_TS | ||
value | 1..1 | CD | ||
@code | 1..1 | cs | Binding: Sex (required) | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.statusCode | required | ActStatus |
Observation.value.code | required | Sex |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Path | Conformance | ValueSet / Code |
Observation.nullFlavor | required | CDANullFlavor |
Observation.typeId.nullFlavor | required | CDANullFlavor |
Observation.templateId:sex-obs.nullFlavor | required | CDANullFlavor |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.code.nullFlavor | required | CDANullFlavor |
Observation.text.nullFlavor | required | CDANullFlavor |
Observation.text.compression | required | CDACompressionAlgorithm |
Observation.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithm |
Observation.text.mediaType | example | MediaType |
Observation.text.representation | required | BinaryDataEncoding |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | example | ActPriority |
Observation.languageCode | required | AllLanguages |
Observation.value.code | required | Sex |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | example | ObservationMethod |
Observation.referenceRange.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeId.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from Observation
Summary
Mandatory: 11 elements
Fixed Value: 3 elements
Prohibited: 5 elements
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Observation
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 1..1 | Observation | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1 Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:sex-obs | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.507 | |
@extension | 1..1 | st | Required Pattern: 2023-07-01 | |
@classCode | 1..1 | cs | Fixed Value: OBS | |
@moodCode | 1..1 | cs | Fixed Value: EVN | |
code | 1..1 | CD | Sex | |
@code | 1..1 | cs | Required Pattern: 46098-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | LOINC Required Pattern: 2.16.840.1.113883.6.1 | |
text | 0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
reference | C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
statusCode | 1..1 | CS | ||
@code | 1..1 | cs | Fixed Value: completed | |
effectiveTime | 1..1 | IVL_TS | ||
low | 0..0 | |||
center | 0..0 | |||
width | 0..0 | |||
high | 0..0 | |||
value | 1..1 | CD | ||
@nullFlavor | 0..0 | |||
@code | 1..1 | cs | Binding: Sex (required) | |
Documentation for this format |
Path | Conformance | ValueSet |
Observation.value.code | required | Sex |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Observation | C | 1..1 | Observation | XML Namespace: urn:hl7-org:v3 Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, @negationInd, id, code, derivationExpr, text, statusCode, effectiveTime, priorityCode, repeatNumber, languageCode, value, interpretationCode, methodCode, targetSiteCode, subject, specimen, performer, author, informant, participant, entryRelationship, reference, precondition, sdtcPrecondition2, referenceRange, sdtcInFulfillmentOf1 Base for all types and resources Instances of this type are validated by templateId Logical Container: ClinicalDocument (CDA Class) should-text-ref-value: SHOULD contain text/reference/@value |
Slices for templateId | 1..* | II | Slice: Unordered, Open by value:root, value:extension | |
templateId:sex-obs | 1..1 | II | ||
@root | 1..1 | oid, uuid, ruid | Required Pattern: 2.16.840.1.113883.10.20.22.4.507 | |
@extension | 1..1 | st | Required Pattern: 2023-07-01 | |
@classCode | 1..1 | cs | Binding: ActClassObservation (2.0.0) (required) Fixed Value: OBS | |
@moodCode | 1..1 | cs | Binding: XActMoodDocumentObservation (2.0.0) (required) Fixed Value: EVN | |
code | 1..1 | CD | Sex Binding: ObservationType (example) | |
@code | 1..1 | cs | Required Pattern: 46098-0 | |
@codeSystem | 1..1 | oid, uuid, ruid | LOINC Required Pattern: 2.16.840.1.113883.6.1 | |
text | 0..1 | ED | SHOULD reference the portion of section narrative text corresponding to this entry | |
reference | C | 0..1 | TEL | value-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative |
statusCode | 1..1 | CS | Binding: ActStatus (required) | |
@code | 1..1 | cs | Fixed Value: completed | |
effectiveTime | 1..1 | IVL_TS | ||
value | 1..1 | CD | ||
@code | 1..1 | cs | Binding: Sex (required) | |
Documentation for this format |
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.statusCode | required | ActStatus |
Observation.value.code | required | Sex |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
Snapshot View
Path | Conformance | ValueSet / Code |
Observation.nullFlavor | required | CDANullFlavor |
Observation.typeId.nullFlavor | required | CDANullFlavor |
Observation.templateId:sex-obs.nullFlavor | required | CDANullFlavor |
Observation.classCode | required | Fixed Value: OBS |
Observation.moodCode | required | Fixed Value: EVN |
Observation.code | example | ObservationType |
Observation.code.nullFlavor | required | CDANullFlavor |
Observation.text.nullFlavor | required | CDANullFlavor |
Observation.text.compression | required | CDACompressionAlgorithm |
Observation.text.integrityCheckAlgorithm | required | IntegrityCheckAlgorithm |
Observation.text.mediaType | example | MediaType |
Observation.text.representation | required | BinaryDataEncoding |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.nullFlavor | required | CDANullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | example | ActPriority |
Observation.languageCode | required | AllLanguages |
Observation.value.code | required | Sex |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | example | ObservationMethod |
Observation.referenceRange.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeId.nullFlavor | required | CDANullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
should-text-ref-value | warning | Observation | SHOULD contain text/reference/@value : text.reference.value.exists() | |
value-starts-octothorpe | error | Observation.text.reference | If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative : value.exists() implies value.startsWith('#') |
This structure is derived from Observation
Summary
Mandatory: 11 elements
Fixed Value: 3 elements
Prohibited: 5 elements
Slices
This structure defines the following Slices: