2025-07-28

2025-07-28

Counties, States, Offices, Parameters

Issues in the Field

  • LRH -> CDA issue with CAVI - Script was targeting CDA-Test, but now CDA-Prod is working. CAVI required a specific version of CDA(question)

Side Convos

  • Unit vs Units
  • No agreement on this
  • Avoid tab and csv format - possibly going away(question)
  • States:
  • These are referenced to the locations and their counties within the database
  • NOTE: we should update the swagger spec to mention this possibly?
  • Mention provinces/islands etc
  • Counties:
  • Also related to states
  • Counties/States:
  • Ideally enable dropdown use to select these for locations because you cannot make custom values(??)
  • Cached by browser by default using cache control header = 3600 seconds
  • Offices
  • Gold star, returns if the office doesn't exist
  • GET - getOne (Single endpoint works OK) - Returns single office
  • GET - getAll (Catalog of offices)
  • Uses the extents for the has-data parameter (fast)
  • Parameters
  • Office id specified to allow or offices to make sub parameters
  • Sub Parameter vs base parameter