PackagesCanonicalsLogsProblems
    Packages
    rapportendoscopiequebec.test@0.0.69
    https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/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}
  extension:
    type: Extension
    isModifier: false
    url: http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName
    index: 10
    slicing:
      slices:
        mothersMaidenName:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName', index: 10}
  identifier:
    mustSupport: true
    index: 11
    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: 12
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 13
              type:
                mustSupport: true
                index: 14
                elements:
                  coding:
                    mustSupport: true
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://ca.qc.patient.identifierType/PHIN'}
                        mustSupport: true
                        index: 16
                      code:
                        pattern: {type: Code, value: JHN}
                        mustSupport: true
                        index: 17
                      display:
                        pattern: {type: String, value: Numéro Assurance maladie du Québec}
                        mustSupport: true
                        index: 18
                    required: [system, code]
                  text:
                    pattern: {type: String, value: RAMQ}
                    index: 19
                required: [coding]
              system:
                pattern: {type: Uri, value: 'https://fhir.infoway-inforoute.ca/NamingSystem/ca-qc-patient-healthcare-id'}
                mustSupport: true
                index: 20
              value: {mustSupport: true, index: 21}
              period:
                elements:
                  end: {mustSupport: true, index: 22}
                required: [end]
              assigner:
                elements:
                  display:
                    pattern: {type: String, value: RAMQ}
                    index: 23
            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: 24
            elements:
              use:
                pattern: {type: Code, value: official}
                mustSupport: true
                index: 25
              type:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/DossierTypeEndo'}
                mustSupport: true
                index: 26
                elements:
                  coding:
                    mustSupport: true
                    index: 27
                    elements:
                      system:
                        pattern: {type: Uri, value: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/UCNI/ListesDeValeurs/DossierTypeEndo'}
                        index: 28
                      code: {mustSupport: true, index: 29}
                      display: {mustSupport: true, index: 30}
                    required: [system, code]
                  text: {mustSupport: true, index: 31}
                required: [coding]
              system: {mustSupport: true, index: 32}
              value: {mustSupport: true, index: 33}
            required: [value, type, system]
  name:
    mustSupport: true
    index: 34
    elements:
      family: {mustSupport: true, index: 35}
      given: {mustSupport: true, index: 36}
    required: [given, family]
  gender: {mustSupport: true, index: 37}
  birthDate: {mustSupport: true, index: 38}
  address:
    mustSupport: true
    index: 39
    elements:
      use:
        pattern: {type: Code, value: home}
        index: 40
      type:
        pattern: {type: Code, value: postal}
        index: 41
      line: {mustSupport: true, index: 42}
      city:
        binding: {strength: extensible, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/VilleEndo'}
        mustSupport: true
        index: 43
      postalCode:
        binding: {strength: extensible, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/CodepostalEndo'}
        mustSupport: true
        index: 44
    required: [city, postalCode, line]
  link:
    mustSupport: true
    array: true
    min: 1
    max: 2
    index: 45
    elements:
      other:
        type: Reference
        mustSupport: true
        refers: ['https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoRelatedPerson']
        index: 46
        elements:
          identifier:
            mustSupport: true
            index: 47
            elements:
              type:
                binding: {strength: extensible, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/ValueSet/LienUsagerEndo'}
                mustSupport: true
                index: 48
                elements:
                  coding:
                    binding: {strength: extensible, valueSet: 'http://terminology.hl7.org/ValueSet/v3-RoleCode'}
                    mustSupport: true
                    index: 49
                    elements:
                      code: {mustSupport: true, index: 50}
                      display: {mustSupport: true, index: 51}
                    required: [display, code]
      type:
        pattern: {type: Code, value: refer}
        mustSupport: true
        index: 52
package_version: 0.0.69
extensions:
  mothersMaidenName: {url: 'http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName', type: Extension, isModifier: false, index: 10}
class: profile
kind: resource
url: https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/StructureDefinition/EndoPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.1.1
required: [gender, name, address, identifier, link, birthDate]