PackagesCanonicalsLogsProblems
    Packages
    rapportendoscopiequebec.test@0.0.46
    https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/EndoPatient
description: Demographics and other administrative information about patient.
package_name: rapportendoscopiequebec.test
derivation: constraint
name: EndoPatient
type: Patient
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
      security:
        mustSupport: true
        index: 2
        elements:
          system: {mustSupport: true, index: 3}
          code: {mustSupport: true, index: 4}
          display: {mustSupport: true, index: 5}
      tag:
        mustSupport: true
        index: 6
        elements:
          system: {mustSupport: true, index: 7}
          code: {mustSupport: true, index: 8}
          display: {mustSupport: true, index: 9}
  identifier:
    mustSupport: true
    index: 10
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: type.coding.system, type: value}
      min: 1
      slices:
        PHIN:
          match:
            type:
              coding: {system: 'http://ca.qc.patient.identifierType/PHIN'}
          schema:
            short: Health Insurance Number
            mustSupport: true
            index: 11
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 12
              type:
                mustSupport: true
                index: 13
                elements:
                  coding:
                    mustSupport: true
                    index: 14
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ca.qc.patient.identifierType/PHIN'}
                        mustSupport: true
                        index: 15
                      code:
                        pattern: {type: Code, value: JHN}
                        mustSupport: true
                        index: 16
                      display:
                        pattern: {type: String, value: Numéro Assurance maladie du Québec}
                        mustSupport: true
                        index: 17
                    required: [system, code]
                  text:
                    pattern: {type: String, value: RAMQ}
                    index: 18
                required: [coding]
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-qc-patient-healthcare-id'}
                mustSupport: true
                index: 19
              value: {mustSupport: true, index: 20}
              period:
                elements:
                  end: {mustSupport: true, index: 21}
                required: [end]
              assigner:
                elements:
                  display:
                    pattern: {type: String, value: RAMQ}
                    index: 22
            required: [value, type, system]
        PMRN:
          match:
            type:
              coding: {system: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/UCNI/ListesDeValeurs/DossierTypeEndo'}
          schema:
            short: Patient Medical Record Number (PMRN).
            mustSupport: true
            _required: true
            index: 23
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 24
              type:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/DossierTypeEndo'}
                mustSupport: true
                index: 25
                elements:
                  coding:
                    mustSupport: true
                    index: 26
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/UCNI/ListesDeValeurs/DossierTypeEndo'}
                        index: 27
                      code: {mustSupport: true, index: 28}
                      display: {mustSupport: true, index: 29}
                    required: [system, code]
                  text: {mustSupport: true, index: 30}
                required: [coding]
              system: {mustSupport: true, index: 31}
              value: {mustSupport: true, index: 32}
            required: [value, type, system]
  name:
    mustSupport: true
    index: 33
    elements:
      family: {mustSupport: true, index: 34}
      given: {mustSupport: true, index: 35}
    required: [given, family]
  gender: {mustSupport: true, index: 36}
  birthDate: {mustSupport: true, index: 37}
  address:
    mustSupport: true
    index: 38
    elements:
      use:
        pattern: {type: Code, value: home}
        index: 39
      type:
        pattern: {type: Code, value: postal}
        index: 40
      line: {mustSupport: true, index: 41}
      city:
        binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/VilleEndo'}
        mustSupport: true
        index: 42
      postalCode:
        binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/CodepostalEndo'}
        mustSupport: true
        index: 43
    required: [city, postalCode, line]
  link:
    mustSupport: true
    array: true
    min: 1
    max: 2
    index: 44
    elements:
      other:
        type: Reference
        mustSupport: true
        refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/EndoRelatedPerson']
        index: 45
        elements:
          identifier:
            mustSupport: true
            index: 46
            elements:
              type:
                binding: {strength: extensible, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/LienUsagerEndo'}
                mustSupport: true
                index: 47
                elements:
                  coding:
                    binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-RoleCode'}
                    mustSupport: true
                    index: 48
                    elements:
                      code: {mustSupport: true, index: 49}
                      display: {mustSupport: true, index: 50}
                    required: [display, code]
      type:
        pattern: {type: Code, value: refer}
        mustSupport: true
        index: 51
package_version: 0.0.46
class: profile
kind: resource
url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/EndoPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.1.1
required: [gender, name, address, identifier, link, birthDate]