# FileRecord into EMIS (Partner APIs)

**URL:** <https://developer.community.nhs.uk/t/filerecord-into-emis-partner-apis/3086>\
**Category:** API Platform\
**Tags:** developerhub, emis, integration, fhir, spine\
**Created:** [6 November 2024 10:27 UTC](https://developer.community.nhs.uk/t/filerecord-into-emis-partner-apis/3086 "2024-11-06T10:27:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali.musa](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@ali.musa](https://developer.community.nhs.uk/u/ali.musa)\
**Post date:** [6 November 2024 10:27 UTC](https://developer.community.nhs.uk/t/filerecord-into-emis-partner-apis/3086/1 "2024-11-06T10:27:39Z")

</div>

Hello everyone,

I’m looking to use the partner API to file back a patient consultation to EMIS, including an attachment. If anyone has experience creating XML for medical record input for the FileRecord function, please share an example XML with dummy data.

I appreciate any help you can provide.

Best regards,

@navin.bose

---

<div class="post-metadata">

**Author:** ![navin.bose](https://avatars.discourse-cdn.com/v4/letter/n/22d042/32.png) [@navin.bose](https://developer.community.nhs.uk/u/navin.bose)\
**Post date:** [11 November 2024 10:11 UTC](https://developer.community.nhs.uk/t/filerecord-into-emis-partner-apis/3086/2 "2024-11-11T10:11:30Z")

</div>

Hi Ali,

To file a patient consultation with an attachment into EMIS Web using the Partner API’s `FileRecord` function, you’ll need to construct an XML payload that adheres to EMIS’s specifications.

The webpage: [https://digital.nhs.uk/developer/api-catalogue/interface-mechanism-1-standards](https://digital.nhs.uk/developer/api-catalogue/interface-mechanism-1-standards) will help support with integration of your systems with any principal clinical GP system using IM1.

Please note that access to the Partner API and detailed documentation may require appropriate permissions and agreements with EMIS Health.

Please find attached a **sample XML structure** with placeholder data:  
_Please note that the sample is created using a free_

 ![EMISMessage xmlns - Sample XML](https://europe1.discourse-cdn.com/nhsdigitaldeveloper/original/1X/3b8d6240369a1508a0c7334ee2e33bb3d13f95ac.jpeg)  
_online XML tool_

You can find the NHS Digital/England resources, including sample XML schemas and data dictionaries, on the official **NHS Digital/England Developer Hub**. This platform provides comprehensive documentation, technical resources, and support for developers integrating with NHS systems.

### **NHS Digital/England Developer Hub**

- **Website** : [https://digital.nhs.uk/developer](https://digital.nhs.uk/developer)

The Developer Hub is the central repository for all developer-related resources provided by NHS Digital. Here, you can access:

- **API Documentation** : Detailed guides and references for various NHS APIs.
- **Sample XML Schemas** : Downloadable XML schemas (XSD files) for different services.
- **Data Dictionaries** : Comprehensive lists of data elements and their definitions.
- **Integration Guides** : Step-by-step instructions for integrating with specific NHS services.

For comprehensive guidance on integrating with EMIS Web via the Partner API, refer to the [Interface Mechanism 1 API](https://digital.nhs.uk/developer/api-catalogue/interface-mechanism-1-standards) standards provided by NHS England.

Thanks,

**NHS England API Platform team**

_ **Please note:** The API Platform team can only address queries relevant to the NHS England API platform, including security, rate limiting, logging, monitoring and alerting. **For any API specific queries, please reach out the relevant API teams**._

---

<div class="post-metadata">

**Author:** ![ali.musa](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@ali.musa](https://developer.community.nhs.uk/u/ali.musa)\
**Post date:** [12 November 2024 09:29 UTC](https://developer.community.nhs.uk/t/filerecord-into-emis-partner-apis/3086/3 "2024-11-12T09:29:28Z")

</div>

Thank you for your response i will check this
