PackagesCanonicalsLogsProblems
    Packages
    pcr.r4.1@1-0-pkg-1.2.4
    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: {type: Identifier, mustSupport: true, index: 8}
  name:
    mustSupport: true
    index: 9
    elements:
      use:
        pattern: {type: Code, value: official}
        mustSupport: true
        index: 10
      family: {mustSupport: true, index: 11}
      given:
        mustSupport: true
        index: 12
        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: 13
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 15}
                elements:
                  extension:
                    index: 14
                    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: 15}
                          min: 0
                          max: 0
            given-middle:
              match: {}
              schema:
                mustSupport: true
                index: 16
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    mustSupport: true
                    index: 18
                    elements:
                      value:
                        choices: []
                        index: 20
                        slicing:
                          rules: closed
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                choices: []
                                index: 22
                elements:
                  extension:
                    index: 17
                    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: 18
                            elements:
                              value:
                                choices: []
                                index: 20
                                slicing:
                                  rules: closed
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: MID}
                                        mustSupport: true
                                        choices: []
                                        index: 22
                required: [extension]
      prefix: {mustSupport: true, index: 23}
      suffix:
        mustSupport: true
        index: 24
        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: 25
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 27}
                elements:
                  extension:
                    index: 26
                    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: 27}
                          min: 0
                          max: 0
            suffix-academic:
              match: {}
              schema:
                mustSupport: true
                index: 28
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    index: 30
                    elements:
                      value:
                        choices: []
                        index: 32
                        slicing:
                          rules: closed
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                mustSupport: true
                                choices: []
                                index: 34
                elements:
                  extension:
                    index: 29
                    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: 30
                            elements:
                              value:
                                choices: []
                                index: 32
                                slicing:
                                  rules: closed
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        mustSupport: true
                                        choices: []
                                        index: 34
                required: [extension]
    required: [use]
  telecom:
    mustSupport: true
    array: true
    max: 10
    index: 35
    elements:
      system:
        short: phone | email
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-contact-point-system'}
        mustSupport: true
        index: 36
      value: {mustSupport: true, index: 37}
      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: 38
    required: [value, system, use]
  gender: {short: male | female | unknown | other, mustSupport: true, index: 39}
  birthDate: {mustSupport: true, index: 40}
  address:
    mustSupport: true
    array: true
    max: 10
    index: 41
    elements:
      use:
        short: home | temp - purpose of this address
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/pcr-address-use'}
        mustSupport: true
        index: 42
      type:
        short: postal | physical
        binding: {strength: required, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/address-type'}
        mustSupport: true
        index: 43
      line: {mustSupport: true, array: true, max: 4, index: 44}
      city: {mustSupport: true, index: 45}
      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: 46
      postalCode: {mustSupport: true, index: 47}
      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: 48
    required: [type, use]
package_version: 1-0-pkg-1.2.4
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]