PackagesCanonicalsLogsProblems
    Packages
    ca.healthpei.io.core@0.1.1-DFT
    http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-Patient
description: Demographics and other administrative information about an individual receiving care or other health-related services.
package_name: ca.healthpei.io.core
derivation: constraint
name: Patient
type: Patient
elements:
  address:
    mustSupport: true
    index: 27
    elements:
      use: {mustSupport: true, index: 28}
      type: {mustSupport: true, index: 29}
      line: {mustSupport: true, index: 30}
      city: {mustSupport: true, index: 31}
      state: {mustSupport: true, index: 32}
      postalCode: {mustSupport: true, index: 33}
      country: {mustSupport: true, index: 34}
  deceasedDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: deceased
    index: 26
    slicing:
      slices:
        deceasedDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: deceased, index: 26}
          min: 0
          max: 1
  name:
    mustSupport: true
    index: 14
    elements:
      family: {mustSupport: true, index: 15}
      given: {mustSupport: true, index: 16}
    required: [family]
  birthDate: {mustSupport: true, index: 21}
  deceased:
    mustSupport: true
    choices: []
    index: 23
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        deceasedDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [deceasedDateTime]
            index: 25
          min: 0
          max: 1
  extension:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        birthsex:
          match: {url: null}
          schema: {type: Extension, mustSupport: true, url: 'http://healthpei.ca/fhir/StructureDefinition/ext-patientbirthsex', index: 1}
          min: 0
          max: 1
  active: {mustSupport: true, index: 13}
  identifier:
    mustSupport: true
    index: 2
    elements:
      system: {index: 3}
      value: {index: 4}
    required: [system, value]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        JHN:
          match: {type: null}
          schema:
            mustSupport: true
            array: true
            index: 5
            extensions:
              versionCode: {url: 'http://healthpei.ca/fhir/StructureDefinition/ext-id-health-card-version-code', min: 0, max: 1, type: Extension, index: 6}
            elements:
              extension:
                type: Extension
                url: http://healthpei.ca/fhir/StructureDefinition/ext-id-health-card-version-code
                index: 6
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {type: Extension, url: 'http://healthpei.ca/fhir/StructureDefinition/ext-id-health-card-version-code', index: 6}
                      min: 0
                      max: 1
              type:
                binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/identifier-type'}
                mustSupport: true
                index: 7
                elements:
                  coding:
                    mustSupport: true
                    index: 8
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        mustSupport: true
                        type: uri
                        index: 9
                      code:
                        pattern: {type: code, value: JHN}
                        mustSupport: true
                        type: code
                        index: 10
                    required: [code, system]
                required: [coding]
              system: {mustSupport: true, index: 11}
              value: {mustSupport: true, index: 12}
            required: [type]
  telecom:
    mustSupport: true
    index: 17
    elements:
      system: {mustSupport: true, index: 18}
      value: {mustSupport: true, index: 19}
      use: {mustSupport: true, index: 20}
    required: [system, value]
package_version: 0.1.1-DFT
extensions:
  birthsex: {url: 'http://healthpei.ca/fhir/StructureDefinition/ext-patientbirthsex', min: 0, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: http://healthpei.ca/fhir/StructureDefinition/ca-pei-profile-Patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [birthDate, identifier, name]