{
  "resourceType": "StructureDefinition",
  "url": "https://medplumapi.ict4dnepal.org/fhir/R4/StructureDefinition/Patient-Nepal",
  "name": "PatientNP",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "min": 1
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:religion",
        "path": "Patient.extension",
        "sliceName": "religion",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-religion"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:disability",
        "path": "Patient.extension",
        "sliceName": "disability",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-disability"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:birthTime",
        "path": "Patient.extension",
        "sliceName": "birthTime",
        "short": "Birth time of a patient",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://medplumapi.ict4dnepal.org/fhir/R4/StructureDefinition/birthTime"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:nationality",
        "path": "Patient.extension",
        "sliceName": "nationality",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-nationality"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:ethnicity",
        "path": "Patient.extension",
        "sliceName": "ethnicity",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://medplumapi.ict4dnepal.org/fhir/StructureDefinition/Ethnicity"
            ]
          }
        ],
        "isModifier": false,
        "binding": {
          "strength": "required",
          "description": "Every one belongs to an Ethnic group. Ethnic groups in Nepal are delineated using language, ethnic identity or the caste system in Nepal.",
          "valueSet": "https://www.medplumapi.ict4dnepal.org/fhir/ValueSet/caste-ethnicity"
        }
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "alias": [
          "caste"
        ]
      }
    ]
  }
}