PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.cda.us.ccda@3.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation
description: This observation represents the sexual orientation of the patient. Defined as:\n\n> A persons identification of their emotional, romantic, sexual, or affectional attraction to another person.\n\nThis template was informed by the HL7 Gender Harmony project.\n\nThis observation is not appropriate for recording patient gender (administrativeGender), Gender Identity (Gender Identity Observation), or birth sex (Birth Sex Observation).
package_name: rs/hl7.cda.us.ccda
derivation: constraint
name: SexualOrientationObservation
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  templateId:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        sexual-orientation-obs:
          match: {}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.501}
                type: string
                index: 2
              extension:
                pattern: {type: string, value: '2023-05-01'}
                type: string
                index: 3
            required: [extension, root]
            extensions: {}
  classCode: {index: 4}
  moodCode: {index: 5}
  code:
    index: 6
    elements:
      code:
        pattern: {type: code, value: 76690-7}
        type: code
        index: 7
      codeSystem:
        pattern: {type: string, value: 2.16.840.1.113883.6.1}
        type: string
        index: 8
    required: [code, codeSystem]
  statusCode:
    index: 9
    elements:
      code: {index: 10}
  effectiveTime:
    short: The 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.
    index: 11
    elements:
      low: {index: 12}
      high: {index: 13}
    required: [low]
  value:
    index: 14
    slicing:
      slices:
        physical-quantity:
          match: {}
          schema: {index: 15}
          max: 0
        coded:
          match: {}
          schema:
            binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.11'}
            _required: true
            index: 16
          min: 1
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/SexualOrientationObservation
base: http://hl7.org/cda/us/ccda/StructureDefinition/SocialHistoryObservation
version: 3.0.0
required: [value]