PackagesCanonicalsLogsProblems
    Packages
    tigacorehub.patient@1.1.14
    http://tigahealth.com/fhir/StructureDefinition/PatientProfile
description: null
package_name: tigacorehub.patient
derivation: constraint
name: Patient
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        BirthPlace:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', index: 1}
          min: 0
        myExtension:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', index: 2}
          min: 0
  identifier:
    index: 3
    elements:
      type:
        index: 4
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://moph.qa/codesystem/PatientIdentifier'}
                index: 5
              code:
                pattern: {type: Code, value: TYP}
                index: 6
            required: [system, code]
        slicing:
          rules: open
          discriminator:
          - {path: coding, type: value}
          min: 1
          slices:
            PRN:
              match: {coding: null}
              schema:
                _required: true
                index: 7
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://moph.qa/codesystem/PatientIdentifier'}
                        index: 8
                      code:
                        pattern: {type: Code, value: PRN}
                        index: 9
                    required: [system, code]
      system: {index: 10}
      value: {index: 11}
    required: [value, type, system]
  name:
    index: 12
    elements:
      family: {index: 13}
      given: {index: 14}
    required: [given, family]
  telecom:
    index: 15
    elements:
      system: {index: 16}
      value: {index: 17}
    required: [value, system]
  gender: {index: 18}
  birthDate: {index: 19}
  photo: {index: 20}
package_version: 1.1.14
extensions:
  BirthPlace: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', min: 0, type: Extension, isModifier: false, index: 1}
  myExtension: {url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', min: 0, type: Extension, isModifier: false, index: 2}
class: profile
kind: resource
url: http://tigahealth.com/fhir/StructureDefinition/PatientProfile
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [gender, name, identifier, birthDate, telecom]