Skip to content
Reference

Adapter: Allscripts (Veradigm) FHIR R4

Connect to Allscripts (Veradigm) via FHIR R4 using Allscripts proprietary AuthToken authentication.

On this page

Purpose

Read patients, appointments and encounters from Allscripts, and write observations.

Auth

  • Allscripts AuthToken: the adapter signs in with a user name and password and signs in again when a call returns 401.
  • It takes the shared connection options: a client certificate for mutual TLS, a private CA, a minimum TLS version and a proxy. They apply to its token requests too.

Settings

Auth is no selector; the secret settings below are the credentials. Dotted names are fields inside an object setting. Secret settings are encrypted at rest, never returned by a read, and shown masked in the console and in exports; their defaults are not shown.

SettingTypeRequiredDefaultSecretDescription
baseUrlurlYesNo
usernamestringYesNo
passwordstringYesYes
appNamestringYesNo
appUserNamestringYesNo
defaultPracticeIdstringNoNo
tlsCaPemstringNoYesPEM CA certificate(s) to verify the server against. See tlsCaMode.
tlsCaModeenum: replace, addNoNoTrust: replace = only this CA (default), add = the system CAs plus this CA. Needs tlsCaPem.
tlsClientCertPemstringNoYesPEM client certificate, for servers that require mutual TLS. Set with tlsClientKeyPem.
tlsClientKeyPemstringNoYesPEM private key for the client certificate (encrypted at rest).
tlsClientPfxstringNoYesClient certificate and key as a base64 PKCS#12 (.p12 / .pfx) bundle, instead of the PEM pair.
tlsClientPassphrasestringNoYesPassphrase of the PKCS#12 bundle.
tlsMinVersionenum: TLSv1.2, TLSv1.3NoNoLowest TLS version to accept (default TLSv1.2).
proxyUrlurlNoNoHTTP(S) proxy, e.g. http://proxy.example.test:3128 (opens in a new tab). The proxy host must pass the SSRF rules (SSRF_ALLOWLIST for a private one).
proxyUsernamestringNoNoProxy user (Basic auth).
proxyPasswordstringNoYesProxy password.
noProxyarray of stringNoNoHosts sent direct, not through the proxy: a name (and its subdomains), .suffix, host:port or *.

Actions

A trailing ? marks an optional step parameter. A message can supply only the keys in the last column; everything else comes from the step.

ActionWhat it doesStep parametersKeys a message may supply
read-patientRead a single Patient resource by FHIR ID.Noneid, resourceId, resourceType, patient, patientId, fhirId, identifier, name, family, given, birthdate, birthDate, date, category, status, practitioner, appointmentId, encounterId, documentId, queryParams
search-patientsSearch for patients by name, date of birth, identifier, or practice.Noneid, resourceId, resourceType, patient, patientId, fhirId, identifier, name, family, given, birthdate, birthDate, date, category, status, practitioner, appointmentId, encounterId, documentId, queryParams
read-appointmentRead a single Appointment resource by FHIR ID.Noneid, resourceId, resourceType, patient, patientId, fhirId, identifier, name, family, given, birthdate, birthDate, date, category, status, practitioner, appointmentId, encounterId, documentId, queryParams
search-appointmentsSearch appointments by patient, date, status, or practitioner.Noneid, resourceId, resourceType, patient, patientId, fhirId, identifier, name, family, given, birthdate, birthDate, date, category, status, practitioner, appointmentId, encounterId, documentId, queryParams
read-encounterRead a single Encounter resource by FHIR ID.Noneid, resourceId, resourceType, patient, patientId, fhirId, identifier, name, family, given, birthdate, birthDate, date, category, status, practitioner, appointmentId, encounterId, documentId, queryParams
write-observationCreate an Observation resource (vital signs, lab result, etc.).Noneresource, bundle, observation, episodeOfCare, patientId, encounterId, documentId, noteContent, noteTitle, authorName, documentType
create-resourceCreate any FHIR resource from the input (the default send action), or post a transaction Bundle to the FHIR base URL.Noneresource, bundle, observation, episodeOfCare, patientId, encounterId, documentId, noteContent, noteTitle, authorName, documentType

Minimal example

The smallest profile the engine accepts: the required settings only, with synthetic values. Create it with POST /api/adapter-profiles, then test it with POST /api/adapter-profiles/{id}/test.

json
{
  "name": "Allscripts (Veradigm) FHIR R4 (example)",
  "adapterType": "allscripts-fhir",
  "config": {
    "baseUrl": "https://allscripts-fhir.example.test/base",
    "username": "example-username",
    "password": "synthetic-secret",
    "appName": "example-appName",
    "appUserName": "example-appUserName"
  }
}

Limits

  • The send verbs write, send and post run the adapter's default send; the read verbs read, get and fetch read {resourceType}/{id}. An unknown action fails the step without sending anything.
  • defaultPracticeId applies when a step names no practice.
  • The engine refuses a URL that resolves to a private address unless the host is in SSRF_ALLOWLIST (see Environment variables).

Reference