PackagesCanonicalsLogsProblems
    Packages
    pcr.r4.1@1-0-pkg-1.2.5
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-matchreq-profile-Patient
description: This is the patient profile used in EMPI Match request.
package_name: pcr.r4.1
derivation: constraint
name: PCRPatientMatchReq
type: Patient
elements:
  id: {short: Logical id of this artifact. Contain the PCR enterprise client id, index: 0}
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-matchreq-profile-Patient|2.0.0'}
        index: 2
      security:
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'}
            index: 4
          code: {short: N|R, index: 5}
          display: {short: normal or restricted, index: 6}
        required: [display, system]
      tag: {index: 7}
    required: [profile]
  identifier:
    mustSupport: true
    index: 8
    elements:
      type:
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-patient-identifier-type'}
        mustSupport: true
        index: 9
        elements:
          coding:
            mustSupport: true
            index: 10
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                mustSupport: true
                index: 11
              code: {mustSupport: true, index: 12}
            required: [system, code]
          text: {mustSupport: true, index: 13}
        required: [coding, text]
      system: {mustSupport: true, index: 14}
      value: {mustSupport: true, index: 15}
    required: [value, type, system]
  name:
    mustSupport: true
    index: 16
    elements:
      use:
        pattern: {type: Code, value: official}
        mustSupport: true
        index: 17
      family: {mustSupport: true, index: 18}
      given:
        mustSupport: true
        index: 19
        slicing:
          rules: open
          description: by extension('http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier')
          discriminator:
          - {path: 'extension(''http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier'')', type: exists}
          min: null
          slices:
            given-first:
              match: {}
              schema:
                mustSupport: true
                index: 20
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 22}
                elements:
                  extension:
                    index: 21
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', index: 22}
                          min: 0
                          max: 0
            given-middle:
              match: {}
              schema:
                mustSupport: true
                index: 23
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    mustSupport: true
                    index: 25
                    elements:
                      value:
                        choices: []
                        index: 27
                        slicing:
                          rules: closed
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                choices: []
                                index: 29
                elements:
                  extension:
                    index: 24
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: EN-qualifier
                            mustSupport: true
                            url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 25
                            elements:
                              value:
                                choices: []
                                index: 27
                                slicing:
                                  rules: closed
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: MID}
                                        mustSupport: true
                                        choices: []
                                        index: 29
                required: [extension]
      prefix: {mustSupport: true, index: 30}
      suffix:
        mustSupport: true
        index: 31
        slicing:
          rules: open
          discriminator:
          - {path: 'extension(''http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier'')', type: exists}
          min: null
          slices:
            suffix-regular:
              match: {}
              schema:
                mustSupport: true
                index: 32
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 34}
                elements:
                  extension:
                    index: 33
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 0
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', index: 34}
                          min: 0
                          max: 0
            suffix-academic:
              match: {}
              schema:
                mustSupport: true
                index: 35
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    index: 37
                    elements:
                      value:
                        choices: []
                        index: 39
                        slicing:
                          rules: closed
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                mustSupport: true
                                choices: []
                                index: 41
                elements:
                  extension:
                    index: 36
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: EN-qualifier
                            url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 37
                            elements:
                              value:
                                choices: []
                                index: 39
                                slicing:
                                  rules: closed
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        mustSupport: true
                                        choices: []
                                        index: 41
                required: [extension]
    required: [use]
  telecom:
    mustSupport: true
    array: true
    max: 10
    index: 42
    elements:
      system:
        short: phone | email
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-contact-point-system'}
        mustSupport: true
        index: 43
      value: {mustSupport: true, index: 44}
      use:
        short: home | work | temp | mobile - purpose of this contact point
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-contact-point-use'}
        mustSupport: true
        index: 45
    required: [value, system, use]
  gender: {short: male | female | unknown | other, mustSupport: true, index: 46}
  birthDate: {mustSupport: true, index: 47}
  address:
    mustSupport: true
    array: true
    max: 10
    index: 48
    elements:
      use:
        short: home | temp - purpose of this address
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-address-use'}
        mustSupport: true
        index: 49
      type:
        short: postal | physical
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/address-type'}
        mustSupport: true
        index: 50
      line: {mustSupport: true, array: true, max: 4, index: 51}
      city: {mustSupport: true, index: 52}
      state:
        short: Codes for provinces, states and territories supported by eHealth Ontario PCR and PPR interface
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/province-state-code'}
        mustSupport: true
        index: 53
      postalCode: {mustSupport: true, index: 54}
      country:
        short: 3-character ISO country codes for use in addresses by eHealth Ontario
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 55
    required: [type, use]
package_version: 1-0-pkg-1.2.5
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-matchreq-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.0.0
required: [meta]