- Update Submission Type
Updates a submission type for the requesting practice group.
- Mock serverhttps://developer.herohealth.net/_mock/apis/public-api/openapi/v1/care-nav/submission-types/{id}
- Staginghttps://api.staging.htech.app/v1/care-nav/submission-types/{id}
- Productionhttps://api.herohealth.net/v1/care-nav/submission-types/{id}
curl -i -X PATCH \
'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/care-nav/submission-types/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-practice-group-id: YOUR_API_KEY_HERE' \
-d '{
"title": "string",
"description": "string",
"in_hours": true,
"out_of_hours": true,
"suspended": true,
"form_id": "string",
"external_url": "http://example.com",
"external_url_name": "string",
"type": "admin_request",
"default_priority": "lowest",
"daily_limit": 0,
"patient_eligibility_check": true,
"assignee_id": "string",
"assignee_type": "Admin",
"order": 0
}'Ok
Number of forms submitted for this submission type on the current day.
A link patients can open to go straight here in the practice’s online care navigation. If this is later deleted, suspended, out of hours or at its daily limit, the link still opens and tells the patient why. While the practice has paused care navigation as a whole, it opens the practice's own paused message instead.
Whether a patient opening patient_url now could choose this, as the patient pages work it out.
Why patients cannot choose this now: service_suspended (the practice has paused care navigation), suspended (this pathway or option is suspended, or the pathway an option is in), no_options (a pathway with no option patients can choose: none, or every one offered now is suspended), not_listed (patients are not shown it, e.g. its form has no questions yet), in_hours_only (offered only while the practice is open, and it is closed), out_of_hours_only (offered only while it is closed, and it is open), daily_limit (it has taken as many requests as it can today).
{ "id": "string", "pathway_id": "string", "form_id": "string", "title": "string", "description": "string", "in_hours": true, "out_of_hours": true, "suspended": true, "external_url": "string", "external_url_name": "string", "type": "admin_request", "default_priority": "lowest", "daily_limit": 0, "forms_submitted_today": 0, "patient_eligibility_check": true, "assignee_id": "string", "assignee_type": "Admin", "order": 0, "patient_url": "http://example.com", "available_now": true, "unavailable_reason": "service_suspended", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }