Ehrkits API
6 operations. Back to the API overview. Examples use synthetic data.
Ehr kit list
GET /admin/v1/ehr-kits
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
checker | boolean | optional | - |
kits | array of object (EhrKitSummary) | optional | - |
kits.[]attribution | string | optional | - |
kits.[]badge | string | optional | - |
kits.[]flows | array of string | optional | - |
kits.[]hl7v2 | boolean | optional | - |
kits.[]id | string | optional | - |
kits.[]name | string | optional | - |
kits.[]product_versions | array of object (EhrkitProductVersion) | optional | - |
kits.[]summary | string | optional | - |
kits.[]tested_on | string | optional | - |
kits.[]vendor | string | optional | - |
kits.[]version | string | optional | - |
{
"checker": true,
"kits": [
{
"attribution": "example",
"badge": "example",
"flows": [
"example"
],
"hl7v2": true,
"id": "example-id",
"name": "example-name",
"product_versions": [
{
"fhir": "example",
"product": "example",
"range": "example"
}
],
"summary": "example",
"tested_on": "example",
"vendor": "example",
"version": "1"
}
]
}Other responses
401Authentication required403Not permitted
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits"Ehr kit j w k s
POST /admin/v1/ehr-kits/jwks
Needs the permission: config:history.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
alg | string | optional | - |
kid | string | optional | - |
public_key_pem | string | optional | - |
{
"alg": "example",
"kid": "example-id",
"public_key_pem": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
jwks | any | optional | - |
{
"jwks": {}
}Other responses
401Authentication required403Not permitted
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"alg":"example","kid":"example-id","public_key_pem":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits/jwks"Ehr kit get
GET /admin/v1/ehr-kits/{id}
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
badge | any | optional | - |
checker | boolean | optional | - |
kit | object (EhrkitKit) | optional | Kit is one connection kit definition. |
kit.attribution | string | optional | - |
kit.auth | object (EhrkitAuth) | optional | Auth is the SMART Backend Services pattern. |
kit.feeds | array of object (EhrkitFeed) | optional | - |
kit.flows | array of object (EhrkitFlow) | optional | - |
kit.held_reason | string | optional | HeldReason says why a held kit is not listed. |
kit.hl7v2 | object (EhrkitHL7v2) | optional | HL7v2 is the HL7 v2 interface pattern over MLLP, VPN or Velacent Ramp. |
kit.id | string | optional | - |
kit.listing | object (EhrkitListing) | optional | Listing is the certified product listing check (CHPL) for kits on a standard FHIR API. |
kit.mark | string | optional | Mark is the vendor's name as a trademark, Owner its owner; MarkSymbol is the symbol the vendor uses at first mention (empty until confirmed). |
kit.mark_symbol | string | optional | - |
kit.name | string | optional | - |
kit.not_included | array of string | optional | NotIncluded says in plain language what the kit does not cover and why. |
kit.owner | string | optional | - |
kit.product | string | optional | - |
kit.product_versions | array of object (EhrkitProductVersion) | optional | ProductVersions are the vendor product versions the kit's settings cover (one kit per set of versions that need different settings). |
kit.profile | string | optional | Profile is the companion interface profile (ID and version). |
kit.profile_version | string | optional | - |
kit.references | array of object (EhrkitReference) | optional | - |
kit.schema | string | optional | - |
kit.status | string | optional | - |
kit.steps | array of object (EhrkitStep) | optional | - |
kit.summary | string | optional | - |
kit.synthetic | object (EhrkitSynthetic) | optional | Synthetic lists the synthetic test messages Velacent Bridge generates. |
kit.terms_note | string | optional | TermsNote records what was not read (for the owner at registration). |
kit.tested | object (EhrkitTested) | optional | Tested is the dated test record (required to publish). |
kit.vendor | string | optional | - |
kit.version | string | optional | - |
needed_scopes | any | optional | - |
{
"badge": {},
"checker": true,
"kit": {
"attribution": "example",
"auth": {
"alg": "example",
"base_url_hint": "https://example.org/resource",
"kind": "example",
"registration": "example",
"scope_style": "example"
},
"feeds": [
{}
],
"flows": [
{}
],
"held_reason": "Example text",
"hl7v2": {
"basis": "example",
"description": "example",
"families": [],
"notes": [],
"routes": [],
"transport": "example",
"types": []
},
"id": "example-id",
"listing": {
"confirmed": true,
"note": "example",
"url": "https://example.org/resource"
},
"mark": "example",
"mark_symbol": "example",
"name": "example-name",
"not_included": [
"example"
],
"owner": "example",
"product": "example",
"product_versions": [
{}
],
"profile": "example",
"profile_version": "1",
"references": [
{}
],
"schema": "example",
"status": "ok",
"steps": [
{}
],
"summary": "example",
"synthetic": {
"fhir": [],
"hl7_version": "1",
"hl7v2": []
},
"terms_note": "example",
"tested": {
"against": "example",
"date": "example",
"sandbox": true
},
"vendor": "example",
"version": "1"
},
"needed_scopes": {}
}Other responses
401Authentication required403Not permitted404Not Found
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits/example-id"Ehr kit check
POST /admin/v1/ehr-kits/{id}/check
Needs the permission: config:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
address | string | optional | HL7 v2 over MLLP (kits with an HL7 v2 pattern): Address is the host:port of the system's MLLP interface (through a VPN or Velacent Bridge Ramp); TLSCAFile the CA bundle file when the link uses TLS. The setup check connects, and sends one synthetic message only when SendSynthetic is set (it is delivered to that system, so use a test interface). |
allow_private | boolean | optional | AllowPrivate permits a server at a private (VPC, VPN) address. |
base_url | string | optional | BaseURL is the FHIR base URL of the customer's system. |
client_id | string | optional | ClientID is the client ID the vendor issued to the customer's app registration (an identifier, not a secret). |
group_id | string | optional | GroupID is the Group a group-level Bulk $export reads. |
kid | string | optional | KID is the key ID published in the JWKS (default: KMSKey). |
kms_key | string | optional | KMSKey is the Cloud KMS key version that signs client assertions. |
send_synthetic | boolean | optional | - |
sender_id | string | optional | SenderID is the sender the feeds record resources under. |
skip_routes | array of string | optional | SkipRoutes are template routes the customer does not want. |
synthetic_patient_id | string | optional | SyntheticPatientID is a synthetic test patient the setup checker may read (never a real patient). |
synthetic_search | string | optional | SyntheticSearch is a search (Patient?_count=2) the checker pages through on a synthetic test system, to prove paging works. |
synthetic_type | string | optional | SyntheticType is the synthetic message type sent (default: the first the kit generates, e.g. ADT^A08). |
tls_ca_file | string | optional | - |
token_url | string | optional | TokenURL overrides discovery (.well-known/smart-configuration). |
{
"address": "example",
"allow_private": true,
"base_url": "https://example.org/resource",
"client_id": "example-id",
"group_id": "example-id",
"kid": "example-id",
"kms_key": "example",
"send_synthetic": true,
"sender_id": "example-id",
"skip_routes": [
"example"
],
"synthetic_patient_id": "example-id",
"synthetic_search": "example",
"synthetic_type": "example",
"tls_ca_file": "example",
"token_url": "https://example.org/resource"
}Response 200
{}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"address":"example","allow_private":true,"base_url":"https://example.org/resource","client_id":"example-id","group_id":"example-id","kid":"example-id","kms_key":"example","send_synthetic":true,"sender_id":"example-id","skip_routes":["example"],"synthetic_patient_id":"example-id","synthetic_search":"example","synthetic_type":"example","tls_ca_file":"example","token_url":"https://example.org/resource"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits/example-id/check"Ehr kit render
POST /admin/v1/ehr-kits/{id}/render
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
address | string | optional | HL7 v2 over MLLP (kits with an HL7 v2 pattern): Address is the host:port of the system's MLLP interface (through a VPN or Velacent Bridge Ramp); TLSCAFile the CA bundle file when the link uses TLS. The setup check connects, and sends one synthetic message only when SendSynthetic is set (it is delivered to that system, so use a test interface). |
allow_private | boolean | optional | AllowPrivate permits a server at a private (VPC, VPN) address. |
base_url | string | optional | BaseURL is the FHIR base URL of the customer's system. |
client_id | string | optional | ClientID is the client ID the vendor issued to the customer's app registration (an identifier, not a secret). |
group_id | string | optional | GroupID is the Group a group-level Bulk $export reads. |
kid | string | optional | KID is the key ID published in the JWKS (default: KMSKey). |
kms_key | string | optional | KMSKey is the Cloud KMS key version that signs client assertions. |
send_synthetic | boolean | optional | - |
sender_id | string | optional | SenderID is the sender the feeds record resources under. |
skip_routes | array of string | optional | SkipRoutes are template routes the customer does not want. |
synthetic_patient_id | string | optional | SyntheticPatientID is a synthetic test patient the setup checker may read (never a real patient). |
synthetic_search | string | optional | SyntheticSearch is a search (Patient?_count=2) the checker pages through on a synthetic test system, to prove paging works. |
synthetic_type | string | optional | SyntheticType is the synthetic message type sent (default: the first the kit generates, e.g. ADT^A08). |
tls_ca_file | string | optional | - |
token_url | string | optional | TokenURL overrides discovery (.well-known/smart-configuration). |
{
"address": "example",
"allow_private": true,
"base_url": "https://example.org/resource",
"client_id": "example-id",
"group_id": "example-id",
"kid": "example-id",
"kms_key": "example",
"send_synthetic": true,
"sender_id": "example-id",
"skip_routes": [
"example"
],
"synthetic_patient_id": "example-id",
"synthetic_search": "example",
"synthetic_type": "example",
"tls_ca_file": "example",
"token_url": "https://example.org/resource"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
file | any | optional | - |
rendered | any | optional | - |
{
"file": {},
"rendered": {}
}Other responses
401Authentication required403Not permitted404Not Found
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"address":"example","allow_private":true,"base_url":"https://example.org/resource","client_id":"example-id","group_id":"example-id","kid":"example-id","kms_key":"example","send_synthetic":true,"sender_id":"example-id","skip_routes":["example"],"synthetic_patient_id":"example-id","synthetic_search":"example","synthetic_type":"example","tls_ca_file":"example","token_url":"https://example.org/resource"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits/example-id/render"Ehr kit synthetic
POST /admin/v1/ehr-kits/{id}/synthetic
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
messages | any | optional | - |
{
"messages": {}
}Other responses
401Authentication required403Not permitted404Not Found500Internal Server Error
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/ehr-kits/example-id/synthetic"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.