Union of http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation and http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation

This is the set of resources that conform to either of the profiles De-Identified UDS Plus Sexual Orientation (http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation) and De-Identified UDS Plus Sexual Orientation (http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C0..*De-Identified UDS Plus Sexual Orientation
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
obs-6: dataAbsentReason SHALL only be present if Observation.value[x] is not present
obs-7: If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier Σ0..*IdentifierBusiness Identifier for observation
ele-1: All FHIR elements must have a @value or children
... basedOn Σ0..*Reference(CarePlan | DeviceRequest | ImmunizationRecommendation | MedicationRequest | NutritionOrder | ServiceRequest)Fulfills plan, proposal or order
ele-1: All FHIR elements must have a @value or children
... partOf Σ0..*Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Immunization | ImagingStudy)Part of referenced event
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1coderegistered | preliminary | final | amended +
Binding: ?? (required): Codes providing the status of an observation.


ele-1: All FHIR elements must have a @value or children
... category 0..*CodeableConceptClassification of type of observation
Binding: ?? (preferred): Codes for high level observation categories.


ele-1: All FHIR elements must have a @value or children
... code SΣ1..1CodeableConceptType of observation (code / type)
Binding: ?? (example): Codes identifying names of simple observations.


ele-1: All FHIR elements must have a @value or children
... subject SΣ1..1Reference(De-Identified UDS Plus Patient | #sd-de-identified-uds-plus-patient-de-identified-uds-plus-patient)Who and/or what the observation is about
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
... focus Σ0..*Reference(Resource)What the observation is about, when it is not about the subject of record
ele-1: All FHIR elements must have a @value or children
... encounter Σ0..1Reference(Encounter)Healthcare event during which this observation is made
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).


ele-1: All FHIR elements must have a @value or children
.... identifier Σ0..1IdentifierLogical reference, when literal reference is not known
ele-1: All FHIR elements must have a @value or children
... effective[x] SΣC0..1Clinically relevant time/time-period for observation
ele-1: All FHIR elements must have a @value or children
uds-plus-sor-1: All dateTime data elements should be truncated to a year only for de-identified resources.
uds-plus-sor-2: All Period.start data elements should be truncated to a year only for de-identified resources.
uds-plus-sor-3: All Period.emd data elements should be truncated to a year only for de-identified resources.
uds-plus-sor-4: All Timing.event data elements should be truncated to a year only for de-identified resources.
uds-plus-sor-5: All Timing.event data elements should be truncated to a year only for de-identified resources.
.... effectiveDateTimedateTime S
.... effectivePeriodPeriod
.... effectiveTimingTiming
... issued Σ0..1instantDate/Time this version was made available
ele-1: All FHIR elements must have a @value or children
... performer Σ0..*Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | RelatedPerson)Who is responsible for the observation
ele-1: All FHIR elements must have a @value or children
... value[x] Σ0..1Actual result
ele-1: All FHIR elements must have a @value or children
.... valueQuantityQuantity
.... valueCodeableConceptCodeableConcept
.... valueStringstring
.... valueBooleanboolean
.... valueIntegerinteger
.... valueRangeRange
.... valueRatioRatio
.... valueSampledDataSampledData
.... valueTimetime
.... valueDateTimedateTime
.... valuePeriodPeriod
... dataAbsentReason 0..1CodeableConceptWhy the result is missing
Binding: ?? (extensible): Codes specifying why the result (Observation.value[x]) is missing.


ele-1: All FHIR elements must have a @value or children
... interpretation 0..*CodeableConceptHigh, low, normal, etc.
Binding: ?? (extensible): Codes identifying interpretations of observations.


ele-1: All FHIR elements must have a @value or children
... method 0..1CodeableConceptHow it was done
Binding: ?? (example): Methods for simple observations.


ele-1: All FHIR elements must have a @value or children
... referenceRange C0..*BackboneElementProvides guide for interpretation
ele-1: All FHIR elements must have a @value or children
obs-3: Must have at least a low or a high or text
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... low 0..1??Low Range, if relevant
ele-1: All FHIR elements must have a @value or children
.... high 0..1??High Range, if relevant
ele-1: All FHIR elements must have a @value or children
.... type 0..1CodeableConceptReference range qualifier
Binding: ?? (preferred): Code for the meaning of a reference range.


ele-1: All FHIR elements must have a @value or children
.... appliesTo 0..*CodeableConceptReference range population
Binding: ?? (example): Codes identifying the population the reference range applies to.


ele-1: All FHIR elements must have a @value or children
.... age 0..1RangeApplicable age range, if relevant
ele-1: All FHIR elements must have a @value or children
.... text 0..1stringText based reference range in an observation
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format