AllenNeuralDynamics / AllenNeuralDynamics/aind-dataverse-service

Add Water restriction endpoint

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# User story
We are deprecating SLIMS as a data provider. Water log data has been backfilled into Dataverse.

# Acceptance criteria
- [ ] Given a mouse ID, add an endpoint that fetches water restriction data from Dataverse. (Minimum requirement is to get the same data we were collecting from SLIMS from Dataverse).

# Sprint Ready Checklist
- [ ] 1. Acceptance criteria defined
- [ ] 2. Team understands acceptance criteria
- [ ] 3. Team has defined solution / steps to satisfy acceptance criteria
- [ ] 4. Acceptance criteria is verifiable / testable
- [ ] 5. External / 3rd Party dependencies identified
- [ ] 6. Ticket is prioritized and sized

# Notes
Use [http://aind-metadata-service/api/v2/slims/water_restriction/{example}](http://aind-metadata-service/api/v2/slims/water_restriction/%7Bexample%7D) as an example of the data from SLIMS.

Sample:
```
[
{
"content_event_created_on": "2024-12-13T19:43:34.103000Z",
"subject_id": "762287",
"start_date": "2024-12-13T19:43:32.354000Z",
"end_date": null,
"assigned_by": "margaret.lee",
"target_weight_fraction": "0.85",
"baseline_weight": "28.23",
"weight_unit": "g"
}
]
```

Ways to group info from different tables:
- Using the Dataverse SDK / Web API to fetch a "View" (the table exists in Dataverse)
- Build a PowerPlatform Flow to fetch the info from various tables

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.