description: This profile applies constraints to the Observation resource for CA Core+ to support capture of a patient’s self-reported sexual orientation in the pan-Canadian context. package_name: ca.infoway.io.core derivation: constraint name: ObservationSexualOrientation type: Observation elements: category: {type: CodeableConcept, index: 0} code: type: CodeableConcept short: Sexual Orientation pattern: type: CodeableConcept value: coding: - {code: 76690-7, system: 'http://loinc.org'} index: 1 elements: coding: elements: display: {index: 2} subject: type: Reference refers: ['http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core'] index: 3 value: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: short: Sexual Orientation choices: [valueCodeableConcept] index: 7 min: 0 max: 1 valueCodeableConcept: short: Sexual Orientation type: CodeableConcept choiceOf: value index: 8 slicing: slices: valueCodeableConcept: match: {} schema: {short: Sexual Orientation, type: CodeableConcept, choiceOf: value, index: 8} min: 0 max: 1 package_version: 1.1.0-dft-preballot class: profile kind: resource url: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/observation-sexual-orientation base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.1.0