Add "Approximate Area of Shared Space" number-picker field in Contact Tracing (Community & Occupational)

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Highest
    • 2.3
    • Affects Version/s: None
    • None
    • STOP TB Sprint 8

      Requirement

      Add a new Approximate Area of Shared Space field to the Contact Tracing module. It is captured per relationship in the Community form and once in the Occupational form, and is used to estimate exposure risk. The field is enabled only after "Type of Space" is selected for that relationship / space entry.

      Field Specification

      Field Name Field Type Options / Values Validation / Logic
      Approximate Area of Shared Space Number picker Free numeric entry, whole numbers only Enabled once "Type of Space" is selected for that entry. Helper text: "Give estimated measurement of area". Unit: square metres (sq. m.). Accepted range: 50–5,000 sq. m. Inline error if outside range: "Enter a value between 50 and 5000." Mandatory. Applicable to both Community and Occupational Contact Tracing. In Community, opens for each "Relationship with community contacts" category selected.

      Acceptance Criteria

      • Field renders on both Community and Occupational Contact Tracing forms
      • Field is disabled until "Type of Space" is selected for that entry
      • In Community form, the field opens once per selected relationship (mirrors the per-relationship pattern of Number of contacts, Type of Space, and Time spent with contact)
      • Helper text "Give estimated measurement of area" is shown below the field
      • Unit "sq. m." is displayed next to the input
      • Only whole numbers are accepted (no decimals, no negatives, no non-numeric input)
      • Values below 50 or above 5000 show inline error: "Enter a value between 50 and 5000."
      • Field is mandatory — form cannot be submitted without a valid value
      • Value persists on the record and is available on sync/edit/view

      PRD Reference

      TBMJA PRD — Section 7.4 Contact Tracing and TPT Module → Approximate Area of Shared TBMJA PRD - AMRIT - Confluence

              Assignee:
              Ashutosh Gupta
              Reporter:
              Shivani Garg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: