PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.ca.baseline@1.1.6-pre
    http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient
description: Proposed constraints and extensions on the Patient Resource
package_name: hl7.fhir.ca.baseline
derivation: constraint
name: PatientProfile
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        aboriginalidentitygroup:
          match: {url: null}
          schema: {short: 'Extension: Aboriginal Identity Group', type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentitygroup', index: 1}
          min: 0
          max: 1
        aboriginalidentityindicator:
          match: {url: null}
          schema: {short: 'Extension: Aboriginal Identity Indicator', type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentityindicator', index: 2}
          min: 0
          max: 1
        birthsex:
          match: {url: null}
          schema: {short: 'Extension: Sex at Birth', type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex', index: 3}
          min: 0
          max: 1
        ethnicity:
          match: {url: null}
          schema: {isModifier: false, short: 'Extension: ethnicity extension', type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-ethnicity', index: 4}
          min: 0
          max: 1
  identifier:
    type: Identifier
    index: 5
    elements:
      type: {index: 6}
      system: {isModifier: false, index: 7}
      value: {short: The value that is unique within the system., isModifier: false, index: 8}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 0
      slices:
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Jurisdictional Health Number
            index: 9
            extensions:
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, short: Health Number Version Code, index: 11}
            elements:
              extension:
                index: 10
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    versionCode:
                      match: {url: null}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 11}
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 12
              system: {short: A Health Number Naming System from the Canadian URI Registry, index: 13}
              value: {index: 14}
            required: [value, type, system]
  name:
    constraint:
      ca-baseline-name: {human: Patient.name.given  or Patient.name.family or both SHALL be present, severity: error, expression: family.exists() or given.exists()}
    mustSupport: true
    index: 15
    elements:
      family: {index: 16}
      given: {index: 17}
  telecom:
    index: 18
    elements:
      system: {index: 19}
      value: {index: 20}
    required: [value, system]
  birthDate: {mustSupport: true, index: 21}
  address:
    index: 22
    extensions:
      preferred: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', min: 0, max: 1, type: Extension, short: HL7 Preferred Address Flag extension, index: 24}
      noFixedAddress: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-nofixedaddress', min: 0, max: 1, type: Extension, short: No Fixed Address indicator, index: 25}
    elements:
      extension:
        index: 23
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            preferred:
              match: {url: null}
              schema: {type: Extension, short: HL7 Preferred Address Flag extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-preferred', index: 24}
              min: 0
              max: 1
            noFixedAddress:
              match: {url: null}
              schema: {type: Extension, short: No Fixed Address indicator, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-nofixedaddress', index: 25}
              min: 0
              max: 1
package_version: 1.1.6-pre
extensions:
  aboriginalidentitygroup: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentitygroup', min: 0, max: 1, short: 'Extension: Aboriginal Identity Group', type: Extension, mustSupport: false, index: 1}
  aboriginalidentityindicator: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-aboriginalidentityindicator', min: 0, max: 1, short: 'Extension: Aboriginal Identity Indicator', type: Extension, mustSupport: false, index: 2}
  birthsex: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-patientbirthsex', min: 0, max: 1, short: 'Extension: Sex at Birth', type: Extension, mustSupport: false, index: 3}
  ethnicity: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-ethnicity', min: 0, max: 1, isModifier: false, short: 'Extension: ethnicity extension', type: Extension, mustSupport: false, index: 4}
class: profile
kind: resource
url: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0