ESMD FHIR Implementation Guide
1.0.0 - esmd
ESMD FHIR Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Question: Is OAuth required to access the esMD FHIR APIs, and are there additional security measures like IP whitelisting?
Answer: Yes, the esMD FHIR APIs are secured using OAuth 2.0, which ensures only authorized users and applications can access sensitive healthcare using access tokens. Implementers must obtain the appropriate access tokens through the OAuth 2.0 authorization process before making API requests.
Additionally, esMD FHIR employs IP whitelisting for extra security, allowing access only from pre-approved IP addresses. Implementers should ensure that their server IPs are whitelisted for seamless access.
Please refer to the esMD FHIR Implementation Guide Security page for additional information.
Question: What data formats are supported by the esMD FHIR APIs for data exchange between Health Information Handlers (HIHs)/Providers and esMD?
Answer: esMD FHIR APIs exclusively support the JSON format for all data exchanges between HIHs/Providers and the esMD system.
Question: What types of clinical documents does esMD support?
Answer: esMD supports:
• HITSP C62: Used for support of unstructured clinical documents, such as scanned documents or free-text clinical notes.
• Consolidated Clinical Document Architecture (C-CDA): Used for support of structured and unstructured documents which contain headers for patient and provider information.
Question: What formats are supported for HITSP C62 unstructured documents?
Answer: esMD supports the following formats:
• PDF Document:
urn:ihe:iti:xds-sd:pdf:2008urn:ihe:iti:xds:2017:mimeTypeSufficientQuestion: Are there any restrictions on unstructured document formats for HITSP C62?
Answer: Yes, only PDF, XML, or JSON formats are accepted for unstructured documents. esMD relies on the format code to correctly identify the document type without performing content validation.
Question: How does esMD handle C-CDA documents?
Answer: C-CDA documents must have:
• A Header with classifications, patient/provider information, and identifiers.
• A Body for the clinical report, represented as either nonXMLBody (unstructured clinical document) or structuredBody (structured clinical document).
• esMD supports nonXMLBody for unstructured PDF documents and structuredBody for XML-based structured documents as FHIR attachments.
Question: What is the difference between nonXMLBody and structuredBody in C-CDA?
Answer:
• nonXMLBody: Used for unstructured documents (e.g., PDF), wrapped in a CDA header.
• structuredBody: Used for structured clinical data, organized per the C-CDA format.
Question: Can esMD perform validation on the contents of clinical documents?
Answer: No, esMD does not validate the contents of clinical documents but expects the correct format codes to ensure compatibility and processing.
Question: How are esMD-supported documents encapsulated in FHIR?
Answer: esMD encapsulates documents as FHIR attachments:
• Unstructured documents such as PDFs, are wrapped in a nonXMLBody with a C-CDA header.
• Structured XML documents are wrapped in a CDA header, following FHIR attachment guidelines.
Question: Can I submit both unstructured and structured documents in esMD for FHIR?
Answer: Yes, both types are supported:
• Unstructured documents: (PDFs or text documents in XML/JSON) use HITSP C62 format codes.
• Structured documents: (C-CDA standard) are encapsulated in a structuredBody and submitted as FHIR attachments.
Question: What are the primary format codes used in esMD for document exchange?
Answer: esMD uses the following format codes:
• For PDF documents: urn:ihe:iti:xds-sd:pdf:2008
• For unstructured text documents: urn:ihe:iti:xds:2017:mimeTypeSufficient
Question: Who can submit clinical documents to esMD using the esMD FHIR Rest APIs?
Answer: Health Information Handlers (HIHs) and Providers who have completed the esMD FHIR onboarding process can submit clinical documents to esMD, using FHIR attachments to encapsulate unstructured and structured documents.
Question: Can you elaborate on the examples provided in the esMD FHIR Implementation Guide (IG)?
Answer: The examples in the IG are for guidance and educational purposes only and do not contain real patient data. They illustrate FHIR resource structures within esMD, but actual implementations need specific business rules and compliance adherence.
Question: Are FHIR® extensions supported in esMD FHIR, and where can I find more information about them?
Answer: Yes, esMD FHIR supports the Health Level 7 (HL7) FHIR® extensions as defined in the esMD FHIR profiles. Detailed information about supported extensions can be found in the Extensions section of the esMD FHIR Implementation Guide. Only extensions compliant with esMD Profiles are supported for interoperability within esMD.
Question: Can Health Information Handlers (HIHs) onboard to esMD FHIR in phases?
Answer: Yes! esMD FHIR’s modular design allows HIHs to onboard to FHIR using a phased approach based on the following four functional module groups.
HIHs must consider the following things when onboarding to esMD FHIR using a phased approach:
Question: Can HIHs submit requests to esMD using both the XDR Connect Gateway and esMD FHIR APIs?
Answer: Yes! esMD is implementing FHIR is a manner that allows HIHs to submit requests in both FHIR REST APIs and the current XDR Connect Gateway submission mechanisms.
HIHs must consider the following things when submitting requests to esMD using both XDR Connect Gateway and FHIR REST APIs:
Question: After onboarding to FHIR, can an HIH switch back to Connect Gateway if they encounter any issues?
Answer: “Switching back to Connect Gateway” is not necessary because esMD XDR Connect Gateway and esMD FHIR REST API services have been designed to operate simultaneously as independent flows. In this manner, onboarding to FHIR does not prevent an HIH from using the XDR Connect Gateway flow if they experience problems using the FHIR REST API approach. Please refer the following question for additional information, “Can HIHs submit requests to esMD using both the XDR Connect Gateway and esMD FHIR APIs?”
Question: What is the timeline to decommission the XDR Connect Gateway?
Answer: No timeline for decommissioning the XDR Connect Gateway has been set because there is currently no set timeline for all HIHs to complete onboarding to all esMD FHIR modules.
Question: Are there any changes to the current requirements regarding the maximum payload size included in a submission?
Answer: There are no changes to the maximum payload size included in a submission as part of the July 2025 release. esMD will accept a maximum payload size of 200 MB for FHIR Bundle Submission requests. If HIHs wish to submit payloads larger than 200 MB, they must utilize the split payload functionality. esMD is exploring options to increase the maximum payload size in future releases.