description: This profile constrains Observations that represent individual Question and Answer (QA) pairs from SDOH screening instruments that are represented in LOINC. package_name: hl7.fhir.us.sdoh-clinicalcare derivation: constraint name: SDOHCC_Observation_ScreeningResponseBase_1 type: Observation elements: category: array: true min: 2 index: 1 slicing: rules: open discriminator: - {path: $this, type: pattern} min: 2 slices: SocialHistory: match: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} _required: true index: 2 min: 1 max: 1 Survey: match: coding: - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} schema: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: survey, system: 'http://terminology.hl7.org/CodeSystem/observation-category'} _required: true index: 3 min: 1 max: 1 SDOHDomain: match: {} schema: short: e.g., food-insecurity-domain | transportation-insecurity-domain binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/sdoh-clinicalcare/ValueSet/SDOHCC-ValueSet-SDOHDomain-1'} mustSupport: true index: 4 referenceRange: {index: 24} derivedFrom: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse'] index: 25 slicing: rules: open discriminator: - {path: resolve(), type: profile} min: null slices: SupportedDerivedFrom: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Observation-ScreeningResponseBase-1', 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse'] index: 26 interpretation: {index: 21} specimen: {index: 23} value: mustSupport: true choices: [valueCodeableConcept] index: 18 effective[x]: elements: start: {mustSupport: true, index: 14} end: {mustSupport: true, index: 15} required: [start, end] effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 9} status: {mustSupport: true, index: 0} effective: choices: [effectivePeriod] index: 12 slicing: slices: effectivePeriod: match: {} schema: choices: [effectivePeriod] index: 12 code: {mustSupport: true, index: 5} valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 19} bodySite: {index: 22} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 6 performer: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 16 dataAbsentReason: {mustSupport: true, index: 20} effectivePeriod: type: Period choiceOf: effective index: 13 slicing: slices: effectivePeriod: match: {} schema: {type: Period, choiceOf: effective, index: 13} package_version: 0.1.0 class: profile kind: resource url: http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Observation-ScreeningResponseBase-1 base: http://hl7.org/fhir/StructureDefinition/Observation version: 0.1.0 required: [effectiveDateTime, effectivePeriod, subject, effective]