Skip to content

BCDC Data States

Gene Hsu edited this page Feb 25, 2019 · 2 revisions

This document details the states of BCDC data and allowable state transitions.

Ingested Data States

In order for data to be published, data transitions from raw to approved to marked.

Once marked, data can be published. When marked data is published, it automatically reverts back to approved.

Data may be published multiple times.

raw

This is the initial data state when data gets ingested from the U01/U19.

Allowable state transitions:

  • raw -- QC --> approved
  • raw -- DELETE --> deleted (raw)

approved

Approved data has already gone through a QC process.

Allowable state transitions:

  • approved -- MARK --> marked
  • approved -- UNQC --> raw
  • approved -- DELETE --> deleted (approved)

marked

Marked data is ready for publishing.

Allowable state transitions:

  • marked -- UNMARK --> approved
  • marked -- PUBLISH --> approved

deleted (raw)

This state describes (raw) data that has been deleted.

Allowable state transitions:

  • deleted (raw) -- UNDELETE --> raw

deleted (approved)

This state describes (approved) data that has been deleted.

Allowable state transitions:

  • deleted (approved) -- UNDELETE --> approved

Published Data States

When data is published, a version of that data is then publicly available. This published data cannot be deleted, only retracted.

published

Published data has some version tag associated with it.

Allowable state transitions:

  • published -- RETRACT --> retracted

retracted

Retracted data may or may not still be publicly accessible.

Allowable state transitions:

  • retracted -- UNRETRACT --> published