Mutations
Update baseline care flow data points with new values
If your care flow has baseline info or data points, you can update the values of these data points while the care flow is already ongoing.
Configure baseline data points
01
01
To update the baseline info data points in an existing care flow, the request needs the following, provided within an input object:
| Field | Required | Description | Type |
|---|---|---|---|
| pathway_id | Yes | the id of the care flow | string |
| baseline_info | Yes | the list of data point values for baseline info data points | Array of baseline info input |
| baseline_info.data_point_definition_id | Yes, for each item | the data point definition identifier | string |
| baseline_info.value | Yes, for each item | that data point value | string |
Given data point values are polymorphic, the value for a data point should always be sent as a string. Values are validated and deserialized on the Awell side and we will throw an error if a value does not match the corresponding data point value type.
In table below you can find an overview of all baseline data point types and the value type you should be sending to the Awell API.
| Data point value type | Value type to send | Examples |
|---|---|---|
| date | ISO8601 string | "2023-01-01" |
| number | string | "10" |
| string | string | "Awell is great" |