PackagesCanonicalsLogsProblems
    Packages
    PCR.R4.1@1-0-pkg-1.1.0
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Patient
description: This is the patient profile for patient response from PCR.
package_name: PCR.R4.1
derivation: constraint
name: PCRPatientResponse
type: Patient
elements:
  address:
    short: Addresses for the individual. If multiple addresses exist, PCR will return the first 10 instances.
    mustSupport: true
    index: 55
    elements:
      use: {mustSupport: true, index: 56}
      type: {mustSupport: true, index: 57}
      line: {mustSupport: true, array: true, max: 4, index: 58}
      city: {mustSupport: true, index: 59}
      state:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/province-state-code'}
        mustSupport: true
        index: 60
      postalCode: {mustSupport: true, index: 61}
      country:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/country-code'}
        mustSupport: true
        index: 62
    required: [type, use]
  meta:
    mustSupport: true
    index: 1
    elements:
      profile:
        type: canonical
        mustSupport: true
        pattern: {type: Canonical, value: 'http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Patient|2.0.0'}
        index: 2
      security:
        mustSupport: true
        index: 3
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-Confidentiality'}
            mustSupport: true
            index: 4
          code: {short: N|R, mustSupport: true, index: 5}
          display: {short: normal or restricted, mustSupport: true, index: 6}
        required: [display, system, code]
      tag:
        index: 7
        elements:
          id: {index: 8}
          system:
            short: v3 Code System ObservationValue
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ObservationValue'}
            index: 9
          version: {index: 10}
          code:
            pattern: {type: Code, value: SUBSETTED}
            index: 11
          display:
            pattern: {type: String, value: subsetted}
            index: 12
          userSelected: {index: 13}
        required: [display, system, code]
    required: [security, profile]
  name:
    short: A name associated with the patient. If multiple names exists, PCR will return the first 20 instances
    mustSupport: true
    index: 22
    elements:
      family: {mustSupport: true, index: 23}
      given:
        mustSupport: true
        index: 24
        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: 25
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', max: 0, type: Extension, index: 27}
                elements:
                  extension:
                    index: 26
                    slicing:
                      rules: open
                      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: 27}
                          max: 0
            given-middle:
              match: {}
              schema:
                mustSupport: true
                index: 28
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    mustSupport: true
                    index: 30
                    elements:
                      value:
                        choices: []
                        index: 32
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: MID}
                                choices: []
                                index: 34
                elements:
                  extension:
                    index: 29
                    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: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 30
                            elements:
                              value:
                                choices: []
                                index: 32
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: MID}
                                        choices: []
                                        index: 34
      prefix: {mustSupport: true, index: 35}
      suffix:
        mustSupport: true
        index: 36
        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: 37
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', max: 0, type: Extension, index: 39}
                elements:
                  extension:
                    index: 38
                    slicing:
                      rules: open
                      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: 39}
                          max: 0
            suffix-academic:
              match: {}
              schema:
                index: 40
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    short: EN-qualifier
                    mustSupport: true
                    index: 42
                    elements:
                      value:
                        choices: []
                        index: 44
                        slicing:
                          rules: open
                          discriminator:
                          - {path: $this, type: type}
                          min: null
                          slices:
                            valueCode:
                              match: {}
                              schema:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 46
                elements:
                  extension:
                    index: 41
                    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: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                            index: 42
                            elements:
                              value:
                                choices: []
                                index: 44
                                slicing:
                                  rules: open
                                  discriminator:
                                  - {path: $this, type: type}
                                  min: null
                                  slices:
                                    valueCode:
                                      match: {}
                                      schema:
                                        pattern: {type: Code, value: AC}
                                        choices: []
                                        index: 46
  birthDate: {mustSupport: true, index: 52}
  multipleBirth:
    mustSupport: true
    choices: []
    index: 64
  deceased:
    mustSupport: true
    choices: []
    index: 54
  communication:
    mustSupport: true
    index: 74
    elements:
      language:
        binding: {strength: extensible, valueSet: 'http://ehealthontario.ca/fhir/ValueSet/human-language'}
        mustSupport: true
        index: 75
        elements:
          coding:
            mustSupport: true
            index: 76
            elements:
              system:
                pattern: {type: Uri, value: 'urn:ietf:bcp:47'}
                mustSupport: true
                index: 77
              code: {mustSupport: true, index: 78}
              display: {mustSupport: true, index: 79}
            required: [system, code]
        required: [coding]
      preferred: {mustSupport: true, index: 80}
  id: {short: Logical id of this artifact. Contain the PCR enterprise client id, index: 0}
  identifier:
    type: Identifier
    mustSupport: true
    index: 14
    elements:
      type:
        mustSupport: true
        index: 15
        elements:
          coding:
            mustSupport: true
            index: 16
            elements:
              system: {mustSupport: true, index: 17}
              code: {mustSupport: true, index: 18}
          text: {mustSupport: true, index: 19}
      system: {mustSupport: true, index: 20}
      value: {mustSupport: true, index: 21}
  telecom:
    short: A contact detail for the individual. If multiple telecom exists, PCR will return the first 10 instances.
    mustSupport: true
    index: 47
    elements:
      system: {short: phone | fax | email | pager | other, mustSupport: true, index: 48}
      value: {mustSupport: true, index: 49}
      use: {mustSupport: true, index: 50}
    required: [value, system, use]
  gender: {short: male | female | unknown, mustSupport: true, index: 51}
  contact:
    mustSupport: true
    index: 65
    elements:
      relationship:
        mustSupport: true
        index: 66
        elements:
          coding:
            pattern:
              type: Coding
              value: {code: C, system: 'http://terminology.hl7.org/CodeSystem/v2-0131', display: Emergency Contact}
            mustSupport: true
            index: 67
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0131'}
                mustSupport: true
                index: 68
              code:
                pattern: {type: Code, value: C}
                mustSupport: true
                index: 69
              display:
                pattern: {type: String, value: Emergency Contact}
                mustSupport: true
                index: 70
            required: [display, system, code]
        required: [coding]
      telecom:
        mustSupport: true
        index: 71
        elements:
          system: {mustSupport: true, index: 72}
          value: {mustSupport: true, index: 73}
        required: [value, system]
    required: [relationship, telecom]
package_version: 1-0-pkg-1.1.0
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 2.0.0
required: [id, gender, name, identifier, meta]