sanger / unified_warehouse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DPL-437-4 Billing report: Documentation

harrietc52 opened this issue · comments

User story
As a developer, I would like to create documentation for the Billing report

Who are the primary contacts for this story
@harrietc52

Who is the nominated tester for UAT
e.g. John S (don't include surnames in public repos)

Acceptance criteria
To be considered successful the solution must allow:

  • Add nested query to get 1st date the Confluence "MLWH helpful queries" page here
  • Add nested query to get number of samples and controls in a lane to the Confluence "MLWH helpful queries" page here
  • Write up business process and decisions which were made to clarify understanding of current billing process
  • Create visual documentation of what the query is actually doing
  • Create Confluence page here

Dependencies
This story is blocked by the following dependencies:

  • #<issue_no.>
  • sanger/#<issue_no.>

References
This story has a non-blocking relationship with:

  • This is a spin-out story from #386

Additional context
Add any other context or screenshots about the feature request here.

Overview

Create an SQL query, to automate the creation of the billing report. The query is wrapped in a Stored Procedure which can be accessed from Tableau, by passing two variables (to and from dates). The data can then be visualised and downloaded from Tableau.

Lucid Chart diagram of Business process here
ERD here
Other docs here

@KatyTaylor @TWJW-SANGER @andrewsparkes @emrojo Would you mind having a read through this documentation of the Billing Automation please?

Documentation

https://ssg-confluence.internal.sanger.ac.uk/display/PSDPUB/Automating+Billing+Report