Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Improve order flow) Remove submitters #4062

Merged
merged 10 commits into from
Jan 10, 2025

Conversation

islean
Copy link
Contributor

@islean islean commented Jan 8, 2025

Description

With the storing services reworked, it seems reasonable to remove the submitters as they were wrappers for

  • a validation service, and
  • a storing service
    but are now only wrappers for the storing services.

This PR reworks the submitter registry to a storing service registry. For now, removing the old validation services was deemed out of scope but will be done in future PRs

Added

Changed

  • The OrderSubmitterRegistry is a StoringServiceRegistry
  • The OrderSubmitters are removed
  • The OrdersAPI needs no Store in its init
  • The OrdersAPI needs a StoringServiceRegistry instead of a SubmitterRegistry
  • The OrdersAPI needs an OrderValidationService

Fixed

How to prepare for test

  • Ssh to relevant server (depending on type of change)
  • Use stage: us
  • Paxa the environment: paxa
  • Install on stage (example for Hasta):
    bash /home/proj/production/servers/resources/hasta.scilifelab.se/update-tool-stage.sh -e S_cg -t cg -b [THIS-BRANCH-NAME] -a

How to test

  • Do ...

Expected test outcome

  • Check that ...
  • Take a screenshot and attach or copy/paste the output.

Review

  • Tests executed by
  • "Merge and deploy" approved by
    Thanks for filling in who performed the code review and the test!

This version is a

  • MAJOR - when you make incompatible API changes
  • MINOR - when you add functionality in a backwards compatible manner
  • PATCH - when you make backwards compatible bug fixes or documentation/instructions

Implementation Plan

  • Document in ...
  • Deploy this branch on ...
  • Inform to ...

@islean islean requested a review from a team as a code owner January 8, 2025 14:59
@clingen-sthlm clingen-sthlm temporarily deployed to stage January 8, 2025 15:10 Inactive
@islean
Copy link
Contributor Author

islean commented Jan 8, 2025

Tested by submitting an RNAFusion order:

request:

{
	"cases": [
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase1",
			"panels": [],
			"priority": "standard",
			"samples": [
				{
					"age_at_sampling": "5",
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": "comment",
					"concentration": null,
					"concentration_ng_ul": "6",
					"concentration_sample": null,
					"container": "96 well plate",
					"container_name": "plate1",
					"control": "negative",
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Other",
					"extraction_method": null,
					"family_name": "miprnasample1",
					"father": null,
					"formalin_fixation_time": "3",
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample1",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": "4",
					"pre_processing_method": null,
					"primer": null,
					"priority": "standard",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": true,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "male",
					"source": "other",
					"status": null,
					"subject_id": "miprnasubject1",
					"tissue_block_size": "small",
					"tumour": false,
					"tumour_purity": "10",
					"verified_organism": null,
					"volume": "20",
					"well_position": "A:1",
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase41",
			"panels": [],
			"priority": "standard",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": "positive",
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample2",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample2",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "standard",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "female",
					"source": "blood",
					"status": null,
					"subject_id": "miprnasubject2",
					"tissue_block_size": "large",
					"tumour": false,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "21",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase42",
			"panels": [],
			"priority": "standard",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample3",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample3",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "standard",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "bone marrow",
					"status": null,
					"subject_id": "miprnasubject3",
					"tissue_block_size": null,
					"tumour": false,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "22",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase2",
			"panels": [],
			"priority": "priority",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR400",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample4",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample4",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "priority",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "buccal swab",
					"status": null,
					"subject_id": "miprnasubject4",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "23",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase3",
			"panels": [],
			"priority": "express",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR400",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample5",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample5",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "express",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "cell line",
					"status": null,
					"subject_id": "miprnasubject5",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "24",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase4",
			"panels": [],
			"priority": "clinical_trials",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample6",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample6",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "clinical_trials",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "cell-free DNA",
					"status": null,
					"subject_id": "miprnasubject6",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "25",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase5",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample7",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample7",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "skin",
					"status": null,
					"subject_id": "miprnasubject7",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "26",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase6",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample8",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample8",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "cytology (not fixed/fresh)",
					"status": null,
					"subject_id": "miprnasubject8",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "27",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase7",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample9",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample9",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "muscle",
					"status": null,
					"subject_id": "miprnasubject9",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "28",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase8",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample10",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample10",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.037Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "nail",
					"status": null,
					"subject_id": "miprnasubject10",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "29",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase9",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample11",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample11",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "saliva",
					"status": null,
					"subject_id": "miprnasubject11",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "30",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase10",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample12",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample12",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "saliva",
					"status": null,
					"subject_id": "miprnasubject12",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "31",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase11",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample13",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample13",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (FFPE)",
					"status": null,
					"subject_id": "miprnasubject13",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "32",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase12",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample14",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample14",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "cytology (FFPE)",
					"status": null,
					"subject_id": "miprnasubject14",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "33",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase13",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample15",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample15",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject15",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "34",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase14",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample16",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample16",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject16",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "35",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase15",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample17",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample17",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject17",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "36",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase16",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample18",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample18",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject18",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "37",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase17",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNAPOAR050",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample19",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample19",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject19",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "38",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		},
		{
			"cohorts": [],
			"internal_id": null,
			"name": "miprnacase18",
			"panels": [],
			"priority": "research",
			"samples": [
				{
					"age_at_sampling": null,
					"application": "RNADEPR100",
					"capture_kit": null,
					"collection_date": null,
					"comment": null,
					"concentration": null,
					"concentration_ng_ul": null,
					"concentration_sample": null,
					"container": "Tube",
					"container_name": null,
					"control": null,
					"custom_index": null,
					"customer": "cust000",
					"data_analysis": "RNAfusion",
					"data_delivery": "fastq + analysis",
					"elution_buffer": "Nuclease-free water",
					"extraction_method": null,
					"family_name": "miprnasample20",
					"father": null,
					"formalin_fixation_time": null,
					"index": null,
					"index_number": null,
					"internal_id": null,
					"lab_code": null,
					"mother": null,
					"name": "miprnasample20",
					"organism": null,
					"organism_other": null,
					"original_lab": null,
					"original_lab_address": null,
					"phenotype_groups": null,
					"phenotype_terms": null,
					"pool": null,
					"post_formalin_fixation_time": null,
					"pre_processing_method": null,
					"primer": null,
					"priority": "research",
					"processedAt": "2025-01-08T15:12:55.038Z",
					"quantity": null,
					"reagent_label": null,
					"reference_genome": null,
					"region": null,
					"region_code": null,
					"require_qc_ok": false,
					"rml_plate_name": null,
					"selection_criteria": null,
					"sex": "unknown",
					"source": "tissue (fresh frozen)",
					"status": null,
					"subject_id": "miprnasubject20",
					"tissue_block_size": null,
					"tumour": true,
					"tumour_purity": null,
					"verified_organism": null,
					"volume": "39",
					"well_position": null,
					"well_position_rml": null
				}
			],
			"synopsis": null
		}
	],
	"comment": null,
	"customer": "cust000",
	"data_delivery": "fastq-analysis",
	"dataAnalysis": "rnafusion",
	"delivery_type": "fastq-analysis",
	"name": "1508.33.rnafusion",
	"project_type": "rnafusion",
	"ticket": null
}

Response:

{
	"project": {
		"date": null,
		"id": "STG15732",
		"name": "1001927"
	},
	"records": [
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50900,
			"internal_id": "elegantfawn",
			"is_compressible": true,
			"name": "miprnacase1",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "standard",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50901,
			"internal_id": "neutrallynx",
			"is_compressible": true,
			"name": "miprnacase41",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "standard",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50902,
			"internal_id": "fineranchovy",
			"is_compressible": true,
			"name": "miprnacase42",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "standard",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50903,
			"internal_id": "largefoxhound",
			"is_compressible": true,
			"name": "miprnacase2",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "priority",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50904,
			"internal_id": "immensemite",
			"is_compressible": true,
			"name": "miprnacase3",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "express",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50905,
			"internal_id": "toughworm",
			"is_compressible": true,
			"name": "miprnacase4",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "clinical_trials",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50906,
			"internal_id": "steadycrawfish",
			"is_compressible": true,
			"name": "miprnacase5",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50907,
			"internal_id": "intentterrapin",
			"is_compressible": true,
			"name": "miprnacase6",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50908,
			"internal_id": "knownsnapper",
			"is_compressible": true,
			"name": "miprnacase7",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50909,
			"internal_id": "equalmagpie",
			"is_compressible": true,
			"name": "miprnacase8",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50910,
			"internal_id": "presentinsect",
			"is_compressible": true,
			"name": "miprnacase9",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50911,
			"internal_id": "championmalamute",
			"is_compressible": true,
			"name": "miprnacase10",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50912,
			"internal_id": "truebee",
			"is_compressible": true,
			"name": "miprnacase11",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50913,
			"internal_id": "primesculpin",
			"is_compressible": true,
			"name": "miprnacase12",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50914,
			"internal_id": "ethicallemming",
			"is_compressible": true,
			"name": "miprnacase13",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50915,
			"internal_id": "jointpenguin",
			"is_compressible": true,
			"name": "miprnacase14",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50916,
			"internal_id": "integralshiner",
			"is_compressible": true,
			"name": "miprnacase15",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50917,
			"internal_id": "leadingprimate",
			"is_compressible": true,
			"name": "miprnacase16",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50918,
			"internal_id": "singulargnat",
			"is_compressible": true,
			"name": "miprnacase17",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		},
		{
			"_cohorts": null,
			"_panels": null,
			"action": null,
			"aggregated_sequencing_qc": "PENDING",
			"comment": null,
			"created_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"customer": {
				"agreement_date": null,
				"agreement_registration": null,
				"comment": "240311: Added \"is trusted\" /AG\r\n220606-VW: Added invoicing address and updated also other fields.",
				"data_archive_location": "PDC",
				"delivery_contact_id": 126,
				"id": 1,
				"internal_id": "cust000",
				"invoice_address": "Karolinska Institutet\r\nFakturor\r\nBox 23109\r\n104 35 Stockholm",
				"invoice_contact_id": 1,
				"invoice_reference": "ZZC1VALWIR",
				"is_clinical": false,
				"is_trusted": true,
				"lab_contact_id": null,
				"loqus_upload": false,
				"name": "Clinical Genomics Stockholm",
				"organisation_number": "202100-2973",
				"primary_contact_id": 1,
				"priority": "research",
				"project_account_ki": "C1 34 101 063",
				"project_account_kth": "80205",
				"return_samples": false,
				"scout_access": true,
				"uppmax_account": null
			},
			"customer_id": 1,
			"data_analysis": "rnafusion",
			"data_delivery": "fastq-analysis",
			"id": 50919,
			"internal_id": "exoticanemone",
			"is_compressible": true,
			"name": "miprnacase18",
			"ordered_at": "Wed, 08 Jan 2025 16:13:10 GMT",
			"panels": [],
			"priority": "research",
			"synopsis": null,
			"tickets": "1001927"
		}
	]
}

@islean
Copy link
Contributor Author

islean commented Jan 8, 2025

Order stored:

image

Cases created:

image

Samples linked:

image

Sample data populated:

image

@islean
Copy link
Contributor Author

islean commented Jan 8, 2025

In LIMS:

image

@islean
Copy link
Contributor Author

islean commented Jan 8, 2025

In Freshdesk:

image

Copy link
Contributor

@diitaz93 diitaz93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 💯 I think a simplification of the registry should be done but that is probably out of scope. Also, I suggest some renaming of directories to avoid having imports several lines long, it could improve readability

Copy link
Contributor

@Vince-janv Vince-janv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👌

@clingen-sthlm clingen-sthlm temporarily deployed to stage January 10, 2025 13:04 Inactive
@islean islean merged commit 653377f into improve-order-flow-main Jan 10, 2025
8 checks passed
@islean islean deleted the remove-submitters branch January 10, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants