Consolidated CDA Release 2.1 StructureDefinition Publication, published by Health Level Seven. This is not an authorized publication; it is the continuous build for version 2.1). This version is based on the current content of https://github.com/HL7/CDA-ccda-2.1-sd/ and changes regularly. See the Directory of published versions
Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation | Version: 2.1 | |||
Draft as of 2023-09-29 | Computable Name: SexualOrientationObservation | |||
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.501:2023-05-01 |
This observation represents the sexual orientation of the patient, defined as:
A persons identification of their emotional, romantic, sexual, or affectional attraction to another person.
This template was informed by the HL7 Gender Harmony project.
This observation is not appropriate for recording patient gender (administrativeGender), Gender Identity (Gender Identity Observation), or birth sex (Birth Sex Observation).
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from SocialHistoryObservation
Path | Conformance | ValueSet |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.code | preferred | Social History Type |
Observation.statusCode | required | ActStatus |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Observation.entryRelationship:social-history-entry-sprt-obs.typeCode | required | Fixed Value: SPRT |
Observation.entryRelationship:social-history-entry-sprt-act.typeCode | required | Fixed Value: SPRT |
Id | Grade | Path(s) | Details | Requirements |
4515-8555 | error | Observation.value | If Observation/value is a physical quantity (xsi:type="PQ"): This value SHALL contain exactly one [1..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC. Note: Base CDA requires that all @unit values SHALL be drawn from UCUM. : | |
4515-32956 | error | Observation.code | If @codeSystem is not LOINC, then this code **SHALL** contain at least one [1..*] translation, which **SHOULD** be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4515-32956). : | |
4515-32957 | error | Observation.value | If the Social History Observation is a Social Determinant of Health Observation, the observation/value code **SHOULD** be selected from ValueSet [Social Determinant of Health Conditions 2.16.840.1.113762.1.4.1196.788](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1196.788/expansion) **DYNAMIC** (CONF:4515-32957). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.templateId:social-history-obs.nullFlavor | required | NullFlavor |
Observation.templateId:templateId1.nullFlavor | required | NullFlavor |
Observation.code | preferred | Social History Type |
Observation.code.nullFlavor | required | NullFlavor |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | NullFlavor |
Observation.effectiveTime.nullFlavor | required | NullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | extensible | ActPriority |
Observation.languageCode | required | HumanLanguage (a valid code from http://terminology.hl7.org/CodeSystem/ietf3066 ) |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | extensible | ObservationMethod |
Observation.entryRelationship:social-history-entry-sprt-obs.nullFlavor | required | NullFlavor |
Observation.entryRelationship:social-history-entry-sprt-obs.typeCode | required | Fixed Value: SPRT |
Observation.entryRelationship:social-history-entry-sprt-act.nullFlavor | required | NullFlavor |
Observation.entryRelationship:social-history-entry-sprt-act.typeCode | required | Fixed Value: SPRT |
Observation.referenceRange.nullFlavor | required | NullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
4515-8555 | error | Observation.value | If Observation/value is a physical quantity (xsi:type="PQ"): This value SHALL contain exactly one [1..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC. Note: Base CDA requires that all @unit values SHALL be drawn from UCUM. : | |
4515-32956 | error | Observation.code | If @codeSystem is not LOINC, then this code **SHALL** contain at least one [1..*] translation, which **SHOULD** be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4515-32956). : | |
4515-32957 | error | Observation.value | If the Social History Observation is a Social Determinant of Health Observation, the observation/value code **SHOULD** be selected from ValueSet [Social Determinant of Health Conditions 2.16.840.1.113762.1.4.1196.788](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1196.788/expansion) **DYNAMIC** (CONF:4515-32957). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
This structure is derived from SocialHistoryObservation
Differential View
This structure is derived from SocialHistoryObservation
Path | Conformance | ValueSet |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Key Elements View
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.code | preferred | Social History Type |
Observation.statusCode | required | ActStatus |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Observation.entryRelationship:social-history-entry-sprt-obs.typeCode | required | Fixed Value: SPRT |
Observation.entryRelationship:social-history-entry-sprt-act.typeCode | required | Fixed Value: SPRT |
Id | Grade | Path(s) | Details | Requirements |
4515-8555 | error | Observation.value | If Observation/value is a physical quantity (xsi:type="PQ"): This value SHALL contain exactly one [1..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC. Note: Base CDA requires that all @unit values SHALL be drawn from UCUM. : | |
4515-32956 | error | Observation.code | If @codeSystem is not LOINC, then this code **SHALL** contain at least one [1..*] translation, which **SHOULD** be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4515-32956). : | |
4515-32957 | error | Observation.value | If the Social History Observation is a Social Determinant of Health Observation, the observation/value code **SHOULD** be selected from ValueSet [Social Determinant of Health Conditions 2.16.840.1.113762.1.4.1196.788](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1196.788/expansion) **DYNAMIC** (CONF:4515-32957). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
Snapshot View
Path | Conformance | ValueSet / Code |
Observation.classCode | required | Fixed Value: OBS |
Observation.templateId:social-history-obs.nullFlavor | required | NullFlavor |
Observation.templateId:templateId1.nullFlavor | required | NullFlavor |
Observation.code | preferred | Social History Type |
Observation.code.nullFlavor | required | NullFlavor |
Observation.statusCode | required | ActStatus |
Observation.statusCode.nullFlavor | required | NullFlavor |
Observation.effectiveTime.nullFlavor | required | NullFlavor |
Observation.effectiveTime.operator | required | SetOperator |
Observation.priorityCode | extensible | ActPriority |
Observation.languageCode | required | HumanLanguage (a valid code from http://terminology.hl7.org/CodeSystem/ietf3066 ) |
Observation.value | required | Sexual Orientation |
Observation.value.nullFlavor | preferred | Other or unknown or refused to answer |
Observation.interpretationCode | required | ObservationInterpretation |
Observation.methodCode | extensible | ObservationMethod |
Observation.entryRelationship:social-history-entry-sprt-obs.nullFlavor | required | NullFlavor |
Observation.entryRelationship:social-history-entry-sprt-obs.typeCode | required | Fixed Value: SPRT |
Observation.entryRelationship:social-history-entry-sprt-act.nullFlavor | required | NullFlavor |
Observation.entryRelationship:social-history-entry-sprt-act.typeCode | required | Fixed Value: SPRT |
Observation.referenceRange.nullFlavor | required | NullFlavor |
Observation.referenceRange.typeCode | required | Fixed Value: REFV |
Id | Grade | Path(s) | Details | Requirements |
4515-8555 | error | Observation.value | If Observation/value is a physical quantity (xsi:type="PQ"): This value SHALL contain exactly one [1..1] @unit, which SHOULD be selected from ValueSet UnitsOfMeasureCaseSensitive urn:oid:2.16.840.1.113883.1.11.12839 DYNAMIC. Note: Base CDA requires that all @unit values SHALL be drawn from UCUM. : | |
4515-32956 | error | Observation.code | If @codeSystem is not LOINC, then this code **SHALL** contain at least one [1..*] translation, which **SHOULD** be selected from CodeSystem LOINC (urn:oid:2.16.840.1.113883.6.1) (CONF:4515-32956). : | |
4515-32957 | error | Observation.value | If the Social History Observation is a Social Determinant of Health Observation, the observation/value code **SHOULD** be selected from ValueSet [Social Determinant of Health Conditions 2.16.840.1.113762.1.4.1196.788](https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1196.788/expansion) **DYNAMIC** (CONF:4515-32957). : | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
This structure is derived from SocialHistoryObservation