Opened 2 years ago

Closed 2 years ago

#1446 closed enhancement (fixed)

Add an annotation for extra PAD values

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.43
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

In some cases an extra PAD value is created for samples that are handled by the external lab. It typically happens when the sample originates from a clinic that is in a different region. We need to store both the original PAD and the extra PAD. In the future we also expect that both PAD values are included in the JSON files and that this can be handled by the import wizard. Until that is the case we need to solve it in a different way. It works best if the referral form is registered before the JSON is importer and it requires that both PAD values are present on the referral. In this case the referral registration wizard should have an extra PAD field so that both PAD values can be saved. The JSON importer can then check both annotations and if one of them matches this should be good enough to import without warnings or errors.

Change History (10)

comment:1 by Nicklas Nordborg, 2 years ago

In 6990:

References #1446: Add an annotation for extra PAD values

Added AlternatePAD annotation type.

comment:2 by Nicklas Nordborg, 2 years ago

In 6991:

References #1446: Add an annotation for extra PAD values

Added a field for entering "Alternate PAD" in the referral form registration wizard. This field is visible when the "Specimen exists at external lab" option is selected.

comment:3 by Nicklas Nordborg, 2 years ago

In 6992:

References #1446: Add an annotation for extra PAD values

The JSON import wizard now also checked the PAD value from the JSON file against the AlternatePAD annotation.

comment:4 by Nicklas Nordborg, 2 years ago

In 6993:

References #1446: Add an annotation for extra PAD values

If the Specimen.Sample description field matches the pattern for a PAD value we store it as the AlternatePAD when creating new items.

comment:5 by Nicklas Nordborg, 2 years ago

In 6994:

References #1446: Add an annotation for extra PAD values

The ExternalOperator was not always set depending on the order things were registered.

comment:6 by Nicklas Nordborg, 2 years ago

In 6995:

References #1446: Add an annotation for extra PAD values

The ExternalSpecimenExists annotation should be set to "Yes" until we receive the actual specimen to our lab.

comment:7 by Nicklas Nordborg, 2 years ago

In 6996:

References #1446: Add an annotation for extra PAD values

Display the External operator information in the referral form registration wizard also for regular specimen items (if it is an external sample).

comment:8 by Nicklas Nordborg, 2 years ago

In 6998:

References #1446: Add an annotation for extra PAD values

Added a link for viewing the JSON file to the referral registration wizard if the specimen has been imported from a JSON.

comment:9 by Nicklas Nordborg, 2 years ago

In 7002:

References #1446: Add an annotation for extra PAD values

Fixed a spelling mistake.

comment:10 by Nicklas Nordborg, 2 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.