PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.sdoh-clinicalcare@3.0.0
    http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation
description: Profile for observations about the sexual orientation of an individual. For further details on this profile see [Specifications for Personal Characteristics](specifications_for_personal_characteristics.html).
package_name: hl7.fhir.us.sdoh-clinicalcare
derivation: constraint
name: SDOHCCObservationSexualOrientation
type: Observation
elements:
  category:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        PersonalCharacteristic:
          match:
            coding:
            - {code: personal-characteristic, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: personal-characteristic, system: 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes'}
            _required: true
            index: 2
          min: 1
          max: 1
  referenceRange: {index: 30}
  value[x]:
    elements:
      coding: {mustSupport: true, index: 21}
  derivedFrom:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference|7.0.0', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse|7.0.0']
    index: 31
  interpretation: {index: 26}
  method:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/sdoh-clinicalcare/ValueSet/SDOHCC-ValueSetObservationMethod'}
    mustSupport: true
    index: 28
  specimen: {index: 29}
  value:
    choices: [valueCodeableConcept]
    index: 23
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 23
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 12}
  status:
    short: final | corrected | entered-in-error | unknown
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/sdoh-clinicalcare/ValueSet/SDOHCC-ValueSetObservationStatus'}
    index: 0
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 11
  code:
    binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/observation-codes'}
    index: 3
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 24
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 24}
  bodySite: {index: 27}
  focus:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson']
    index: 9
  subject:
    type: Reference
    constraint:
      SDOH-Obs-1: {human: Either subject or extension-Observation.subject must exist but not both, source: 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation', severity: error, expression: 'reference.exists() xor extension(''http://hl7.org/fhir/StructureDefinition/alternate-reference'').exists()'}
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|7.0.0']
    index: 4
    extensions:
      subjectPractitioner:
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
        short: Alternate subject reference to a Practitioner
        type: Extension
        mustSupport: true
        index: 5
        elements:
          value:
            choices: [valueReference]
            index: 7
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0']
            index: 8
    elements:
      extension:
        short: Alternate subject reference to a Practitioner
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
        index: 5
        slicing:
          slices:
            subjectPractitioner:
              match: {}
              schema:
                short: Alternate subject reference to a Practitioner
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/alternate-reference|5.3.0
                index: 5
                elements:
                  value:
                    choices: [valueReference]
                    index: 7
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|7.0.0']
                    index: 8
  performer: {mustSupport: true, index: 14}
  dataAbsentReason: {index: 25}
  effectivePeriod: {type: Period, choiceOf: effective, index: 13}
package_version: 3.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationSexualOrientation
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation|7.0.0
version: 3.0.0
required: [method, value, valueCodeableConcept, category]