Velacent Bridge: beta December 2026, general availability early 2027. E-mail sales to request beta access.

Documentation menu

Ehrkits API

Last updated . Documentation for the current release. Ask in the product.

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

Response fields of Ehr kit list
FieldTypePresenceDescription
checkerbooleanoptional-
kitsarray of object (EhrKitSummary)optional-
kits.[]attributionstringoptional-
kits.[]badgestringoptional-
kits.[]flowsarray of stringoptional-
kits.[]hl7v2booleanoptional-
kits.[]idstringoptional-
kits.[]namestringoptional-
kits.[]product_versionsarray of object (EhrkitProductVersion)optional-
kits.[]summarystringoptional-
kits.[]tested_onstringoptional-
kits.[]vendorstringoptional-
kits.[]versionstringoptional-
Example response (synthetic data)
{
  "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

  • 401 Authentication required
  • 403 Not permitted
Example request
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

Request body of Ehr kit j w k s
FieldTypePresenceDescription
algstringoptional-
kidstringoptional-
public_key_pemstringoptional-
Example request body (synthetic data)
{
  "alg": "example",
  "kid": "example-id",
  "public_key_pem": "example"
}

Response 200

Response fields of Ehr kit j w k s
FieldTypePresenceDescription
jwksanyoptional-
Example response (synthetic data)
{
  "jwks": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
Example request
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

Parameters of Ehr kit get
NameInTypePresenceDescription
idpathstringrequired-

Response 200

Response fields of Ehr kit get
FieldTypePresenceDescription
badgeanyoptional-
checkerbooleanoptional-
kitobject (EhrkitKit)optionalKit is one connection kit definition.
kit.attributionstringoptional-
kit.authobject (EhrkitAuth)optionalAuth is the SMART Backend Services pattern.
kit.feedsarray of object (EhrkitFeed)optional-
kit.flowsarray of object (EhrkitFlow)optional-
kit.held_reasonstringoptionalHeldReason says why a held kit is not listed.
kit.hl7v2object (EhrkitHL7v2)optionalHL7v2 is the HL7 v2 interface pattern over MLLP, VPN or Velacent Ramp.
kit.idstringoptional-
kit.listingobject (EhrkitListing)optionalListing is the certified product listing check (CHPL) for kits on a standard FHIR API.
kit.markstringoptionalMark 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_symbolstringoptional-
kit.namestringoptional-
kit.not_includedarray of stringoptionalNotIncluded says in plain language what the kit does not cover and why.
kit.ownerstringoptional-
kit.productstringoptional-
kit.product_versionsarray of object (EhrkitProductVersion)optionalProductVersions are the vendor product versions the kit's settings cover (one kit per set of versions that need different settings).
kit.profilestringoptionalProfile is the companion interface profile (ID and version).
kit.profile_versionstringoptional-
kit.referencesarray of object (EhrkitReference)optional-
kit.schemastringoptional-
kit.statusstringoptional-
kit.stepsarray of object (EhrkitStep)optional-
kit.summarystringoptional-
kit.syntheticobject (EhrkitSynthetic)optionalSynthetic lists the synthetic test messages Velacent Bridge generates.
kit.terms_notestringoptionalTermsNote records what was not read (for the owner at registration).
kit.testedobject (EhrkitTested)optionalTested is the dated test record (required to publish).
kit.vendorstringoptional-
kit.versionstringoptional-
needed_scopesanyoptional-
Example response (synthetic data)
{
  "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

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
Example request
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

Parameters of Ehr kit check
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Ehr kit check
FieldTypePresenceDescription
addressstringoptionalHL7 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_privatebooleanoptionalAllowPrivate permits a server at a private (VPC, VPN) address.
base_urlstringoptionalBaseURL is the FHIR base URL of the customer's system.
client_idstringoptionalClientID is the client ID the vendor issued to the customer's app registration (an identifier, not a secret).
group_idstringoptionalGroupID is the Group a group-level Bulk $export reads.
kidstringoptionalKID is the key ID published in the JWKS (default: KMSKey).
kms_keystringoptionalKMSKey is the Cloud KMS key version that signs client assertions.
send_syntheticbooleanoptional-
sender_idstringoptionalSenderID is the sender the feeds record resources under.
skip_routesarray of stringoptionalSkipRoutes are template routes the customer does not want.
synthetic_patient_idstringoptionalSyntheticPatientID is a synthetic test patient the setup checker may read (never a real patient).
synthetic_searchstringoptionalSyntheticSearch is a search (Patient?_count=2) the checker pages through on a synthetic test system, to prove paging works.
synthetic_typestringoptionalSyntheticType is the synthetic message type sent (default: the first the kit generates, e.g. ADT^A08).
tls_ca_filestringoptional-
token_urlstringoptionalTokenURL overrides discovery (.well-known/smart-configuration).
Example request body (synthetic 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"
}

Response 200

Example response (synthetic data)
{}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 503 Unavailable (nothing was changed)
Example request
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

Parameters of Ehr kit render
NameInTypePresenceDescription
idpathstringrequired-

Request body

Request body of Ehr kit render
FieldTypePresenceDescription
addressstringoptionalHL7 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_privatebooleanoptionalAllowPrivate permits a server at a private (VPC, VPN) address.
base_urlstringoptionalBaseURL is the FHIR base URL of the customer's system.
client_idstringoptionalClientID is the client ID the vendor issued to the customer's app registration (an identifier, not a secret).
group_idstringoptionalGroupID is the Group a group-level Bulk $export reads.
kidstringoptionalKID is the key ID published in the JWKS (default: KMSKey).
kms_keystringoptionalKMSKey is the Cloud KMS key version that signs client assertions.
send_syntheticbooleanoptional-
sender_idstringoptionalSenderID is the sender the feeds record resources under.
skip_routesarray of stringoptionalSkipRoutes are template routes the customer does not want.
synthetic_patient_idstringoptionalSyntheticPatientID is a synthetic test patient the setup checker may read (never a real patient).
synthetic_searchstringoptionalSyntheticSearch is a search (Patient?_count=2) the checker pages through on a synthetic test system, to prove paging works.
synthetic_typestringoptionalSyntheticType is the synthetic message type sent (default: the first the kit generates, e.g. ADT^A08).
tls_ca_filestringoptional-
token_urlstringoptionalTokenURL overrides discovery (.well-known/smart-configuration).
Example request body (synthetic 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"
}

Response 200

Response fields of Ehr kit render
FieldTypePresenceDescription
fileanyoptional-
renderedanyoptional-
Example response (synthetic data)
{
  "file": {},
  "rendered": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
Example request
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

Parameters of Ehr kit synthetic
NameInTypePresenceDescription
idpathstringrequired-

Request body

Example request body (synthetic data)
{}

Response 200

Response fields of Ehr kit synthetic
FieldTypePresenceDescription
messagesanyoptional-
Example response (synthetic data)
{
  "messages": {}
}

Other responses

  • 401 Authentication required
  • 403 Not permitted
  • 404 Not Found
  • 500 Internal Server Error
Example request
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.