PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.mha.pds@2.0.0-alpha-preview-0.1
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Observation-born-in-canada
description: null
package_name: ca.on.oh.mha.pds
derivation: constraint
name: ObservationBornInCanada
type: Observation
elements:
  category:
    mustSupport: true
    index: 1
    elements:
      coding:
        mustSupport: true
        index: 2
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            mustSupport: true
            index: 3
          code:
            pattern: {type: Code, value: social-history}
            mustSupport: true
            index: 4
          display:
            pattern: {type: String, value: Social History}
            mustSupport: true
            index: 5
        required: [display, system, code]
    required: [coding]
  value:
    mustSupport: true
    choices: [valueBoolean]
    index: 17
  valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 18}
  component:
    mustSupport: true
    index: 24
    elements:
      code:
        mustSupport: true
        index: 25
        elements:
          coding: {mustSupport: true, index: 26}
          text:
            pattern: {type: String, value: Arrive In Canada}
            mustSupport: true
            index: 27
        required: [coding, text]
      value:
        mustSupport: true
        choices: [valueDateTime]
        index: 29
      valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 30}
  effectiveDateTime: {type: dateTime, mustSupport: true, choiceOf: effective, index: 15}
  status: {mustSupport: true, index: 0}
  effective:
    mustSupport: true
    choices: [effectiveDateTime]
    index: 14
  code:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/sdohObservationCode|2.0.0'}
    mustSupport: true
    index: 6
    elements:
      coding:
        mustSupport: true
        index: 7
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            index: 8
          code:
            pattern: {type: Code, value: '315398004'}
            mustSupport: true
            index: 9
          display:
            pattern: {type: String, value: Born in Canada}
            mustSupport: true
            index: 10
        required: [display, system, code]
    required: [coding]
  subject:
    type: Reference
    refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Patient|2.0.0']
    index: 11
    elements:
      reference: {mustSupport: true, index: 12}
    required: [reference]
  dataAbsentReason:
    binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/ValueSet/mha-sdoh-data-absent-reason'}
    mustSupport: true
    index: 19
    elements:
      coding:
        mustSupport: true
        index: 20
        elements:
          system: {mustSupport: true, index: 21}
          code: {mustSupport: true, index: 22}
          display: {mustSupport: true, index: 23}
        required: [display, system, code]
    required: [coding]
package_version: 2.0.0-alpha-preview-0.1
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-mha-profile-Observation-born-in-canada
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.0.0
required: [effectiveDateTime, subject, category, effective]