PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha.pds@2.0.0-alpha-preview
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-Observation-number-of-people-income-supports
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: ObservationNumberOfPeopleIncomeSupportsV2
abstract: true
type: Observation
elements:
  category:
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        index: 4
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            mustSupport: true
            index: 5
          code:
            pattern: {type: Code, value: social-history}
            mustSupport: true
            index: 6
          display:
            pattern: {type: String, value: Social History}
            mustSupport: true
            index: 7
        required: [display, system, code]
    required: [coding]
  meta:
    mustSupport: true
    index: 0
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-observation-number-of-people-income-supports'}
        index: 1
    required: [profile]
  value:
    choices: [valueCodeableConcept]
    index: 26
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema:
            choices: [valueCodeableConcept]
            index: 26
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 17}
  status: {mustSupport: true, index: 2}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 16
  code:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/sdohObservationCode'}
    mustSupport: true
    index: 8
    elements:
      coding:
        mustSupport: true
        index: 9
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            mustSupport: true
            index: 10
          code:
            pattern: {type: Code, value: 86639-2}
            mustSupport: true
            index: 11
          display:
            pattern: {type: String, value: Number of People Household Income Supports}
            mustSupport: true
            index: 12
        required: [display, system, code]
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    choiceOf: value
    index: 27
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: value, index: 27}
  valueInteger:
    type: integer
    choiceOf: value
    index: 24
    slicing:
      slices:
        valueInteger:
          match: {}
          schema: {type: integer, choiceOf: value, index: 24}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
    required: [reference]
package_version: 2.0.0-alpha-preview
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-Observation-number-of-people-income-supports
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.0.0
required: [value, subject, valueCodeableConcept, meta, category, valueInteger]