Core Documentation
Developers vs. Users vs. M2M Clients

Developers vs. Users vs. M2M Clients (Actors)

In ZapEHR, an Actor is any of the three ZapEHR resources capable of getting an access token to invoke ZapEHR's APIs. The three different types of Actors are:

  • Developers — Developer accounts are used to log into the Developer Console and administrate Projects.
  • Users — Users are the people who log into the Applications you configure for securing the apps you build on top of ZapEHR.
  • M2M Clients — M2M Clients are used to access ZapEHR APIs from scripts and server-side code like Zambda Functions.
ActorCan log into the ZapEHR Developer ConsoleCan log into your ZapEHR ApplicationsIs a PersonAuthenticates with OAuth 2.0 Authorization Code FlowAuthenticates with OAuth 2.0 Client Credentials Flow
Developerxxx
Userxxx
M2M Clientx

FHIR Profile

Terminology: FHIR Profile

Every Actor has a FHIR resource that represents them in the FHIR store which is called their "FHIR Profile". The Actor's FHIR Profile serves a few purposes:

Disambiguation: Do not confuse an Actor's FHIR profile with FHIR profiling (opens in a new tab).

Actor FHIR Profile Resource Types

ActorFHIR Resource
DeveloperPractitioner
UserPatient, Practitioner
M2M ClientDevice

Additional Resources