PackagesCanonicalsLogsProblems
    Packages
    rapportendoscopiequebec.test@0.0.11
    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
      discriminator:
      - {path: type.id, type: value}
      min: 1
      slices:
        PHIN:
          match:
            type: {id: 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:
                  id:
                    pattern: {type: String, value: PHIN}
                    index: 14
                  coding:
                    mustSupport: true
                    index: 15
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                        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: [code]
                  text:
                    pattern: {type: String, value: RAMQ}
                    index: 19
                required: [id]
              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: {id: PMRN}
          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/TypeDossier'}
                mustSupport: true
                index: 26
                elements:
                  id:
                    pattern: {type: String, value: PMRN}
                    index: 27
                  coding:
                    mustSupport: true
                    index: 28
                    elements:
                      code: {mustSupport: true, index: 29}
                      display: {mustSupport: true, index: 30}
                    required: [code]
                  text: {mustSupport: true, index: 31}
                required: [id]
              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:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/administrative-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: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/Ville'}
        mustSupport: true
        index: 43
      postalCode:
        binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/CodesPostaux'}
        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/EndoParent']
        index: 46
        elements:
          identifier:
            mustSupport: true
            index: 47
            elements:
              type:
                binding: {strength: required, valueSet: 'https://extranet.ti.msss.rtss.qc.ca/FHIR/Endo/LienUsagerEndo'}
                mustSupport: true
                index: 48
                elements:
                  coding:
                    mustSupport: true
                    index: 49
                    elements:
                      system:
                        binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-RoleCode'}
                        index: 50
                      code: {mustSupport: true, index: 51}
                      display: {mustSupport: true, index: 52}
                    required: [display, code]
      type:
        pattern: {type: Code, value: refer}
        mustSupport: true
        index: 53
package_version: 0.0.11
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]