PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.pcare@0.1.0-dft-preballot
    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.infoway.io.pcare
derivation: constraint
name: PCarePatient
type: Patient
elements:
  address:
    index: 55
    elements:
      use: {index: 56}
      type: {index: 57}
      text: {index: 58}
      line: {index: 59}
      city: {index: 60}
      state: {index: 61}
      postalCode: {index: 62}
      country: {index: 63}
  meta:
    index: 0
    elements:
      profile: {index: 1}
  name:
    index: 40
    elements:
      use: {index: 41}
      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: 42
      family: {index: 43}
      given: {index: 44}
      prefix: {index: 45}
      suffix: {index: 46}
  birthDate: {index: 54}
  extension:
    index: 2
    slicing:
      slices:
        recordedSexOrGender:
          match: {}
          schema:
            index: 2
            extensions:
              value:
                url: null
                index: 3
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 5
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
              type:
                url: null
                index: 7
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 9
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
            elements:
              extension:
                index: 3
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 3
                        elements:
                          value:
                            choices: [valueCodeableConcept]
                            index: 5
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
                    type:
                      match: {}
                      schema:
                        index: 7
                        elements:
                          value:
                            choices: [valueCodeableConcept]
                            index: 9
                          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
  communication:
    elements:
      language:
        index: 87
        elements:
          coding:
            elements:
              system: {index: 88}
              code: {index: 89}
              display: {index: 90}
      preferred: {index: 91}
  identifier:
    index: 11
    extensions:
      data-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', min: 0, type: Extension, index: 12}
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0
        index: 12
        slicing:
          slices:
            data-absent-reason:
              match: {}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason|5.3.0', index: 12}
              min: 0
      type:
        index: 13
        elements:
          text: {index: 14}
      system: {index: 15}
      value: {short: The value that is unique within the system., index: 16}
    slicing:
      slices:
        JHN:
          match: {}
          schema:
            index: 17
            extensions:
              versionCode: {url: null, index: 18}
            elements:
              extension:
                index: 18
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {index: 18}
              type:
                index: 19
                elements:
                  coding:
                    index: 20
                    elements:
                      system: {index: 21}
                      code: {index: 22}
              system: {index: 23}
              value:
                index: 24
                extensions:
                  ReasonForNoHCN:
                    url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-reason-for-no-hcn
                    type: Extension
                    index: 26
                    elements:
                      value:
                        choices: []
                        index: 28
                      value[x]:
                        elements:
                          coding:
                            index: 29
                            elements:
                              system: {index: 30}
                              code: {index: 31}
                              display: {index: 32}
                elements:
                  extension:
                    index: 25
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        ReasonForNoHCN:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://fhir.infoway-inforoute.ca/p-care/StructureDefinition/pcare-reason-for-no-hcn
                            index: 26
                            elements:
                              value:
                                choices: []
                                index: 28
                              value[x]:
                                elements:
                                  coding:
                                    index: 29
                                    elements:
                                      system: {index: 30}
                                      code: {index: 31}
                                      display: {index: 32}
        MRN:
          match: {}
          schema:
            index: 33
            elements:
              type:
                index: 34
                elements:
                  coding:
                    index: 35
                    elements:
                      system: {index: 36}
                      code: {index: 37}
              system: {index: 38}
              value: {index: 39}
  telecom:
    index: 47
    elements:
      system: {index: 48}
      value: {index: 49}
      use: {index: 50}
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            array: true
            index: 51
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 52
            required: [system]
  generalPractitioner:
    elements:
      reference: {index: 92}
      identifier:
        index: 93
        elements:
          system: {index: 94}
          value: {index: 95}
  gender: {index: 53}
  contact:
    index: 64
    elements:
      relationship:
        index: 65
        elements:
          coding:
            index: 66
            elements:
              system: {index: 67}
              code: {index: 68}
              display:
                index: 69
                extensions:
                  translation: {url: 'http://hl7.org/fhir/StructureDefinition/translation|5.3.0', min: 0, type: Extension, short: Language Translation (Localization), index: 71}
                elements:
                  extension:
                    index: 70
                    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|5.3.0', index: 71}
                          min: 0
          text: {index: 72}
      name:
        index: 73
        elements:
          use: {index: 74}
          family: {index: 75}
          given: {index: 76}
          prefix: {index: 77}
          suffix: {index: 78}
      telecom: {index: 79}
      address:
        index: 80
        elements:
          use: {index: 81}
          line: {index: 82}
          city: {index: 83}
          state: {index: 84}
          postalCode: {index: 85}
          country: {index: 86}
package_version: 0.1.0-dft-preballot
extensions:
  recordedSexOrGender:
    url: null
    index: 2
    extensions:
      value:
        url: null
        index: 3
        elements:
          value:
            choices: [valueCodeableConcept]
            index: 5
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
      type:
        url: null
        index: 7
        elements:
          value:
            choices: [valueCodeableConcept]
            index: 9
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
    elements:
      extension:
        index: 3
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 3
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 5
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 6}
            type:
              match: {}
              schema:
                index: 7
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 9
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
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]