{
  "resourceType": "StructureDefinition",
  "id": "RelatedPerson-my-core",
  "url": "http://fhir.hie.moh.gov.my/StructureDefinition/RelatedPerson-my-core",
  "version": "1.0.0",
  "name": "RelatedPersonMyCore",
  "title": "RelatedPerson (MY Core)",
  "status": "active",
  "date": "2024-02-12T04:04:09.5621857+00:00",
  "publisher": "Malaysia MOH - HIE Steering Committee",
  "description": "Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.identifier",
        "path": "RelatedPerson.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.identifier:myKadNo",
        "path": "RelatedPerson.identifier",
        "sliceName": "myKadNo"
      },
      {
        "id": "RelatedPerson.identifier:myKadNo.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.my/sid/my-kad-no"
      },
      {
        "id": "RelatedPerson.identifier:myKadNo.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier:passportNo",
        "path": "RelatedPerson.identifier",
        "sliceName": "passportNo"
      },
      {
        "id": "RelatedPerson.identifier:passportNo.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.my/sid/passport-no"
      },
      {
        "id": "RelatedPerson.identifier:passportNo.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier:armyNo",
        "path": "RelatedPerson.identifier",
        "sliceName": "armyNo"
      },
      {
        "id": "RelatedPerson.identifier:armyNo.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.my/sid/army-no"
      },
      {
        "id": "RelatedPerson.identifier:armyNo.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier:policeNo",
        "path": "RelatedPerson.identifier",
        "sliceName": "policeNo"
      },
      {
        "id": "RelatedPerson.identifier:policeNo.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.my/sid/police-no"
      },
      {
        "id": "RelatedPerson.identifier:policeNo.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier:othersNo",
        "path": "RelatedPerson.identifier",
        "sliceName": "othersNo"
      },
      {
        "id": "RelatedPerson.identifier:othersNo.system",
        "path": "RelatedPerson.identifier.system",
        "min": 1,
        "fixedUri": "http://fhir.hie.moh.gov.my/sid/others-no"
      },
      {
        "id": "RelatedPerson.identifier:othersNo.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.hie.moh.gov.my/ValueSet/relationship-my-core"
        }
      },
      {
        "id": "RelatedPerson.gender",
        "path": "RelatedPerson.gender",
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.hie.moh.gov.my/ValueSet/administrative-gender-my-core"
        }
      }
    ]
  }
}