Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

O3-4487 Save Vitals Data in Visit Patient scenario #71

Merged
merged 9 commits into from
Mar 4, 2025
Prev Previous commit
Next Next commit
fixed list type
  • Loading branch information
Bawanthathilan committed Mar 2, 2025
commit e07020bcd0b9dc8fb2b11a7eae614f9f48e4c9e9
Original file line number Diff line number Diff line change
@@ -160,7 +160,7 @@ public HttpRequestActionBuilder saveVitalsData(String patientUuid, int value) {
obs.add(Map.of("concept", MID_UPPER_ARM_CIRCUMFERENCE, "value", 34));


vitals.put("obs", List.of(obs));
vitals.put("obs", obs);

try {
String body = new ObjectMapper().writeValueAsString(vitals); // Convert Map to JSON