Union of http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation and http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-CareExperiencePreference

This is the set of resources that conform to either of the profiles US Core Observation Sexual Orientation Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation) and ADI PtAuthored Care Experience Preference (http://hl7.org/fhir/us/pacio-adi/StructureDefinition/ADI-CareExperiencePreference). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. Observation C0..*Measurements and simple assertions
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
us-core-2: If there is no component or hasMember element then either a value[x] or a data absent reason must 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
... text S0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*Extensionleft: Additional content defined by implementations; right: Extension
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
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..1CodeableConceptleft: Sexual Orientation; right: Type of observation (code / type)
Binding: ?? (extensible): Codes identifying names of simple observations.


ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... coding Σ0..*CodingCode defined by a terminology system
ele-1: All FHIR elements must have a @value or children
.... text SΣ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... subject SΣ1..1Reference(US Core Patient Profile)Who and/or what the observation is about
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
... effective[x] SΣ0..1Clinically relevant time/time-period for observation
ele-1: All FHIR elements must have a @value or children
.... effectiveDateTimedateTime S
.... effectivePeriodPeriod
.... effectiveTimingTiming
.... effectiveInstantinstant
... 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] SΣ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
... note 0..*AnnotationComments about the observation
ele-1: All FHIR elements must have a @value or children
... bodySite 0..1CodeableConceptObserved body part
Binding: ?? (example): Codes describing anatomical locations. May include laterality.


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
... specimen 0..1Reference(Specimen)Specimen used for this observation
ele-1: All FHIR elements must have a @value or children
... device 0..1Reference(Device | DeviceMetric)(Measurement) Device
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
... hasMember Σ0..*Reference(Observation | QuestionnaireResponse | MolecularSequence)Related resource that belongs to the Observation group
ele-1: All FHIR elements must have a @value or children
... derivedFrom Σ0..*Reference(DocumentReference | ImagingStudy | Media | QuestionnaireResponse | Observation | MolecularSequence)Related measurements the observation is made from
ele-1: All FHIR elements must have a @value or children
... component Σ0..*BackboneElementComponent results
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
.... 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
.... code Σ1..1CodeableConceptType of component observation (code / type)
Binding: ?? (example): Codes identifying names of simple observations.


ele-1: All FHIR elements must have a @value or children
.... value[x] Σ0..1Actual component 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 component 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
.... referenceRange 0..*Provides guide for interpretation of component result
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format