description: This profile constrains the Observation resource for use related to Social Determinants of Health observations that involve assessments conducted along the client journey. package_name: ca.on.oh.mha-pds derivation: constraint name: ObservationSexualOrientation abstract: true type: Observation elements: category: mustSupport: true index: 2 elements: coding: index: 3 elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'} mustSupport: true index: 4 code: pattern: {type: Code, value: social-history} mustSupport: true index: 5 display: pattern: {type: String, value: Social History} mustSupport: true index: 6 required: [display, system, code] required: [coding] value[x]: elements: coding: index: 20 elements: system: {mustSupport: true, index: 21} code: {mustSupport: true, index: 22} display: {mustSupport: true, index: 23} required: [display, system, code] required: [coding] meta: mustSupport: true index: 0 elements: profile: {mustSupport: true, index: 1} required: [profile] encounter: type: Reference refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-encounter'] index: 12 value: mustSupport: true choices: [valueCodeableConcept] index: 18 effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 15} effective: mustSupport: true choices: [effectiveDateTime] index: 14 code: binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/sdohObservationCode'} mustSupport: true index: 7 elements: coding: elements: system: pattern: {type: Uri, value: 'http://loinc.org'} mustSupport: true index: 8 code: pattern: {type: Code, value: 76690-7} mustSupport: true index: 9 display: pattern: {type: String, value: Sexual Orientation} mustSupport: true index: 10 required: [display, system, code] valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 19} subject: type: Reference mustSupport: true refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient'] index: 11 performer: type: Reference refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/StructureDefinition/careteam', 'http://hl7.org/fhir/StructureDefinition/practitioner', 'http://hl7.org/fhir/StructureDefinition/practitionerrole'] index: 16 package_version: 0.9.0-alpha-1.9.4 class: profile kind: resource url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-observation-sexual-orientation base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0 required: [value, subject, valueCodeableConcept, meta, category]