PackagesCanonicalsLogsProblems
    Packages
    PCR.Core.STU3@1.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/pcr-patient-matchreq
description: This is the patient profile used in EMPI Match request.
package_name: PCR.Core.STU3
derivation: constraint
name: pcr-patient-matchreq
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:
        pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/StructureDefinition/pcr-patient-response|2.0.0'}
        mustSupport: true
        index: 2
      security:
        index: 3
        elements:
          id: {index: 4}
          system:
            pattern: {type: Uri, value: 'http://hl7.org/fhir/v3/Confidentiality'}
            index: 5
          version: {index: 6}
          code: {short: N|R, index: 7}
          display: {short: normal or restricted, index: 8}
          userSelected: {index: 9}
        required: [display, system]
      tag: {index: 10}
    required: [profile]
  identifier:
    mustSupport: true
    index: 11
    elements:
      type:
        short: Symbols defined by the system
        mustSupport: true
        index: 12
        elements:
          coding:
            mustSupport: true
            index: 13
            elements:
              system:
                pattern: {type: Uri, value: 'http://hl7.org/fhir/v2/0203'}
                mustSupport: true
                index: 14
              code: {short: JHN|MR|EID|ALT, mustSupport: true, index: 15}
            required: [system, code]
          text: {mustSupport: true, index: 16}
        required: [coding, text]
      system: {mustSupport: true, index: 17}
      value: {mustSupport: true, index: 18}
    required: [value, type, system]
  name:
    mustSupport: true
    index: 19
    elements:
      use:
        pattern: {type: Code, value: official}
        mustSupport: true
        index: 20
      family: {mustSupport: true, index: 21}
      given:
        mustSupport: true
        index: 22
        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: 23}
              max: 1
            given-middle:
              match: {}
              schema:
                mustSupport: true
                index: 24
                extensions:
                  EN-qualifier:
                    url: h
                    type: Extension
                    short: EN-qualifier
                    mustSupport: true
                    index: 26
                    elements:
                      valueCode:
                        pattern: {type: Code, value: MID}
                        mustSupport: true
                        index: 27
                        slicing:
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                index: 27
                elements:
                  extension:
                    index: 25
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: EN-qualifier
                            mustSupport: true
                            url: h
                            index: 26
                            elements:
                              valueCode:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                index: 27
                                slicing:
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: MID}
                                        mustSupport: true
                                        index: 27
      prefix: {mustSupport: true, index: 28}
      suffix:
        mustSupport: true
        index: 29
        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: 30}
              max: 1
            suffix-academic:
              match: {}
              schema:
                mustSupport: true
                index: 31
                extensions:
                  EN-qualifier:
                    url: h
                    type: Extension
                    short: EN-qualifier
                    index: 33
                    elements:
                      valueCode:
                        pattern: {type: Code, value: AC}
                        mustSupport: true
                        index: 34
                        slicing:
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                mustSupport: true
                                index: 34
                elements:
                  extension:
                    index: 32
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            short: EN-qualifier
                            url: h
                            index: 33
                            elements:
                              valueCode:
                                pattern: {type: Code, value: AC}
                                mustSupport: true
                                index: 34
                                slicing:
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        mustSupport: true
                                        index: 34
    required: [use]
  telecom:
    mustSupport: true
    array: true
    max: 10
    index: 35
    elements:
      system: {short: phone | email, mustSupport: true, index: 36}
      value: {mustSupport: true, index: 37}
      use: {short: home | work | temp | mobile - purpose of this contact point, 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, mustSupport: true, index: 42}
      type: {short: postal | physical, 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', mustSupport: true, index: 46}
      postalCode: {mustSupport: true, index: 47}
      country: {short: 3-character ISO country codes for use in addresses by eHealth Ontario, mustSupport: true, index: 48}
    required: [type, use]
package_version: 1.0.1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/pcr-patient-matchreq
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.0.0
required: [meta]