PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.core@5.0.1
    http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation
description: The US Core Observation Sexual Orientation Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Sexual Orientation' requirements. this profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient to promote interoperability and adoption through common implementation.  It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile.  It provides the floor for standards development for specific uses cases.
package_name: hl7.fhir.us.core
derivation: constraint
name: USCoreObservationSexualOrientationProfile
type: Observation
elements:
  effectiveDateTime:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 5
  status:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/observation-status'}
    mustSupport: true
    index: 0
  effective:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    mustSupport: true
    choices: [effectiveDateTime, effectivePeriod, effectiveTiming, effectiveInstant]
    index: 4
  code:
    short: Sexual Orientation
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 76690-7, system: 'http://loinc.org'}
    index: 1
  effectiveTiming:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    type: Timing
    mustSupport: true
    choiceOf: effective
    index: 7
  valueCodeableConcept:
    short: Sexual Orientation
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation'}
    mustSupport: true
    index: 9
  effectiveInstant:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    type: instant
    mustSupport: true
    choiceOf: effective
    index: 8
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
    index: 2
  effectivePeriod:
    constraint:
      us-core-1: {human: Datetime must be at least to day., severity: error, expression: $this is DateTime implies $this.toString().length() >= 10}
    type: Period
    mustSupport: true
    choiceOf: effective
    index: 6
package_version: 5.0.1
class: profile
kind: resource
url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 5.0.1
required: [subject]