Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use case: Let WB1 be Maternal blood with the requirement name as ‘Maternal'. Let WB2, WB3, etc. be Cord blood with the requirement name as 'Cord’. If you now want a report from OpenSpecimen where you need to know if the aliquots (planned/unplanned) created under these blood specimens are maternal or cord, you can use this type of query to differentiate between the child specimens.

Steps:

  • Navigate to 'Queries'.

  • Click on '+Create.'

...

  • Add required filters:

...

  • Click on ‘View Records' → Actions → Columns

...

  • Open 'Specimen' form → Ancestor Requirements

...

  • Save the query.

The aliquot’s SR Name and Code will also be visible in the query because in computer science every node is an ancestor of self. This makes implementations efficient and easy to prove.