PackagesCanonicalsLogsProblems
    Packages
    hie2.packages@1.0.1
    http://fhir.hie.moh.gov.my/StructureDefinition/Practitioner-my-core
description: The practitioner(s) referenced in MY Core profiles.
package_name: hie2.packages
derivation: constraint
name: PractitionerMyCore
type: Practitioner
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: pattern}
      min: 1
      slices:
        myKadNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'}
          schema:
            _required: true
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'}
                index: 2
        professionalNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/professional-no'}
          schema:
            short: A professional number unqiue to this practitioner
            mustSupport: false
            index: 3
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/professional-no'}
                index: 4
        passportNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
          schema:
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
                index: 6
  name:
    mustSupport: true
    index: 7
    extensions:
      personTitle: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', min: 0, type: Extension, index: 9}
    elements:
      extension:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            personTitle:
              match: {url: null}
              schema: {type: Extension, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/person-title-my-core', index: 9}
              min: 0
      text: {mustSupport: true, index: 10}
      family: {mustSupport: false, index: 11}
      given: {mustSupport: false, index: 12}
    required: [text]
  address: {type: Address, index: 13}
  gender: {mustSupport: true, index: 14}
  birthDate: {mustSupport: true, index: 15}
package_version: 1.0.1
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/Practitioner-my-core
base: http://hl7.org/fhir/StructureDefinition/Practitioner
version: 1.0.0
required: [gender, name, identifier, birthDate]