EMIS Partner API - FileRecord - Link to existing problem

Hi,

I’m trying to write a link to an existing problem via the EMIS API, but whenever I send a ProblemLinkList it gets added in EMIS as a new problem.

I’ve included an example ConsultationElement below with a ProblemLinkList and Problem sections (as suggested by this previous post where the same thing was trying to be achieved).

What am I missing? Does the details need to match the one I’m linking to exactly or should I be omitting some/all of them?

<ConsultationElement>
    <RefID>1</RefID>
    <Header>
        <Term>Problem</Term>
    </Header>
    <ProblemSection>1</ProblemSection>
    <Event>
        <RefID>1</RefID>
        <GUID>ba2ec5e4-0ebd-4f48-8f3f-d58312036a13</GUID>
        <AssignedDate>22/07/2026</AssignedDate>
        <AssignedTime>11:16:32</AssignedTime>
        <AuthorID>
            <RefID>1</RefID>
        </AuthorID>
        <OriginalAuthor>
            <User>
                <RefID>1</RefID>
            </User>
        </OriginalAuthor>
        <DisplayTerm>Fracture of fibula (disorder)</DisplayTerm>
        <Problem>
            <ExpectedDuration>0</ExpectedDuration>
            <GroupingStatus>0</GroupingStatus>
            <ProblemStatus>1</ProblemStatus>
            <ProblemType>1</ProblemType>
            <Significance>1</Significance>
        </Problem>
        <Code>
            <Value>75591007</Value>
            <Scheme>SNOMED</Scheme>
            <Term>Fracture of fibula (disorder)</Term>
        </Code>
        <TermID>
            <Value>75591007</Value>
            <Scheme>SNOMED</Scheme>
            <Term>Fracture of fibula (disorder)</Term>
        </TermID>
        <ProblemLinkList>
            <Link>
                <Target>
                    <DBID>1</DBID>
                    <RefID>1</RefID>
                    <GUID>D88E6382-D6E2-40A7-99EB-0C472EF43620</GUID>
                    <FileStatus>0</FileStatus>
                </Target>
                <LinkType>1</LinkType>
            </Link>
        </ProblemLinkList>
        <EventType>1</EventType>
        <Episodicity>3</Episodicity>
    </Event>
</ConsultationElement>

Kind regards,

Chris

Hi Chris,

This appears to be an EMIS Partner API-specific question rather than an NHS England API Platform issue.

The fact that the consultation is being successfully filed, but the ProblemLinkList results in a new problem rather than linking to an existing one possibly indicates the request is being processed by EMIS, but not in the way you expect.

Unfortunately, the API Platform team doesn’t have visibility of the internal business rules that EMIS applies when resolving ProblemLinkList references, so we are unable to help.

I would recommend raising this with the EMIS Partner API Support team,

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, CIS2, NHS Login specific queries, please reach out to the relevant API / Service teams.