Skip to content

ResultItem - Review Key Logic #58

Description

@George-D-S

def generate_key_resultitem(xml, order_id: int, seq_no: int) -> str:

This needs more of a comment, perhaps just copying the one from the Java code of...

// TNG-470 - If prepost is "PRE" set the relevant key section as ""
//           This means that if "" comes through first, followed by "PRE" they will both get the same key
//           and the PRE entry replaces the "" entry.
//           The actual data is not changed though so the prepost field is whatever actually comes in from the sender

Although I think I know what the intent is here, I'm not sure it works - or not in all scenarios.

I would also have thought it could also apply to Observations as well - assuming it worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions