PackagesCanonicalsLogsProblems
    Packages
    ca.pipeline.test.package@0.0.1
    http://fhir.infoway-inforoute.ca/io/CA-pipeline-test/StructureDefinition/CA-eReC-Patient
description: The Patient resources contain demographics and other administrative information about the individual who is the subject of the referral.
package_name: ca.pipeline.test.package
derivation: constraint
name: Patient
type: Patient
elements:
  address:
    mustSupport: true
    index: 22
    elements:
      text: {mustSupport: true, index: 23}
      postalCode: {mustSupport: true, index: 24}
      country: {mustSupport: true, index: 25}
  name:
    mustSupport: false
    index: 13
    elements:
      family: {mustSupport: false, index: 14}
      given: {mustSupport: false, index: 15}
  birthDate: {mustSupport: true, index: 21}
  communication:
    index: 31
    extensions:
      CommunicationBarrier:
        url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-CommunicationBarrier
        type: Extension
        mustSupport: true
        index: 33
        elements:
          value:
            mustSupport: true
            choices: []
            index: 35
          value[x]:
            elements:
              code:
                binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/communication-barrier'}
                mustSupport: true
                index: 36
    elements:
      extension:
        index: 32
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            CommunicationBarrier:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-ext-CommunicationBarrier
                index: 33
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 35
                  value[x]:
                    elements:
                      code:
                        binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/communication-barrier'}
                        mustSupport: true
                        index: 36
      language:
        binding: {strength: preferred, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/human-language'}
        mustSupport: true
        index: 37
      preferred: {mustSupport: true, index: 38}
  identifier:
    mustSupport: false
    index: 0
    elements:
      type: {mustSupport: true, index: 1}
      system: {mustSupport: true, index: 2}
      value: {mustSupport: true, index: 3}
    required: [system, type, value]
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type, type: value}
      min: null
      slices:
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional Health Number}
          schema:
            short: Jurisdictional Health Number
            array: true
            index: 4
            extensions:
              versionCode: {url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HCNV-code-EXT', min: 0, max: 1, type: Extension, short: Health Number Version Code, index: 5}
            elements:
              extension:
                type: Extension
                short: Health Number Version Code
                url: http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HCNV-code-EXT
                index: 5
                slicing:
                  slices:
                    versionCode:
                      match: {}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-HCNV-code-EXT', index: 5}
                      min: 0
                      max: 1
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Jurisdictional Health Number}
                type: CodeableConcept
                index: 6
              system: {short: A Health Number Naming System from the Canadian URI Registry, mustSupport: true, index: 7}
              value: {mustSupport: true, index: 8}
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
          schema:
            short: Medical Record Number
            array: true
            index: 9
            elements:
              type:
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
                type: CodeableConcept
                index: 10
              system: {short: An identifier for the system supplying the MRN, mustSupport: true, index: 11}
              value: {mustSupport: true, index: 12}
  telecom:
    mustSupport: true
    index: 16
    elements:
      system: {mustSupport: true, index: 17}
      value: {mustSupport: true, index: 18}
      use: {mustSupport: true, index: 19}
    required: [value]
  generalPractitioner:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Organization', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-Practitioner', 'http://fhir.infoway-inforoute.ca/io/CA-eReC/StructureDefinition/CA-eReC-PractitionerRole']
    index: 39
    elements:
      reference: {mustSupport: true, index: 40}
      identifier:
        mustSupport: true
        index: 41
        elements:
          system: {mustSupport: true, index: 42}
          value: {mustSupport: true, index: 43}
        required: [system, value]
  gender: {mustSupport: true, index: 20}
  maritalStatus: {index: 26}
  contact:
    index: 27
    elements:
      relationship:
        binding: {strength: extensible, valueSet: 'http://fhir.infoway-inforoute.ca/io/CA-eReC/ValueSet/patient-contact-relationship'}
        mustSupport: true
        index: 28
      name: {mustSupport: true, index: 29}
      telecom: {mustSupport: true, index: 30}
package_version: 0.0.1
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/io/CA-pipeline-test/StructureDefinition/CA-eReC-Patient
base: http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core
version: null