PackagesCanonicalsLogsProblems
    Packages
    tigacorehub.patient@1.1.21
    http://moph.qa/fhir/StructureDefinition/NewBornPatientProfile
description: null
package_name: tigacorehub.patient
derivation: constraint
name: NewBornPatientProfile
type: Patient
elements:
  name:
    index: 13
    extensions:
      nameLanguage: {url: 'https://moph.qa/fhir/StructureDefinition/NameLanguage', min: 0, max: 1, type: Extension, isModifier: false, index: 15}
    elements:
      extension:
        index: 14
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            nameLanguage:
              match: {url: null}
              schema: {type: Extension, isModifier: false, url: 'https://moph.qa/fhir/StructureDefinition/NameLanguage', index: 15}
              min: 0
              max: 1
      family: {index: 16}
      given: {index: 17}
    required: [given, family]
  birthDate: {index: 22}
  multipleBirth:
    choices: []
    index: 24
  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
        Naitonality:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', index: 2}
          min: 0
        personType:
          match: {url: null}
          schema: {type: Extension, isModifier: false, url: 'https://moph.qa/fhir/StructureDefinition/PersonType', index: 3}
          min: 0
          max: 1
  photo: {index: 25}
  link: {index: 26}
  identifier:
    index: 4
    elements:
      type:
        index: 5
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://moph.qa/CodeSystem/PatientIdentifier'}
                index: 6
              code: {index: 7}
            required: [system, code]
        slicing:
          rules: open
          discriminator:
          - {path: coding, type: value}
          min: 1
          slices:
            PRN:
              match: {coding: null}
              schema:
                _required: true
                index: 8
                elements:
                  coding:
                    elements:
                      system:
                        pattern: {type: Uri, value: 'http://moph.qa/codesystem/PatientIdentifier'}
                        index: 9
                      code:
                        pattern: {type: Code, value: PRN}
                        index: 10
                    required: [system, code]
      system: {index: 11}
      value: {index: 12}
    required: [value, type, system]
  telecom:
    index: 18
    elements:
      system: {index: 19}
      value: {index: 20}
    required: [value, system]
  gender: {index: 21}
package_version: 1.1.21
extensions:
  BirthPlace: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', min: 0, type: Extension, isModifier: false, index: 1}
  Naitonality: {url: 'http://hl7.org/fhir/StructureDefinition/patient-nationality', min: 0, type: Extension, isModifier: false, index: 2}
  personType: {url: 'https://moph.qa/fhir/StructureDefinition/PersonType', min: 0, max: 1, type: Extension, isModifier: false, index: 3}
class: profile
kind: resource
url: http://moph.qa/fhir/StructureDefinition/NewBornPatientProfile
base: http://hl7.org/fhir/StructureDefinition/Patient
version: null
required: [gender, multipleBirth, name, identifier, link, birthDate, telecom]