PackagesCanonicalsLogsProblems
    Packages
    ca.on.pcr.r4@1.0.0-draft1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-matchreq-profile-Patient
description: This is the patient profile used in EMPI Match request.
package_name: ca.on.pcr.r4
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'}
        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://ontariohealth.ca/fhir/pcr/ValueSet/pcr-patient-identifier-type'}
        mustSupport: true
        index: 9
        elements:
          coding:
            mustSupport: true
            index: 10
            elements:
              system: {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
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      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
                    mustSupport: true
                    index: 25
                    elements:
                      value:
                        pattern: {type: Code, value: MID}
                        mustSupport: true
                        choices: []
                        index: 27
                elements:
                  extension:
                    index: 24
                    slicing:
                      rules: open
                      ordered: false
                      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:
                              value:
                                pattern: {type: Code, value: MID}
                                mustSupport: true
                                choices: []
                                index: 27
                required: [extension]
      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
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 32}
                elements:
                  extension:
                    index: 31
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', index: 32}
                          min: 0
                          max: 0
            suffix-academic:
              match: {}
              schema:
                mustSupport: true
                index: 33
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    index: 35
                    elements:
                      value:
                        pattern: {type: Code, value: AC}
                        mustSupport: true
                        choices: []
                        index: 37
                elements:
                  extension:
                    index: 34
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: 1
                      slices:
                        EN-qualifier:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 35
                            elements:
                              value:
                                pattern: {type: Code, value: AC}
                                mustSupport: true
                                choices: []
                                index: 37
                required: [extension]
    required: [use]
  telecom:
    mustSupport: true
    array: true
    max: 10
    index: 38
    elements:
      system:
        short: phone | email
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-contact-point-system'}
        mustSupport: true
        index: 39
      value: {mustSupport: true, index: 40}
      use:
        short: home | work | temp | mobile - purpose of this contact point
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-contact-point-use'}
        mustSupport: true
        index: 41
    required: [value, system, use]
  gender: {short: male | female | unknown | other, mustSupport: true, index: 42}
  birthDate: {mustSupport: true, index: 43}
  address:
    mustSupport: true
    array: true
    max: 10
    index: 44
    elements:
      use:
        short: home | temp - purpose of this address
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-address-use'}
        mustSupport: true
        index: 45
      type:
        short: postal | physical
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/address-type'}
        mustSupport: true
        index: 46
      line: {mustSupport: true, array: true, max: 4, index: 47}
      city: {mustSupport: true, index: 48}
      state:
        short: Codes for provinces, states and territories supported by eHealth Ontario PCR and PPR interface
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/province-state-code'}
        mustSupport: true
        index: 49
      postalCode: {mustSupport: true, index: 50}
      country:
        short: 3-character ISO country codes for use in addresses by eHealth Ontario
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
        mustSupport: true
        index: 51
    required: [type, use]
package_version: 1.0.0-draft1
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]