The Medical Office Force FHIR API allows you to connect to Medical Office Force products using the FHIR (Fast Healthcare Interoperability Resources) standard for healthcare resources.
The FHIR standard enables application developers to create products and exchange clinical data in a secure manner that is consistent, flexible, and easy to implement.
The FHIR standard is constantly evolving. This version of the Medical Office Force FHIR API supports FHIR release 4 (“R4”) and the United States Core Data for Interoperability (“US Core”) guidelines and requirements for data sharing.
Previous versions of the Medical Office Force FHIR API were compatible with the DSTU2 release. That version is still available, and the documentation is available separately.
A note on terminology: For the purpose of this documentation, the term “application” refers to a software program connecting to a Medical Office Force product through the Medical Office Force FHIR API. The term “product” refers to the Medical Office Force EHR.
A FHIR Capability Statement documents the set of capabilities and behaviours available from the FHIR API service implementation. The Capability Statement includes information about supported FHIR resources and security protocols and should be used by applications as the set of rules the application should follow.
To get a copy of the Medical Office Force FHIR API capability statement, make the following request:
GET/FHIR path]/metadata
FHIR resources are accessed through HTTP and use the HTTP verbs. For example:
The Medical Office Force FHIR API supports both JSON and XML formats. By default, the Medical Office Force FHIR API returns data in JSON. Use the Accept HTTP header to control this format.
The Medical Office Force FHIR API supports the HL7® SMART Application Launch Framework Implementation Guide Release 1.0.0 implementation specification, a profile of the OAuth 2.0 specification. Additionally, the Medical Office Force FHIR API supports OpenID Connect Core 1.0. For more information on these specifications, see hl7.org/fhir/smart-app-launch/1.0.0/.
The following sections describe the authorization flows for FHIR applications.
The endpoint for the product’s Medical Office Force FHIR server is available from the Medical Office Force Endpoint Directory. Typically, endpoints that include /fhir are for product users. These (non-patient) application endpoints can also be tagged with a Provider badge on the Endpoint Directory.
For example:
[ { "url": "authorize", "valueUri": "https://.../authorize" }, { "url": "token", "valueUri": "https://.../token" } ]
If the application credentials are not recognized by the Medical Office Force Authorization server, the server returns an error.
The endpoint for the product’s Medical Office Force FHIR server is available from the Medical Office Force Endpoint Directory Endpoint Directory. Typically, endpoints that include /open are for patient applications. These patient application endpoints can also be tagged with a Patient badge on the Endpoint Directory.