Union of http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation and http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation

This is the set of resources that conform to either of the profiles Sexual Orientation Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation) and Sexual Orientation Observation (http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C1..1Base for all types and resources
should-text-ref-value: SHOULD contain text/reference/@value
should-value: SHOULD contain value
4515-8555: 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.
should-sh-author: SHOULD contain author
... nullFlavor 0..1??Binding: ?? (required)
... realmCode 0..*CS
... typeId 0..1II
.... nullFlavor 0..1??Binding: ?? (required)
.... assigningAuthorityName 0..1??
.... displayable 0..1??
.... root 1..1??, ??, ??
.... extension 1..1??
... templateId 1..*II
... classCode 1..1??Binding: ?? (required)
... moodCode 1..1??Binding: ?? (required)
... negationInd 0..1??
... code 1..1CDSexual Orientation
Binding: ?? (preferred)
.... nullFlavor 0..1??Binding: ?? (required)
.... code 1..1??
.... codeSystem 1..1??, ??, ??LOINC
.... codeSystemName 0..1??
.... codeSystemVersion 0..1??
.... displayName 0..1??
.... sdtcValueSet 0..1??
.... sdtcValueSetVersion 0..1??
.... originalText 0..1ED
.... qualifier 0..*CR
.... translation 0..*CD
... derivationExpr 0..1ST
... text 0..1EDSHOULD reference the portion of section narrative text corresponding to this entry
.... nullFlavor 0..1??Binding: ?? (required)
.... compression 0..1??Binding: ?? (required)
.... integrityCheck 0..1??
.... integrityCheckAlgorithm 0..1??Binding: ?? (required)
.... language 0..1??
.... mediaType 0..1??Binding: ?? (example)
.... representation 0..1??Binding: ?? (required)
.... xmlText 0..1??Allows for mixed text content. If @representation='B64', this SHALL be a base64binary string.
.... reference C0..1TELvalue-starts-octothorpe: If reference/@value is present, it SHALL begin with a '#' and SHALL point to its corresponding narrative
.... thumbnail 0..1ED
... statusCode 1..1CSBinding: ?? (required)
.... nullFlavor 0..1??Binding: ?? (required)
.... code 1..1??
.... sdtcValueSet 0..1??
.... sdtcValueSetVersion 0..1??
... effectiveTime 1..1IVL_TSThe effectiveTime represents the relevant time of the observation. A patient's "sexual orientation" may change and using effectiveTime/low and effectiveTime/high defines the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.
.... nullFlavor 0..1??Binding: ?? (required)
.... value 0..1??
.... operator 0..1??Binding: ?? (required)
.... low 1..1IVXB_TS
.... center 0..1TS
.... width 0..1PQ
.... high 0..1IVXB_TS
... priorityCode 0..1CEBinding: ?? (example)
... repeatNumber 0..1IVL_INT
... languageCode 0..1CSBinding: ?? (required)
... value 1..1(USCDI) Alcohol Use, Substance Use, SDOH Problems/Health Concerns
.... valueAll Types Content/Rules for all Types
..... code 1..1??Binding: ?? (required)
..... codeSystem 0..1??, ??, ??
..... codeSystemName 0..1??
..... codeSystemVersion 0..1??
..... displayName 0..1??
..... sdtcValueSet 0..1??XML: valueSet (urn:hl7-org:sdtc)
..... sdtcValueSetVersion 0..1??XML: valueSetVersion (urn:hl7-org:sdtc)
..... originalText 0..1ED
..... qualifier 0..*CR
..... translation 0..*CD
.... valueANY
.... valueBL
.... valueED
.... valueST
.... valueCD
.... valueCV
.... valueCE
.... valueCO
.... valueSC
.... valueII
.... valueTEL
.... valueAD
.... valueEN
.... valueINT
.... valueREAL
.... valuePQ
.... valueMO
.... valueTS
.... valueIVL_PQ
.... valueIVL_TS
.... valuePIVL_TS
.... valueEIVL_TS
.... valueSXPR_TS
.... valueRTO_PQ_PQ
... interpretationCode 0..*CEBinding: ?? (required)
... methodCode 0..*CEBinding: ?? (example)
... targetSiteCode 0..*CD
... subject 0..1Subject
... specimen 0..*Specimen
... performer 0..*Performer2
... author 0..*AuthorBase for all types and resources
... informant 0..*Informant
... participant 0..*Participant2
... entryRelationship 0..*EntryRelationship
... reference 0..*Reference
... precondition 0..*Precondition
... sdtcPrecondition2 0..*Precondition2
... referenceRange 0..*InfrastructureRoot
.... nullFlavor 0..1??Binding: ?? (required)
.... realmCode 0..*CS
.... typeId 0..1II
..... nullFlavor 0..1??Binding: ?? (required)
..... assigningAuthorityName 0..1??
..... displayable 0..1??
..... root 1..1??, ??, ??
..... extension 1..1??
.... templateId 0..*II
.... typeCode 0..1??Binding: ?? (required)
.... observationRange 1..1ObservationRange
... sdtcInFulfillmentOf1 0..*InFulfillmentOf1
... sdtcCategory 0..*CDXML: category (urn:hl7-org:sdtc)

doco Documentation for this format