Recipes API
11 operations. Back to the API overview. Examples use synthetic data.
Recipe list
GET /admin/v1/recipes
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
any | query | string | optional | - |
destination | query | string | optional | - |
flow | query | string | optional | - |
limit | query | string | optional | - |
mine | query | string | optional | - |
no_vendor | query | string | optional | - |
source | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
recipes | array of object (RecipeView) | optional | - |
recipes.[]alternatives | array of object (RecipeAlternative) | optional | - |
recipes.[]checks | array of string | optional | - |
recipes.[]conversion | string | optional | Conversion is what Velacent Bridge does between the two (a Convert constant); TargetVersion the HL7 version sent (version conversion). |
recipes.[]curated | boolean | optional | - |
recipes.[]dependency | string | optional | Dependency is the slower side's class; Effort says it in words. |
recipes.[]dependency_label | string | optional | - |
recipes.[]destination | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipes.[]effort | string | optional | - |
recipes.[]evidence | string | optional | - |
recipes.[]evidence_label | string | optional | - |
recipes.[]flow | string | optional | - |
recipes.[]flow_title | string | optional | - |
recipes.[]id | string | optional | - |
recipes.[]outcome | string | optional | - |
recipes.[]set_up | boolean | optional | - |
recipes.[]slug | string | optional | - |
recipes.[]source | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipes.[]target_version | string | optional | - |
recipes.[]tested | string | optional | - |
recipes.[]title | string | optional | - |
recipes.[]version | string | optional | - |
recipes.[]who_acts | array of string | optional | - |
systems | any | optional | - |
{
"recipes": [
{
"alternatives": [
{
"conversion": "1",
"dependency": "example",
"destination_path": "example",
"source_path": "example",
"why": "example"
}
],
"checks": [
"example"
],
"conversion": "1",
"curated": true,
"dependency": "example",
"dependency_label": "example",
"destination": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"effort": "example",
"evidence": "example",
"evidence_label": "example",
"flow": "example",
"flow_title": "example",
"id": "example-id",
"outcome": "example",
"set_up": true,
"slug": "example",
"source": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"target_version": "1",
"tested": "example",
"title": "example",
"version": "1",
"who_acts": [
"example"
]
}
],
"systems": {}
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes"Recipe detail
GET /admin/v1/recipes/detail
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
checklist | any | optional | - |
flow | any | optional | - |
golive_key | any | optional | - |
messages | array of map of string | optional | - |
recipe | object (RecipeView) | optional | recipeView is a recipe as the console lists it. |
recipe.alternatives | array of object (RecipeAlternative) | optional | - |
recipe.checks | array of string | optional | - |
recipe.conversion | string | optional | Conversion is what Velacent Bridge does between the two (a Convert constant); TargetVersion the HL7 version sent (version conversion). |
recipe.curated | boolean | optional | - |
recipe.dependency | string | optional | Dependency is the slower side's class; Effort says it in words. |
recipe.dependency_label | string | optional | - |
recipe.destination | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipe.effort | string | optional | - |
recipe.evidence | string | optional | - |
recipe.evidence_label | string | optional | - |
recipe.flow | string | optional | - |
recipe.flow_title | string | optional | - |
recipe.id | string | optional | - |
recipe.outcome | string | optional | - |
recipe.set_up | boolean | optional | - |
recipe.slug | string | optional | - |
recipe.source | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipe.target_version | string | optional | - |
recipe.tested | string | optional | - |
recipe.title | string | optional | - |
recipe.version | string | optional | - |
recipe.who_acts | array of string | optional | - |
requests | array of object (RecipeVendorRequest) | optional | - |
requests.[]subject | string | optional | - |
requests.[]text | string | optional | - |
requests.[]to | string | optional | the party, e.g. "eClinicalWorks" |
routes | any | optional | - |
{
"checklist": {},
"flow": {},
"golive_key": {},
"messages": [
{
"example": "example"
}
],
"recipe": {
"alternatives": [
{
"conversion": "1",
"dependency": "example",
"destination_path": "example",
"source_path": "example",
"why": "example"
}
],
"checks": [
"example"
],
"conversion": "1",
"curated": true,
"dependency": "example",
"dependency_label": "example",
"destination": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"effort": "example",
"evidence": "example",
"evidence_label": "example",
"flow": "example",
"flow_title": "example",
"id": "example-id",
"outcome": "example",
"set_up": true,
"slug": "example",
"source": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"target_version": "1",
"tested": "example",
"title": "example",
"version": "1",
"who_acts": [
"example"
]
},
"requests": [
{
"subject": "example",
"text": "example",
"to": "example"
}
],
"routes": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/detail"Recipe explain
POST /admin/v1/recipes/explain
Needs the permission: metrics:read.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
destination | string | optional | - |
flow | string | optional | - |
source | string | optional | - |
{
"destination": "example",
"flow": "example",
"source": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
alternatives | array of object (RecipeView) | optional | - |
alternatives.[]alternatives | array of object (RecipeAlternative) | optional | - |
alternatives.[]checks | array of string | optional | - |
alternatives.[]conversion | string | optional | Conversion is what Velacent Bridge does between the two (a Convert constant); TargetVersion the HL7 version sent (version conversion). |
alternatives.[]curated | boolean | optional | - |
alternatives.[]dependency | string | optional | Dependency is the slower side's class; Effort says it in words. |
alternatives.[]dependency_label | string | optional | - |
alternatives.[]destination | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
alternatives.[]effort | string | optional | - |
alternatives.[]evidence | string | optional | - |
alternatives.[]evidence_label | string | optional | - |
alternatives.[]flow | string | optional | - |
alternatives.[]flow_title | string | optional | - |
alternatives.[]id | string | optional | - |
alternatives.[]outcome | string | optional | - |
alternatives.[]set_up | boolean | optional | - |
alternatives.[]slug | string | optional | - |
alternatives.[]source | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
alternatives.[]target_version | string | optional | - |
alternatives.[]tested | string | optional | - |
alternatives.[]title | string | optional | - |
alternatives.[]version | string | optional | - |
alternatives.[]who_acts | array of string | optional | - |
destination | any | optional | - |
mismatches | any | optional | - |
request | map of string | optional | - |
source | any | optional | - |
{
"alternatives": [
{
"alternatives": [
{
"conversion": "1",
"dependency": "example",
"destination_path": "example",
"source_path": "example",
"why": "example"
}
],
"checks": [
"example"
],
"conversion": "1",
"curated": true,
"dependency": "example",
"dependency_label": "example",
"destination": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"effort": "example",
"evidence": "example",
"evidence_label": "example",
"flow": "example",
"flow_title": "example",
"id": "example-id",
"outcome": "example",
"set_up": true,
"slug": "example",
"source": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"target_version": "1",
"tested": "example",
"title": "example",
"version": "1",
"who_acts": [
"example"
]
}
],
"destination": {},
"mismatches": {},
"request": {
"example": "example"
},
"source": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"destination":"example","flow":"example","source":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/explain"Recipe flows
GET /admin/v1/recipes/flows
Needs the permission: metrics:read.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
dependency_labels | any | optional | - |
evidence_labels | any | optional | - |
flows | array of object (any fields) | optional | - |
{
"dependency_labels": {},
"evidence_labels": {},
"flows": [
{}
]
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/flows"Recipe mine
GET /admin/v1/recipes/mine
Needs the permission: metrics:read.
Response 200
{
"available": {},
"setups": [
{}
],
"systems": [
"example"
]
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/mine"Recipe mark step
PUT /admin/v1/recipes/mine/steps
Needs the permission: config:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
recipe | string | optional | - |
status | string | optional | - |
step | string | optional | - |
{
"recipe": "example",
"status": "ok",
"step": "example"
}Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"recipe":"example","status":"ok","step":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/mine/steps"Recipe set systems
PUT /admin/v1/recipes/mine/systems
Needs the permission: config:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
systems | array of string | optional | - |
version | integer | optional | - |
{
"systems": [
"example"
],
"version": 1
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"systems":["example"],"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/mine/systems"Recipe propose
GET /admin/v1/recipes/propose
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
limit | query | string | optional | - |
q | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
flows | any | optional | - |
hint | any | optional | - |
recipes | array of object (RecipeView) | optional | - |
recipes.[]alternatives | array of object (RecipeAlternative) | optional | - |
recipes.[]checks | array of string | optional | - |
recipes.[]conversion | string | optional | Conversion is what Velacent Bridge does between the two (a Convert constant); TargetVersion the HL7 version sent (version conversion). |
recipes.[]curated | boolean | optional | - |
recipes.[]dependency | string | optional | Dependency is the slower side's class; Effort says it in words. |
recipes.[]dependency_label | string | optional | - |
recipes.[]destination | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipes.[]effort | string | optional | - |
recipes.[]evidence | string | optional | - |
recipes.[]evidence_label | string | optional | - |
recipes.[]flow | string | optional | - |
recipes.[]flow_title | string | optional | - |
recipes.[]id | string | optional | - |
recipes.[]outcome | string | optional | - |
recipes.[]set_up | boolean | optional | - |
recipes.[]slug | string | optional | - |
recipes.[]source | object (RecipeSide) | optional | Side is one side of a recipe: the system and the path it connects by. |
recipes.[]target_version | string | optional | - |
recipes.[]tested | string | optional | - |
recipes.[]title | string | optional | - |
recipes.[]version | string | optional | - |
recipes.[]who_acts | array of string | optional | - |
systems | any | optional | - |
{
"flows": {},
"hint": {},
"recipes": [
{
"alternatives": [
{
"conversion": "1",
"dependency": "example",
"destination_path": "example",
"source_path": "example",
"why": "example"
}
],
"checks": [
"example"
],
"conversion": "1",
"curated": true,
"dependency": "example",
"dependency_label": "example",
"destination": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"effort": "example",
"evidence": "example",
"evidence_label": "example",
"flow": "example",
"flow_title": "example",
"id": "example-id",
"outcome": "example",
"set_up": true,
"slug": "example",
"source": {
"basis": "example",
"dependency": "example",
"evidence": "example",
"format": "example",
"kind": "example",
"name": "example-name",
"needs": "example",
"party": "example",
"role": "example",
"slug": "example",
"system": "example",
"types": [
"example"
],
"vendor": "example",
"versions": [
"1"
],
"via": "example"
},
"target_version": "1",
"tested": "example",
"title": "example",
"version": "1",
"who_acts": [
"example"
]
}
],
"systems": {}
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/propose"Creates the recipe's routes, turned off with a test destination and the intended destination kept on the recipe reference, and records the checklist
POST /admin/v1/recipes/setup
Creates the recipe's routes, turned off with a test destination and the intended destination kept on the recipe reference, and records the checklist. The person needs config:write: the same permission as creating a route by hand.
Needs the permission: config:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
id | string | optional | - |
{
"id": "example-id"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
checklist | any | optional | - |
disabled | any | optional | - |
next | string | optional | - |
path | any | optional | - |
recipe | any | optional | - |
routes | array of string | optional | - |
steps | map of string | optional | - |
{
"checklist": {},
"disabled": {},
"next": "example",
"path": {},
"recipe": {},
"routes": [
"example"
],
"steps": {
"example": "example"
}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found500Internal Server Error503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"id":"example-id"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/setup"Recipe systems
GET /admin/v1/recipes/systems
Needs the permission: metrics:read.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
limit | query | string | optional | - |
q | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
systems | array of any | optional | - |
{
"systems": [
{}
]
}Other responses
401Authentication required403Not permitted503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/systems"Runs the recipe with simulated systems
POST /admin/v1/recipes/try
Runs the recipe with simulated systems: synthetic messages through Velacent Bridge's own converters and checks. Nothing is stored, queued or sent and nothing is billed; the call is audited (the recipe ID only).
Needs the permission: metrics:read.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
id | string | optional | - |
{
"id": "example-id"
}Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"id":"example-id"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/recipes/try"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.