{
  "resourceType": "StructureDefinition",
  "id": "b4da7038-1920-4ec3-a225-f7e34f189c1b",
  "meta": {
    "lastUpdated": "2021-06-08T07:07:15.717+00:00"
  },
  "url": "https://fhir.mhn.asia/emr/StructureDefinition/MyPractitioner",
  "name": "MyPractitioner",
  "status": "draft",
  "date": "2021-06-08T07:02:36.9574555Z",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Practitioner",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Practitioner",
        "path": "Practitioner",
        "constraint": [
          {
            "key": "inv-1",
            "requirements": "name or identifier is required",
            "severity": "error",
            "human": "name or idenifier is required",
            "xpath": "exists(f:name) or exists(f:identifier)",
            "source": "http://example.org/fhir/StructureDefinition/MyPractitioner"
          }
        ]
      },
      {
        "id": "Practitioner.identifier",
        "path": "Practitioner.identifier",
        "short": "An identifier for the person as this agent by myKad No."
      },
      {
        "id": "Practitioner.identifier.system",
        "path": "Practitioner.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.mhn.asia/emr/NamingSystem/mykadno"
      },
      {
        "id": "Practitioner.identifier.value",
        "path": "Practitioner.identifier.value",
        "short": "The value that is unique myKad No.",
        "min": 1
      },
      {
        "id": "Practitioner.name",
        "path": "Practitioner.name",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "https://fhir.mhn.asia/emr/StructureDefinition/MyHumanName"
            ]
          }
        ]
      },
      {
        "id": "Practitioner.telecom.system",
        "path": "Practitioner.telecom.system",
        "min": 1
      },
      {
        "id": "Practitioner.telecom.value",
        "path": "Practitioner.telecom.value",
        "min": 1
      },
      {
        "id": "Practitioner.gender",
        "path": "Practitioner.gender",
        "min": 1
      }
    ]
  }
}