PackagesCanonicalsLogsProblems
    Packages
    ca.on.pcr.r4@1.0.0-draft1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-pcr-profile-Patient
description: This is the patient profile for patient response from PCR.
package_name: ca.on.pcr.r4
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: 51
    elements:
      use: {mustSupport: true, index: 52}
      type: {mustSupport: true, index: 53}
      line: {mustSupport: true, array: true, max: 4, index: 54}
      city: {mustSupport: true, index: 55}
      state:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/province-state-code'}
        mustSupport: true
        index: 56
      postalCode: {mustSupport: true, index: 57}
      country:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/iso3166-1-3'}
        mustSupport: true
        index: 58
    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'}
        index: 2
      security:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-patient-security'}
        mustSupport: true
        index: 3
        elements:
          system: {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', min: 0, max: 0, type: Extension, index: 27}
                elements:
                  extension:
                    index: 26
                    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: 27}
                          min: 0
                          max: 0
            given-middle:
              match: {}
              schema:
                mustSupport: true
                index: 28
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    mustSupport: true
                    index: 30
                    elements:
                      value:
                        pattern: {type: Code, value: MID}
                        choices: []
                        index: 32
                elements:
                  extension:
                    index: 29
                    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: 30
                            elements:
                              value:
                                pattern: {type: Code, value: MID}
                                choices: []
                                index: 32
                required: [extension]
      prefix: {mustSupport: true, index: 33}
      suffix:
        mustSupport: true
        index: 34
        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: 35
                extensions:
                  EN-qualifier: {url: 'http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier', min: 0, max: 0, type: Extension, index: 37}
                elements:
                  extension:
                    index: 36
                    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: 37}
                          min: 0
                          max: 0
            suffix-academic:
              match: {}
              schema:
                mustSupport: true
                index: 38
                extensions:
                  EN-qualifier:
                    url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier
                    type: Extension
                    mustSupport: true
                    index: 40
                    elements:
                      value:
                        pattern: {type: Code, value: AC}
                        choices: []
                        index: 42
                elements:
                  extension:
                    index: 39
                    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: 40
                            elements:
                              value:
                                pattern: {type: Code, value: AC}
                                choices: []
                                index: 42
                required: [extension]
  birthDate: {mustSupport: true, index: 48}
  multipleBirth:
    mustSupport: true
    choices: []
    index: 60
  deceased:
    mustSupport: true
    choices: []
    index: 50
  communication:
    mustSupport: true
    index: 66
    elements:
      language:
        binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/human-language'}
        mustSupport: true
        index: 67
        elements:
          coding:
            mustSupport: true
            index: 68
            elements:
              system: {mustSupport: true, index: 69}
              code: {mustSupport: true, index: 70}
              display: {mustSupport: true, index: 71}
            required: [system, code]
        required: [coding]
      preferred: {mustSupport: true, index: 72}
  id: {short: Logical id of this artifact. Contain the PCR enterprise client id, index: 0}
  identifier:
    mustSupport: true
    index: 14
    elements:
      type:
        binding: {strength: required, valueSet: 'http://ontariohealth.ca/fhir/pcr/ValueSet/pcr-patient-identifier-type'}
        mustSupport: true
        index: 15
        elements:
          coding:
            mustSupport: true
            index: 16
            elements:
              system: {mustSupport: true, index: 17}
              code: {mustSupport: true, index: 18}
            required: [system, code]
          text: {mustSupport: true, index: 19}
        required: [coding, text]
      system: {mustSupport: true, index: 20}
      value: {mustSupport: true, index: 21}
    required: [value, type, system]
  telecom:
    short: A contact detail for the individual. If multiple telecom exists, PCR will return the first 10 instances.
    mustSupport: true
    index: 43
    elements:
      system: {short: phone | fax | email | pager | other, mustSupport: true, index: 44}
      value: {mustSupport: true, index: 45}
      use: {mustSupport: true, index: 46}
    required: [value, system, use]
  gender: {short: male | female | unknown, mustSupport: true, index: 47}
  contact:
    mustSupport: true
    index: 61
    elements:
      relationship:
        mustSupport: true
        pattern:
          type: CodeableConcept
          value:
            coding:
            - {code: C, system: 'http://terminology.hl7.org/CodeSystem/v2-0131', display: Emergency Contact}
        index: 62
      telecom:
        mustSupport: true
        index: 63
        elements:
          system: {mustSupport: true, index: 64}
          value: {mustSupport: true, index: 65}
        required: [value, system]
    required: [relationship, telecom]
package_version: 1.0.0-draft1
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]