PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.setp-development@1.1.0
    http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient
description: Demographics and other administrative information about an individual or animal receiving care or other health-related services.
package_name: ca.on.oh.setp-development
derivation: constraint
name: PCarePatient
type: Patient
elements:
  address:
    index: 53
    elements:
      use: {index: 54}
      type: {index: 55}
      text: {index: 56}
      line: {index: 57}
      city: {index: 58}
      state: {index: 59}
      postalCode: {index: 60}
      country: {index: 61}
  meta:
    index: 0
    elements:
      profile: {index: 1}
  name:
    index: 38
    elements:
      use: {index: 39}
      text:
        constraint:
          pcare-pat-1: {human: 'Patient.name.text value should not exceed 200 characters for AB:eReC and PS-AB compatibility.', source: 'http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient', severity: warning, expression: length() <= 200}
        index: 40
      family: {index: 41}
      given: {index: 42}
      prefix: {index: 43}
      suffix: {index: 44}
  birthDate: {index: 52}
  extension:
    short: Extension for representing an individuals recorded sex or gender.
    index: 2
    slicing:
      slices:
        recordedSexOrGender:
          match: {}
          schema:
            short: Extension for representing an individuals recorded sex or gender.
            index: 2
            extensions:
              value:
                url: null
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
              type:
                url: null
                index: 7
                elements:
                  value:
                    choices: []
                    index: 9
            elements:
              extension:
                index: 3
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 4
                        elements:
                          value:
                            choices: []
                            index: 6
                    type:
                      match: {}
                      schema:
                        index: 7
                        elements:
                          value:
                            choices: []
                            index: 9
            required: [extension]
  communication:
    elements:
      language:
        index: 85
        elements:
          coding:
            elements:
              system: {index: 86}
              code: {index: 87}
              display: {index: 88}
      preferred: {index: 89}
  identifier:
    index: 10
    extensions:
      ReasonForNoHCN:
        url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-reason-for-no-hcn
        type: Extension
        index: 11
        elements:
          value:
            choices: []
            index: 13
          value[x]:
            elements:
              coding:
                index: 14
                elements:
                  system: {index: 15}
                  code: {index: 16}
                  display: {index: 17}
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, type: Extension, index: 18}
    elements:
      extension:
        type: Extension
        url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-reason-for-no-hcn
        index: 11
        slicing:
          slices:
            ReasonForNoHCN:
              match: {}
              schema:
                type: Extension
                url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-reason-for-no-hcn
                index: 11
                elements:
                  value:
                    choices: []
                    index: 13
                  value[x]:
                    elements:
                      coding:
                        index: 14
                        elements:
                          system: {index: 15}
                          code: {index: 16}
                          display: {index: 17}
            data-absent-reason:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 18}
              min: 0
      type:
        index: 19
        elements:
          text: {index: 20}
      system: {index: 21}
      value: {short: The value that is unique within the system., index: 22}
    slicing:
      slices:
        JHN:
          match: {}
          schema:
            index: 23
            extensions:
              versionCode: {url: null, index: 24}
            elements:
              extension:
                index: 24
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {index: 24}
              type:
                index: 25
                elements:
                  coding:
                    index: 26
                    elements:
                      system: {index: 27}
                      code: {index: 28}
              system: {index: 29}
              value: {index: 30}
        MRN:
          match: {}
          schema:
            index: 31
            elements:
              type:
                index: 32
                elements:
                  coding:
                    index: 33
                    elements:
                      system: {index: 34}
                      code: {index: 35}
              system: {index: 36}
              value: {index: 37}
  telecom:
    index: 45
    elements:
      system: {index: 46}
      value: {index: 47}
      use: {index: 48}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: pattern}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            array: true
            index: 49
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 50
            required: [system]
  generalPractitioner:
    elements:
      reference: {index: 90}
      identifier:
        index: 91
        elements:
          system: {index: 92}
          value: {index: 93}
  gender: {index: 51}
  contact:
    index: 62
    elements:
      relationship:
        index: 63
        elements:
          coding:
            index: 64
            elements:
              system: {index: 65}
              code: {index: 66}
              display:
                index: 67
                extensions:
                  translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation', min: 0, type: Extension, short: Language Translation (Localization), index: 69}
                elements:
                  extension:
                    index: 68
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        translation:
                          match: {url: null}
                          schema: {type: Extension, short: Language Translation (Localization), url: 'http://hl7.org/fhir/StructureDefinition/translation', index: 69}
                          min: 0
          text: {index: 70}
      name:
        index: 71
        elements:
          use: {index: 72}
          family: {index: 73}
          given: {index: 74}
          prefix: {index: 75}
          suffix: {index: 76}
      telecom: {index: 77}
      address:
        index: 78
        elements:
          use: {index: 79}
          line: {index: 80}
          city: {index: 81}
          state: {index: 82}
          postalCode: {index: 83}
          country: {index: 84}
package_version: 1.1.0
extensions:
  recordedSexOrGender:
    url: null
    short: Extension for representing an individuals recorded sex or gender.
    index: 2
    extensions:
      value:
        url: null
        index: 4
        elements:
          value:
            choices: []
            index: 6
      type:
        url: null
        index: 7
        elements:
          value:
            choices: []
            index: 9
    elements:
      extension:
        index: 3
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 4
                elements:
                  value:
                    choices: []
                    index: 6
            type:
              match: {}
              schema:
                index: 7
                elements:
                  value:
                    choices: []
                    index: 9
    required: [extension]
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/patient
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
version: 0.1.0
required: [name]