PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha.pds@2.0.0-alpha-preview
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-Observation-citizenship-status
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: ObservationCitizenshipStatusV2Draft
abstract: true
type: Observation
elements:
  category:
    mustSupport: true
    index: 5
    elements:
      coding:
        mustSupport: true
        index: 6
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            mustSupport: true
            index: 7
          code:
            pattern: {type: Code, value: social-history}
            mustSupport: true
            index: 8
          display:
            pattern: {type: String, value: Social History}
            mustSupport: true
            index: 9
        required: [display, system, code]
    required: [coding]
  value[x]:
    elements:
      coding:
        mustSupport: true
        index: 23
        elements:
          system: {mustSupport: true, index: 24}
          code: {mustSupport: true, index: 25}
          display: {mustSupport: true, index: 26}
        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-citizenship-status'}
        index: 1
    required: [profile]
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 21
  extension:
    type: Extension
    isModifier: false
    mustSupport: true
    url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada-v2-draft
    index: 2
    slicing:
      slices:
        bornInCanadaV2Draft:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada-v2-draft', index: 2}
        ArrivedInCanada:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', index: 3}
          max: 1
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 19}
  status: {mustSupport: true, index: 4}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 18
  code:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/sdohObservationCode'}
    mustSupport: true
    index: 10
    elements:
      coding:
        mustSupport: true
        index: 11
        elements:
          system:
            pattern: {type: Uri, value: 'http://loinc.org'}
            mustSupport: true
            index: 12
          code:
            pattern: {type: Code, value: 69433-1}
            mustSupport: true
            index: 13
          display:
            pattern: {type: String, value: Citizenship Status}
            mustSupport: true
            index: 14
        required: [display, system, code]
    required: [coding]
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 22}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-patient']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
package_version: 2.0.0-alpha-preview
extensions:
  bornInCanadaV2Draft: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-bornInCanada-v2-draft', type: Extension, isModifier: false, mustSupport: true, index: 2}
  ArrivedInCanada: {url: 'http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ext-yearArrivedInCanada', max: 1, type: Extension, mustSupport: true, index: 3}
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-profile-Observation-citizenship-status
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2.0.0
required: [value, subject, valueCodeableConcept, meta, category]