Project

General

Profile

Actions

Activity #2649

closed

Feature #138: Development and Unit Testing

Version #2485: Version 2.0

Module #2605: Non Communicable Diseases (NCD)

Sub module #2607: NCD -- Member Search

Define a input and output JSON schema for member search

Added by Thara S Pillai about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Development-App
Start date:
06/05/2024
Due date:
% Done:

100%

Estimated time:
Planned Due Date:
06/07/2024

Description

  • Define a JSON schema with required search parameters for member search
  • Define JSON schema for output response - Response to include member details to display in search result + information on member's NCD registration status.
Actions #1

Updated by Thara S Pillai about 2 years ago

  • Status changed from Rejected to New
Actions #2

Updated by Chris Elsa John about 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40
Actions #3

Updated by Thara S Pillai about 2 years ago

Request JSON schema:

{
"title": "NCDSearchRequest",
"search_fields": {
"aadhaar": "123456789012",
"mobile": "9876543210",
"uhid": "UHID123",
"house_no": "1234",
"house_name": "null",
"Member Name": "null"
},
"other_institution": false
}

Response JSON schema:

{
"title": "NCDSearchResponse",
"no_records": 45,
"exceeded_imit": "N",
"exceeded_limit_msg": "Search returned more than 50 results. Please refine your search criteria.",
"search_results": [ {
"name": "Value 1",
"dob": "Value 2",
"gender": "Value 3",
"member_id": "Value 4",
"uhid": "Value 7",
"temp_uhid": "N", //Whether temporary UHID, if temp UHID, NCD registration not allowed. Popup option should be there. On tap, Alert “UHID not available. Please proceed to create UHID.”
"abha": "Value 8",
"aadhaar": "Value 9",
"address": "Value 5",
"ncd_reg_status": true, // Whether member registered for any NCD
"ncd_registered_disease": "HT, DM", //if member registered for any NCD, the name of diseases registered
"ncd_registered_disease_ids": [1,2], ////if member registered for any NCD, the IDs of diseases registered
"ncd_scre_elig": "Y", // Whether member eligible for screening for any NCD. If registered for all diseases only, not eligible for NCD screening. Then option should be disabled
"ncd_followup_elig": "Y" // Whether member eligible for followup for any NCD. If registered for any one (currently only HT/DM) diseases only, eligible for follow-up. Otherwise the popup for followup will be disabled.

}, {
"name": "Value 1",
"dob": "Value 2",
"gender": "Value 3",
"member_id": "Value 4",
"uhid": "Value 7",
"temp_uhid": "N",
"abha": "Value 8",
"aadhaar": "Value 9",
"address": "Value 5",
"ncd_reg_status": true,
"ncd_registered_disease": "HT, DM",
"ncd_registered_disease_ids": [1,2],
"ncd_scre_elig": "Y",
"ncd_followup_elig": "Y"
}
]
}

Actions #4

Updated by Thara S Pillai about 2 years ago

  • Parent task changed from #2606 to #2607
Actions #5

Updated by Chris Elsa John about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 40 to 100
Actions #6

Updated by Thara S Pillai about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF