PackagesCanonicalsLogsProblems
    Packages
    fhir.ca@bc.client-1.0.1
    http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-patient
description: General constraints on the Patient resource for use in the BC Client Registry project.
package_name: fhir.ca
derivation: constraint
name: ClientRegistryPatient
type: Patient
elements:
  address:
    mustSupport: true
    index: 28
    extensions:
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 29}
      validationStatus: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-validation-status-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 30}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension
        index: 29
        slicing:
          slices:
            sourceID:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 29}
              min: 0
              max: 1
            validationStatus:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-validation-status-extension', index: 30}
              min: 0
              max: 1
      type: {short: postal | physical, index: 31}
  deceasedDateTime: {type: dateTime, mustSupport: true, choiceOf: deceased, index: 22}
  name:
    extensions:
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 5}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension
        index: 5
        slicing:
          slices:
            sourceID:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 5}
              min: 0
              max: 1
      use:
        short: usual | official | nickname
        binding: {strength: required, valueSet: 'https://terminology.hlth.gov.bc.ca/ClientRegistry/ValueSet/bc-name-use-value-set'}
        index: 6
  birthDate:
    extensions:
      birthDateEffectiveDates: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', min: 0, max: 1, type: Extension, index: 17}
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 18}
      history: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-birthdate-history-extension', min: 0, type: Extension, mustSupport: true, index: 19}
    elements:
      extension:
        index: 16
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            birthDateEffectiveDates:
              match: {url: null}
              schema: {type: Extension, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', index: 17}
              min: 0
              max: 1
            sourceID:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 18}
              min: 0
              max: 1
            history:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-birthdate-history-extension', index: 19}
              min: 0
  deceased:
    mustSupport: true
    choices: [deceasedDateTime]
    index: 21
  extension:
    type: Extension
    mustSupport: true
    url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension
    index: 0
    slicing:
      slices:
        patientEffectiveDates:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', index: 0}
          min: 0
          max: 1
  deceased[x]:
    extensions:
      deathDateEffectiveDates: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 24}
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 25}
      deathDateHistory: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-death-date-history-extension', min: 0, type: Extension, mustSupport: true, index: 26}
      verifiedDeathFlag: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-death-verified-flag-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 27}
    elements:
      extension:
        index: 23
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            deathDateEffectiveDates:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', index: 24}
              min: 0
              max: 1
            sourceID:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 25}
              min: 0
              max: 1
            deathDateHistory:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-death-date-history-extension', index: 26}
              min: 0
            verifiedDeathFlag:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-death-verified-flag-extension', index: 27}
              min: 0
              max: 1
  link:
    mustSupport: true
    index: 35
    extensions:
      mergeStatus: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-status-extension', min: 0, type: Extension, mustSupport: true, index: 36}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-status-extension
        index: 36
        slicing:
          slices:
            mergeStatus:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-merge-status-extension', index: 36}
              min: 0
  identifier:
    mustSupport: true
    index: 1
    extensions:
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 2}
      idStatus: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-identifier-status-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension
        index: 2
        slicing:
          slices:
            sourceID:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 2}
              min: 0
              max: 1
            idStatus:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-identifier-status-extension', index: 3}
              min: 0
              max: 1
    slicing:
      slices:
        JHN:
          match: {}
          schema: {type: Identifier, index: 4}
  telecom:
    mustSupport: true
    index: 7
    extensions:
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 8}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension
        index: 8
        slicing:
          slices:
            sourceID:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 8}
              min: 0
              max: 1
      system:
        short: phone | email
        binding: {strength: required, valueSet: 'https://terminology.hlth.gov.bc.ca/ClientRegistry/ValueSet/bc-contact-point-system-value-set'}
        index: 9
      use:
        short: home | work | mobile
        binding: {strength: required, valueSet: 'https://terminology.hlth.gov.bc.ca/ClientRegistry/ValueSet/bc-contact-point-use-value-set'}
        index: 10
  gender:
    mustSupport: true
    index: 11
    extensions:
      genderEffectiveDates: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 13}
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 14}
      history: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension', min: 0, type: Extension, mustSupport: true, index: 15}
    elements:
      extension:
        index: 12
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            genderEffectiveDates:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', index: 13}
              min: 0
              max: 1
            sourceID:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 14}
              min: 0
              max: 1
            history:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-gender-history-extension', index: 15}
              min: 0
  multipleBirth[x]:
    extensions:
      multipleBirthEffectiveDates: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 32}
      sourceID: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 33}
      history: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-multiplebirth-history-extension', min: 0, type: Extension, mustSupport: true, index: 34}
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension
        index: 32
        slicing:
          slices:
            multipleBirthEffectiveDates:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', index: 32}
              min: 0
              max: 1
            sourceID:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-sourceId-extension', index: 33}
              min: 0
              max: 1
            history:
              match: {}
              schema: {type: Extension, mustSupport: true, url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-multiplebirth-history-extension', index: 34}
              min: 0
package_version: bc.client-1.0.1
extensions:
  patientEffectiveDates: {url: 'http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-business-period-extension', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hlth.gov.bc.ca/fhir/client/StructureDefinition/bc-patient
base: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient
version: 1.0.0