PackagesCanonicalsLogsProblems
    Packages
    ca.on.olis.r4@2.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Patient
description: Demographics and other administrative information about an individual receiving care or other health-related services.
package_name: ca.on.olis.r4
derivation: constraint
name: Patient
type: Patient
elements:
  address:
    mustSupport: true
    index: 39
    elements:
      use:
        short: home | work  - purpose of this address
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-address-use'}
        mustSupport: true
        index: 40
      type: {short: postal | physical, mustSupport: true, index: 41}
      line: {mustSupport: true, index: 42}
      city: {mustSupport: true, index: 43}
      state:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/province-state-code'}
        mustSupport: true
        index: 44
      postalCode: {mustSupport: true, index: 45}
      country:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 46
    required: [country, city, line]
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Patient|2.0.0'}
        index: 2
    required: [profile]
  name:
    mustSupport: true
    index: 17
    elements:
      use: {mustSupport: true, index: 18}
      family: {mustSupport: true, index: 19}
      given:
        mustSupport: true
        array: true
        index: 20
        elements:
          id: {mustSupport: false, index: 21}
        slicing:
          rules: open
          description: Middle name
          discriminator:
          - {path: extension.url, type: value}
          min: 0
          slices:
            given-first:
              match:
                extension: {url: null}
              schema: {mustSupport: true, index: 22}
              max: 1
            given-middle:
              match:
                extension: {url: null}
              schema:
                pattern: {type: String, value: MID}
                mustSupport: true
                index: 23
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    mustSupport: true
                    index: 25
                    elements:
                      id: {mustSupport: true, index: 26}
                      value:
                        choices: []
                        index: 28
                        slicing:
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                choices: []
                                index: 30
                elements:
                  extension:
                    index: 24
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 25
                            elements:
                              id: {mustSupport: true, index: 26}
                              value:
                                choices: []
                                index: 28
                                slicing:
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: MID}
                                        mustSupport: true
                                        choices: []
                                        index: 30
                required: [extension]
      prefix: {mustSupport: true, index: 31}
      suffix: {mustSupport: true, index: 32}
    required: [family, use]
  birthDate: {mustSupport: true, index: 38}
  id: {mustSupport: true, index: 0}
  identifier:
    short: An identifier for this patient which can be Ontario HCN or Lab MRN
    mustSupport: true
    index: 3
    elements:
      type:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-patient-identifier-type'}
        mustSupport: true
        index: 4
        elements:
          coding:
            mustSupport: true
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                mustSupport: true
                index: 6
              code: {mustSupport: true, index: 7}
            required: [system, code]
          text: {mustSupport: true, index: 8}
        required: [coding]
      system: {mustSupport: true, index: 9}
      value:
        mustSupport: true
        index: 10
        extensions:
          healthCardVersionCode:
            url: http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code
            type: Extension
            index: 12
            elements:
              value:
                choices: []
                index: 14
                slicing:
                  rules: open
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: []
                        index: 16
        elements:
          extension:
            index: 11
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: 0
              slices:
                healthCardVersionCode:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://ehealthontario.ca/fhir/StructureDefinition/ext-id-health-card-version-code
                    index: 12
                    elements:
                      value:
                        choices: []
                        index: 14
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                index: 16
    required: [value, type, system]
  telecom:
    mustSupport: true
    index: 33
    elements:
      system:
        short: phone | fax | email | pager
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-contact-point-system'}
        mustSupport: true
        index: 34
      value: {mustSupport: true, index: 35}
      use:
        short: home | work | temp |mobile - purpose of this contact point
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-contact-point-use'}
        mustSupport: true
        index: 36
    required: [value]
  gender:
    short: male | female | unknown
    binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-administrative-gender'}
    mustSupport: true
    index: 37
  contact:
    mustSupport: true
    index: 47
    elements:
      relationship:
        mustSupport: true
        index: 48
        elements:
          coding:
            mustSupport: true
            index: 49
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                mustSupport: true
                index: 50
              code:
                pattern: {type: Code, value: C}
                mustSupport: true
                index: 51
              display:
                pattern: {type: String, value: Emergency Contact}
                mustSupport: true
                index: 52
            required: [display, system, code]
        required: [coding]
      telecom:
        short: Emergency contact number
        mustSupport: true
        index: 53
        elements:
          system:
            short: phone | fax | email | pager
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-contact-point-system'}
            mustSupport: true
            index: 54
          value: {mustSupport: true, index: 55}
          use:
            short: home | work | temp | mobile - purpose of this contact point
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-contact-point-use'}
            mustSupport: true
            index: 56
        required: [value]
      address:
        short: address of patient's emergency contact
        mustSupport: true
        index: 57
        elements:
          use:
            short: home | work | - purpose of this address
            binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/ca-on-lab-address-use'}
            mustSupport: true
            index: 58
          type: {mustSupport: true, index: 59}
          line: {mustSupport: true, index: 60}
          city: {mustSupport: true, index: 61}
          state: {mustSupport: true, index: 62}
          postalCode: {mustSupport: true, index: 63}
          country: {mustSupport: true, index: 64}
        required: [country, city, line]
    required: [relationship]
package_version: 2.0.1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.0.0
required: [id, identifier, meta]