{
  "resourceType": "StructureDefinition",
  "id": "india-core-patient",
  "meta": {
    "lastUpdated": "2020-06-25T11:10:49.551+00:00"
  },
  "url": "http://hl7india.org/fhir/StructureDefinition/NDHBPatient",
  "version": "1.0",
  "name": "NDHBPatient",
  "title": "India NDHB Patient Profile",
  "status": "draft",
  "date": "2020-06-25",
  "publisher": "HL7 India",
  "contact": [
    {
      "name": "HL7 India",
      "telecom": [
        {
          "system": "url",
          "value": "https://hl7india.in/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "This profile is created for India specific use case of exchangining Patient data.\r\nIt sets minimum expectations for the Patient resource on what data elements must be there in a resource, what elements are defined as must support, summary elements etc.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "IND",
          "display": "India"
        }
      ],
      "text": "India"
    }
  ],
  "purpose": "To create Patient profile for exchanging patient demographic data between various healthcare systems in India.",
  "copyright": "HL7India.org",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "description": "system will define the source providing the unique id to the Patient. Like Ayush govt body or hospital providing MRN.",
          "rules": "open"
        },
        "comment": "Hospital assigning their own unique id must have their own unique system property.",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:AadharNumber",
        "path": "Patient.identifier",
        "sliceName": "AadharNumber",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.identifier:AadharNumber.use",
        "path": "Patient.identifier.use",
        "definition": "The purpose of this identifier is to add Aadhar number as mandatory business identifier for the Patient.",
        "min": 1,
        "fixedCode": "official",
        "mustSupport": false
      },
      {
        "id": "Patient.identifier:AadharNumber.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "type": [
          {
            "code": "uri",
            "profile": "https://ayush.gov.in/AadharNumber"
          }
        ]
      },
      {
        "id": "Patient.identifier:AadharNumber.value",
        "path": "Patient.identifier.value",
        "requirements": "Aadhar Number is unique identification for Patient in India. It is mandatory for Ayush India Programs.",
        "min": 1
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "min": 1
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "use"
            }
          ],
          "description": "system will define what type of telecom it is like phone, email etc.- phone | fax | email | pager | url | sms | other\r\nuse will define purpose of the contact- home | work | temp | old | mobile",
          "rules": "open"
        },
        "mustSupport": true
      },
      {
        "id": "Patient.telecom:HomePhone",
        "path": "Patient.telecom",
        "sliceName": "HomePhone",
        "max": "2"
      },
      {
        "id": "Patient.telecom:HomePhone.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.telecom:HomePhone.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.telecom:HomePhone.use",
        "path": "Patient.telecom.use",
        "fixedCode": "home"
      },
      {
        "id": "Patient.telecom:MobilePhone",
        "path": "Patient.telecom",
        "sliceName": "MobilePhone",
        "max": "5"
      },
      {
        "id": "Patient.telecom:MobilePhone.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "phone"
      },
      {
        "id": "Patient.telecom:MobilePhone.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.telecom:MobilePhone.use",
        "path": "Patient.telecom.use",
        "min": 1,
        "fixedCode": "mobile"
      },
      {
        "id": "Patient.telecom:Email",
        "path": "Patient.telecom",
        "sliceName": "Email"
      },
      {
        "id": "Patient.telecom:Email.system",
        "path": "Patient.telecom.system",
        "min": 1,
        "fixedCode": "email"
      },
      {
        "id": "Patient.telecom:Email.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "mustSupport": true
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "mustSupport": true
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "mustSupport": true
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "mustSupport": true
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "mustSupport": true
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "mustSupport": true
      }
    ]
  }
}