PackagesCanonicalsLogsProblems
    Packages
    MyHIE.v4-test@2.1.0-alpha
    http://fhir.hie.moh.gov.my/StructureDefinition/RelatedPerson-my-core
description: null
package_name: MyHIE.v4-test
derivation: constraint
name: RelatedPersonMyCore
type: RelatedPerson
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      max: 1
      slices:
        myKadNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'}
          schema:
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/my-kad-no'}
                index: 2
              value: {index: 3}
            required: [value, system]
        passportNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
          schema:
            index: 4
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/passport-no'}
                index: 5
              value: {index: 6}
            required: [value, system]
        armyNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/army-no'}
          schema:
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/army-no'}
                index: 8
              value: {index: 9}
            required: [value, system]
        policeNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/police-no'}
          schema:
            index: 10
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/police-no'}
                index: 11
              value: {index: 12}
            required: [value, system]
        othersNo:
          match: {system: 'http://fhir.hie.moh.gov.my/sid/others-no'}
          schema:
            index: 13
            elements:
              system:
                pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/sid/others-no'}
                index: 14
              value: {index: 15}
            required: [value, system]
  relationship:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/relationship-my-core'}
    index: 16
  gender:
    binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/administrative-gender-my-core'}
    index: 17
package_version: 2.1.0-alpha
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/RelatedPerson-my-core
base: http://hl7.org/fhir/StructureDefinition/RelatedPerson
version: 1/.0.0
required: [identifier]