PackagesCanonicalsLogsProblems
    Packages
    ca.ab.fhir.aberec1@1.1.0-pre3
    https://www.alberta.ca/fhir/aberec/StructureDefinition/PatientABeReC
description: This profile defines a set of constraints to the FHIR Patient resource for use in Alberta eReferral and eConsult (AB:eReC). It re-profiles the CA-eReC Patient profile and it includes constraints that represent the minimum expectations for the Patient resource when used in the AB:eReC.
package_name: ca.ab.fhir.aberec1
derivation: constraint
name: PatientABeReC
type: Patient
elements:
  extension:
    index: 0
    slicing:
      slices:
        individual-recordedSexOrGender:
          match: {}
          schema:
            short: Extension for representing an individuals recorded sex or gender.
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
            index: 1
            extensions:
              value:
                url: null
                index: 2
                elements:
                  value:
                    choices: []
                    index: 4
              type:
                url: null
                index: 5
                elements:
                  value:
                    choices: []
                    index: 7
            elements:
              extension:
                index: 2
                slicing:
                  slices:
                    value:
                      match: {}
                      schema:
                        index: 2
                        elements:
                          value:
                            choices: []
                            index: 4
                    type:
                      match: {}
                      schema:
                        index: 5
                        elements:
                          value:
                            choices: []
                            index: 7
        matureMinor:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://www.alberta.ca/fhir/aberec/StructureDefinition/ext-MatureMinor', index: 8}
          min: 0
          max: 1
  identifier:
    index: 9
    slicing:
      slices:
        JHN:
          match: {}
          schema: {_required: true, index: 10}
          min: 1
  name:
    elements:
      text: {mustSupport: true, index: 11}
    required: [text]
  telecom:
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: system, type: pattern}
      min: null
      slices:
        Phone:
          match: {system: phone}
          schema:
            mustSupport: true
            array: true
            index: 13
            elements:
              system:
                pattern: {type: Code, value: phone}
                index: 14
            required: [system]
  birthDate: {index: 15}
  address:
    elements:
      use: {index: 16}
      type: {index: 17}
      line: {index: 18}
      city: {index: 19}
      state: {mustSupport: true, index: 20}
      postalCode: {index: 21}
    required: [city, postalCode, line, state]
  contact:
    elements:
      name: {index: 22}
    required: [name]
package_version: 1.1.0-pre3
extensions:
  individual-recordedSexOrGender:
    url: http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender
    short: Extension for representing an individuals recorded sex or gender.
    type: Extension
    mustSupport: true
    index: 1
    extensions:
      value:
        url: null
        index: 2
        elements:
          value:
            choices: []
            index: 4
      type:
        url: null
        index: 5
        elements:
          value:
            choices: []
            index: 7
    elements:
      extension:
        index: 2
        slicing:
          slices:
            value:
              match: {}
              schema:
                index: 2
                elements:
                  value:
                    choices: []
                    index: 4
            type:
              match: {}
              schema:
                index: 5
                elements:
                  value:
                    choices: []
                    index: 7
  matureMinor: {url: 'https://www.alberta.ca/fhir/aberec/StructureDefinition/ext-MatureMinor', min: 0, max: 1, type: Extension, mustSupport: true, index: 8}
class: profile
kind: resource
url: https://www.alberta.ca/fhir/aberec/StructureDefinition/PatientABeReC
base: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Patient
version: 1.0.4
required: [extension, identifier, birthDate]