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