All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gel.models.report.avro.MDTDelivery Maven / Gradle / Ivy

/**
 * Autogenerated by Avro
 * 
 * DO NOT EDIT DIRECTLY
 */
package org.gel.models.report.avro;

@SuppressWarnings("all")
/** This protocol defines the integration mechanism to store analysis results in the MDT (Multi-disciplinary Tool). */
@org.apache.avro.specific.AvroGenerated
public interface MDTDelivery {
  public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"MDTDelivery\",\"namespace\":\"org.gel.models.report.avro\",\"doc\":\"This protocol defines the integration mechanism to store analysis results in the MDT (Multi-disciplinary Tool).\",\"types\":[{\"type\":\"record\",\"name\":\"ReportVersionControl\",\"fields\":[{\"name\":\"gitVersionControl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"This is the version for the entire set of data models as referred to the Git release tag\",\"default\":\"6.1.1\"}]},{\"type\":\"enum\",\"name\":\"FileType\",\"symbols\":[\"BAM\",\"gVCF\",\"VCF_small\",\"VCF_somatic_small\",\"VCF_CNV\",\"VCF_somatic_CNV\",\"VCF_SV\",\"VCF_somatic_SV\",\"VCF_SV_CNV\",\"SVG\",\"ANN\",\"BigWig\",\"MD5Sum\",\"ROH\",\"OTHER\",\"PARTITION\",\"VARIANT_FREQUENCIES\",\"COVERAGE\"]},{\"type\":\"record\",\"name\":\"File\",\"doc\":\"This defines a file\\n    This record is uniquely defined by the sample identfier and an URI\\n    Currently sample identifier can be a single string or a list of strings if multiple samples are associated with the same file\\n    *\",\"fields\":[{\"name\":\"sampleId\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Unique identifier(s) of the sample. For example in a multisample vcf this would have an array of all the sample identifiers\"},{\"name\":\"uriFile\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URI path of the file\"},{\"name\":\"fileType\",\"type\":\"FileType\",\"doc\":\"The type of the file\"},{\"name\":\"md5Sum\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The MD5 checksum\"}]},{\"type\":\"record\",\"name\":\"OtherFamilyHistory\",\"doc\":\"Family history for secondary findings.\\n    Arrays of strings describing discrete family history phenotypes.\\n    Usually: `EndocrineTumours`, `colorectal`, `BreastOvarian` and `HDOrStroke` but can be others\",\"fields\":[{\"name\":\"maternalFamilyHistory\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Relevant Maternal family history\"},{\"name\":\"paternalFamilyHistory\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Relevant Maternal family history\"}]},{\"type\":\"enum\",\"name\":\"Program\",\"doc\":\"The Genomics England program\",\"symbols\":[\"cancer\",\"rare_disease\"]},{\"type\":\"enum\",\"name\":\"InterpretationFlags\",\"doc\":\"Some flags relevant to the interpretation of a case\",\"symbols\":[\"mixed_chemistries\",\"mixedLab_preparation\",\"low_tumour_purity\",\"uniparental_isodisomy\",\"uniparental_heterodisomy\",\"unusual_karyotype\",\"high_cnv_count\",\"high_estimate_human_contamination_fraction\",\"mixed_recruiting_gmc\",\"suspected_mosaicism\",\"low_quality_sample\",\"ffpe_tumour_sample\",\"ff_nano_tumour_sample\",\"missing_values_for_proband_in_reported_variant\",\"reissued\",\"supplementary_report_errors\",\"internal_use_only\",\"high_priority\",\"suspected_increased_number_of_false_positive_heterozygous_loss_calls\",\"suspected_poor_quality_cnv_calls\",\"cnv_calls_assumed_xx_karyo\",\"cnv_calls_assumed_xy_karyo\",\"other\"]},{\"type\":\"record\",\"name\":\"InterpretationFlag\",\"doc\":\"A given interpretation flag together with an optional description\",\"fields\":[{\"name\":\"interpretationFlag\",\"type\":\"InterpretationFlags\",\"doc\":\"The interpretation flag\"},{\"name\":\"additionalDescription\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The description for the flag\"}]},{\"type\":\"record\",\"name\":\"ParticipantInterpretationFlags\",\"doc\":\"Interpretation flags at the participant level\",\"fields\":[{\"name\":\"interpretationFlag\",\"type\":\"InterpretationFlags\",\"doc\":\"The interpretation flag\"},{\"name\":\"additionalDescription\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The description for the flag\"},{\"name\":\"SampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Sample Id fron which this flag was reported\"},{\"name\":\"participantId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Participant Id as appeared in the pedigree\"}]},{\"type\":\"enum\",\"name\":\"TissueSource\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"BMA_TUMOUR_SORTED_CELLS\",\"CT_GUIDED_BIOPSY\",\"ENDOSCOPIC_BIOPSY\",\"ENDOSCOPIC_ULTRASOUND_GUIDED_BIOPSY\",\"ENDOSCOPIC_ULTRASOUND_GUIDED_FNA\",\"LAPAROSCOPIC_BIOPSY\",\"LAPAROSCOPIC_EXCISION\",\"MRI_GUIDED_BIOPSY\",\"NON_GUIDED_BIOPSY\",\"SURGICAL_RESECTION\",\"STEREOTACTICALLY_GUIDED_BIOPSY\",\"USS_GUIDED_BIOPSY\",\"NON_STANDARD_BIOPSY\",\"NOT_SPECIFIED\"]},{\"type\":\"enum\",\"name\":\"diseaseType\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"ADULT_GLIOMA\",\"BLADDER\",\"BREAST\",\"CARCINOMA_OF_UNKNOWN_PRIMARY\",\"CHILDHOOD\",\"COLORECTAL\",\"ENDOCRINE\",\"ENDOMETRIAL_CARCINOMA\",\"HAEMONC\",\"HEPATOPANCREATOBILIARY\",\"LUNG\",\"MALIGNANT_MELANOMA\",\"NASOPHARYNGEAL\",\"ORAL_OROPHARYNGEAL\",\"OVARIAN\",\"PROSTATE\",\"RENAL\",\"SARCOMA\",\"SINONASAL\",\"TESTICULAR_GERM_CELL_TUMOURS\",\"UPPER_GASTROINTESTINAL\",\"OTHER\",\"NON_HODGKINS_B_CELL_LYMPHOMA_LOW_MOD_GRADE\",\"CLASSICAL_HODGKINS\",\"NODULAR_LYMPHOCYTE_PREDOMINANT_HODGKINS\",\"T_CELL_LYMPHOMA\"]},{\"type\":\"enum\",\"name\":\"TumourType\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"NOTE: This has been changed completely, the previous tumour type has been split into TumourPresentation and PrimaryOrMetastatic\",\"symbols\":[\"BRAIN_TUMOUR\",\"HAEMATOLOGICAL_MALIGNANCY_SOLID_SAMPLE\",\"HAEMATOLOGICAL_MALIGNANCY_LIQUID_SAMPLE\",\"SOLID_TUMOUR_METASTATIC\",\"SOLID_TUMOUR_PRIMARY\",\"SOLID_TUMOUR\",\"UNKNOWN\"]},{\"type\":\"enum\",\"name\":\"ProgrammePhase\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"CRUK\",\"OXFORD\",\"CLL\",\"IIP\",\"MAIN\",\"EXPT\"]},{\"type\":\"enum\",\"name\":\"Product\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"DNA\",\"RNA\"]},{\"type\":\"enum\",\"name\":\"TumourContent\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"High\",\"Medium\",\"Low\"]},{\"type\":\"enum\",\"name\":\"HaematologicalCancerLineage\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"MYELOID\",\"LYMPHOID\",\"UNKNOWN\"]},{\"type\":\"enum\",\"name\":\"TumourPresentation\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"FIRST_PRESENTATION\",\"RECURRENCE\",\"UNKNOWN\"]},{\"type\":\"enum\",\"name\":\"PrimaryOrMetastatic\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"PRIMARY\",\"METASTATIC\",\"UNKNOWN\",\"NOT_APPLICABLE\"]},{\"type\":\"enum\",\"name\":\"Sex\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Sex\",\"symbols\":[\"MALE\",\"FEMALE\",\"UNKNOWN\"]},{\"type\":\"enum\",\"name\":\"SampleSource\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"The source of the sample\\n    NOTE: IN GMS, BONE_MARROW_ASPIRATE_TUMOUR_CELLS and BONE_MARROW_ASPIRATE_TUMOUR_SORTED_CELLS are deprecated as they have been separated into their respective biotypes\",\"symbols\":[\"AMNIOTIC_FLUID\",\"BLOOD\",\"BONE_MARROW\",\"BONE_MARROW_ASPIRATE_TUMOUR_CELLS\",\"BONE_MARROW_ASPIRATE_TUMOUR_SORTED_CELLS\",\"BUCCAL_SWAB\",\"CHORIONIC_VILLUS_SAMPLE\",\"FIBROBLAST\",\"FLUID\",\"FRESH_TISSUE_IN_CULTURE_MEDIUM\",\"OTHER\",\"SALIVA\",\"TISSUE\",\"TUMOUR\",\"URINE\"]},{\"type\":\"enum\",\"name\":\"PersonKaryotipicSex\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Karyotipic Sex\",\"symbols\":[\"UNKNOWN\",\"XX\",\"XY\",\"XO\",\"XXY\",\"XXX\",\"XXYY\",\"XXXY\",\"XXXX\",\"XYY\",\"OTHER\"]},{\"type\":\"enum\",\"name\":\"PreparationMethod\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"In 100K, preparation Method of sample\\n    NOTE: In GMS, this field is deprecated in favour of StorageMedium and Method\",\"symbols\":[\"ASPIRATE\",\"CD128_SORTED_CELLS\",\"CD138_SORTED_CELLS\",\"EDTA\",\"FF\",\"FFPE\",\"LI_HEP\",\"ORAGENE\"]},{\"type\":\"enum\",\"name\":\"Method\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"In GMS, Method is defined as how the sample was taken directly from the patient\",\"symbols\":[\"ASPIRATE\",\"BIOPSY\",\"NOT_APPLICABLE\",\"RESECTION\",\"SORTED_OTHER\",\"UNKNOWN\",\"UNSORTED\",\"CD138_SORTED\"]},{\"type\":\"enum\",\"name\":\"StorageMedium\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"In GMS, storage medium of sample\",\"symbols\":[\"EDTA\",\"FF\",\"LI_HEP\",\"ORAGENE\",\"FFPE\"]},{\"type\":\"enum\",\"name\":\"Penetrance\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Penetrance assumed in the analysis\",\"symbols\":[\"complete\",\"incomplete\"]},{\"type\":\"enum\",\"name\":\"TernaryOption\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines a yes/no/unknown case\",\"symbols\":[\"yes\",\"no\",\"unknown\"]},{\"type\":\"enum\",\"name\":\"EthnicCategory\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This is the list of ethnicities in ONS16\\n\\n   "," * `D`:  Mixed: White and Black Caribbean\\n    * `E`:  Mixed: White and Black African\\n    * `F`:  Mixed: White and Asian\\n    * `G`:  Mixed: Any other mixed background\\n    * `A`:  White: British\\n    * `B`:  White: Irish\\n    * `C`:  White: Any other White background\\n    * `L`:  Asian or Asian British: Any other Asian background\\n    * `M`:  Black or Black British: Caribbean\\n    * `N`:  Black or Black British: African\\n    * `H`:  Asian or Asian British: Indian\\n    * `J`:  Asian or Asian British: Pakistani\\n    * `K`:  Asian or Asian British: Bangladeshi\\n    * `P`:  Black or Black British: Any other Black background\\n    * `S`:  Other Ethnic Groups: Any other ethnic group\\n    * `R`:  Other Ethnic Groups: Chinese\\n    * `Z`:  Not stated\",\"symbols\":[\"D\",\"E\",\"F\",\"G\",\"A\",\"B\",\"C\",\"L\",\"M\",\"N\",\"H\",\"J\",\"K\",\"P\",\"S\",\"R\",\"Z\"]},{\"type\":\"enum\",\"name\":\"ClinicalEthnicity\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"* A     British, Mixed British\\n    * B     Irish\\n    * C     Any other White background\\n    * C2    Northern Irish\\n    * C3    Other white, white unspecified\\n    * CA    English\\n    * CB    Scottish\\n    * CC    Welsh\\n    * CD    Cornish\\n    * CE    Cypriot (part not stated)\\n    * CF    Greek\\n    * CG    Greek Cypriot\\n    * CH    Turkish\\n    * CJ    Turkish Cypriot\\n    * CK    Italian\\n    * CL    Irish Traveller\\n    * CM    Traveller\\n    * CN    Gypsy/Romany\\n    * CP    Polish\\n    * CQ    All republics which made up the former USSR\\n    * CR    Kosovan\\n    * CS    Albanian\\n    * CT    Bosnian\\n    * CU    Croatian\\n    * CV    Serbian\\n    * CW    Other republics which made up the former Yugoslavia\\n    * CX    Mixed white\\n    * CY    Other white European, European unspecified, European mixed\\n    * D     White and Black Caribbean\\n    * E     White and Black African\\n    * F     White and Asian\\n    * G     Any other mixed background\\n    * GA    Black and Asian\\n    * GB    Black and Chinese\\n    * GC    Black and White\\n    * GD    Chinese and White\\n    * GE    Asian and Chinese\\n    * GF    Other Mixed, Mixed Unspecified\\n    * H     Indian or British Indian\\n    * J     Pakistani or British Pakistani\\n    * K     Bangladeshi or British Bangladeshi\\n    * L     Any other Asian background\\n    * LA    Mixed Asian\\n    * LB    Punjabi\\n    * LC    Kashmiri\\n    * LD    East African Asian\\n    * LE    Sri Lanka\\n    * LF    Tamil\\n    * LG    Sinhalese\\n    * LH    British Asian\\n    * LJ    Caribbean Asian\\n    * LK    Other Asian, Asian unspecified\\n    * M     Caribbean\\n    * N     African\\n    * P     Any other Black background\\n    * PA    Somali\\n    * PB    Mixed Black\\n    * PC    Nigerian\\n    * PD    Black British\\n    * PE    Other Black, Black unspecified\\n    * R     Chinese\\n    * S     Any other ethnic group\\n    * S1    Ashkenazi\\n    * S2    Sephardi\\n    * SA    Vietnamese\\n    * SB    Japanese\\n    * SC    Filipino\\n    * SD    Malaysian\\n    * SE    Any Other Group\\n    * Z     Not stated\",\"symbols\":[\"A\",\"B\",\"C\",\"C2\",\"C3\",\"CA\",\"CB\",\"CC\",\"CD\",\"CE\",\"CF\",\"CG\",\"CH\",\"CJ\",\"CK\",\"CL\",\"CM\",\"CN\",\"CP\",\"CQ\",\"CR\",\"CS\",\"CT\",\"CU\",\"CV\",\"CW\",\"CX\",\"CY\",\"D\",\"E\",\"F\",\"G\",\"GA\",\"GB\",\"GC\",\"GD\",\"GE\",\"GF\",\"H\",\"J\",\"K\",\"L\",\"LA\",\"LB\",\"LC\",\"LD\",\"LE\",\"LF\",\"LG\",\"LH\",\"LJ\",\"LK\",\"M\",\"N\",\"P\",\"PA\",\"PB\",\"PC\",\"PD\",\"PE\",\"R\",\"S\",\"S1\",\"S2\",\"SA\",\"SB\",\"SC\",\"SD\",\"SE\",\"Z\"]},{\"type\":\"enum\",\"name\":\"KgPopCategory\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"1K Genomes project populations\",\"symbols\":[\"ACB\",\"ASW\",\"BEB\",\"CDX\",\"CEU\",\"CHB\",\"CHS\",\"CLM\",\"ESN\",\"FIN\",\"GBR\",\"GIH\",\"GWD\",\"IBS\",\"ITU\",\"JPT\",\"KHV\",\"LWK\",\"MSL\",\"MXL\",\"PEL\",\"PJL\",\"PUR\",\"STU\",\"TSI\",\"YRI\"]},{\"type\":\"enum\",\"name\":\"KgSuperPopCategory\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"1K Genomes project super populations\",\"symbols\":[\"AFR\",\"AMR\",\"EAS\",\"EUR\",\"SAS\"]},{\"type\":\"record\",\"name\":\"ChiSquare1KGenomesPhase3Pop\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Chi-square test for goodness of fit of this sample to 1000 Genomes Phase 3 populations\",\"fields\":[{\"name\":\"kgSuperPopCategory\",\"type\":\"KgSuperPopCategory\",\"doc\":\"1K Super Population\"},{\"name\":\"kgPopCategory\",\"type\":[\"null\",\"KgPopCategory\"],\"doc\":\"1K Population\"},{\"name\":\"chiSquare\",\"type\":\"double\",\"doc\":\"Chi-square test for goodness of fit of this sample to this 1000 Genomes Phase 3 population\"}]},{\"type\":\"record\",\"name\":\"Date\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines a date record\",\"fields\":[{\"name\":\"year\",\"type\":\"int\",\"doc\":\"Format YYYY\"},{\"name\":\"month\",\"type\":[\"null\",\"int\"],\"doc\":\"Format MM. e.g June is 06\"},{\"name\":\"day\",\"type\":[\"null\",\"int\"],\"doc\":\"Format DD e.g. 12th of October is 12\"}]},{\"type\":\"record\",\"name\":\"AnalysisPanel\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"An analysis panel\",\"fields\":[{\"name\":\"specificDisease\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The specific disease that a panel tests\"},{\"name\":\"panelName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The name of the panel\"},{\"name\":\"panelId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Id of the panel\"},{\"name\":\"panelVersion\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The version of the panel\"},{\"name\":\"reviewOutcome\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Deprecated\"},{\"name\":\"multipleGeneticOrigins\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Deprecated\"}]},{\"type\":\"record\",\"name\":\"Ancestries\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Ancestries, defined as Ethnic category(ies) and Chi-square test\",\"fields\":[{\"name\":\"mothersEthnicOrigin\",\"type\":[\"null\",\"EthnicCategory\"],\"doc\":\"Mother's Ethnic Origin\"},{\"name\":\"mothersOtherRelevantAncestry\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Mother's Ethnic Origin Description\"},{\"name\":\"fathersEthnicOrigin\",\"type\":[\"null\",\"EthnicCategory\"],\"doc\":\"Father's Ethnic Origin\"},{\"name\":\"fathersOtherRelevantAncestry\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Father's Ethnic Origin Description\"},{\"name\":\"chiSquare1KGenomesPhase3Pop\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"ChiSquare1KGenomesPhase3Pop\"}],\"doc\":\"Chi-square test for goodness of fit of this sample to 1000 Genomes Phase 3 populations\"}]},{\"type\":\"enum\",\"name\":\"GenericConsent\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"clinicalEthnicities supersedes Ancestries in GMS\",\"symbols\":[\"yes\",\"no\",\"undefined\",\"not_applicable\"]},{\"type\":\"record\",\"name\":\"GmsConsentStatus\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Consent Status for GMS\",\"fields\":[{\"name\":\"programmeConsent\",\"type\":\"GenericConsent\",\"doc\":\"Is this individual consented to the programme? It could simply be a family member that is not consented\\n        but for whom affection status is known\"},{\"name\":\"primaryFindingConsent\",\"type\":\"GenericConsent\",\"doc\":\"Consent for feedback of primary findings?\\n        RD: Primary Findings\\n        Cancer: PrimaryFindings is somatic + pertinent germline findings\"},{\"name\":\"researchConsent\",\"type\":\"GenericConsent\",\"doc\":\"Research Consent\"},{\"name\":\"healthRelatedFindingConsent\",\"type\":\"GenericConsent\",\"doc\":\"Consent for secondary health related findings?\"},{\"name\":\"carrierStatusConsent\",\"type\":\"GenericConsent\",\"doc\":\"Consent for carrier status check?\"},{\"name\":\"pharmacogenomicsFindingConsent\",\"type\":\"GenericConsent\",\"doc\":\"Consent for pharmacogenomics consent as secondary findings?\"}]},{\"type\":\"record\",\"name\":\"ConsentStatus\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Consent Status for 100k program\",\"fields\":[{\"name\":\"programmeConsent\",\"type\":\"boolean\",\"doc\":\"Is this individual consented to the programme?\\n        It could simply be a family member that is not consented but for whom affection status is known\",\"default\":false},{\"name\":\"primaryFindingConsent\",\"type\":\"boolean\",\"doc\":\"Consent for feedback of primary findings?\",\"default\":false},{\"name\":\"secondaryFindingConsent\",\"type\":\"boolean\",\"doc\":\"Consent for secondary finding lookup\",\"default\":false},{\"name\":\"carrierStatusConsent\",\"type\":\"boolean\",\"doc\":\"Consent for carrier status check?\",\"default\":false}]},{\"type\":\"record\",\"","name\":\"InbreedingCoefficient\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Inbreeding coefficient\",\"fields\":[{\"name\":\"sampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"This is the sample id against which the coefficient was estimated\"},{\"name\":\"program\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Name of program used to calculate the coefficient\"},{\"name\":\"version\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Version of the programme\"},{\"name\":\"estimationMethod\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Where various methods for estimation exist, which method was used.\"},{\"name\":\"coefficient\",\"type\":\"double\",\"doc\":\"Inbreeding coefficient ideally a real number in [0,1]\"},{\"name\":\"standardError\",\"type\":[\"null\",\"double\"],\"doc\":\"Standard error of the Inbreeding coefficient\"}]},{\"type\":\"enum\",\"name\":\"FamiliarRelationship\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Familiar relationship from pedrigree\",\"symbols\":[\"TwinsMonozygous\",\"TwinsDizygous\",\"TwinsUnknown\",\"FullSibling\",\"FullSiblingF\",\"FullSiblingM\",\"Mother\",\"Father\",\"Son\",\"Daughter\",\"ChildOfUnknownSex\",\"MaternalAunt\",\"MaternalUncle\",\"MaternalUncleOrAunt\",\"PaternalAunt\",\"PaternalUncle\",\"PaternalUncleOrAunt\",\"MaternalGrandmother\",\"PaternalGrandmother\",\"MaternalGrandfather\",\"PaternalGrandfather\",\"DoubleFirstCousin\",\"MaternalCousinSister\",\"PaternalCousinSister\",\"MaternalCousinBrother\",\"PaternalCousinBrother\",\"Cousin\",\"Spouse\",\"Other\",\"RelationIsNotClear\",\"Unrelated\",\"Unknown\"]},{\"type\":\"record\",\"name\":\"PreviousTreatment\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"In GMS, Previous Treatment of Patient\",\"fields\":[{\"name\":\"previousTreatmentType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"previousTreatmentName\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"previousTreatmentDate\",\"type\":[\"null\",\"Date\"]}]},{\"type\":\"record\",\"name\":\"ClinicalIndication\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"clinicalIndicationUid\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"GUID of Clinical Indication for the Referral\"},{\"name\":\"clinicalIndicationCode\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Code of Clinical Indication, e.g. (RT-13)\"},{\"name\":\"clinicalIndicationFullName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Clinical Indication Full Name\"},{\"name\":\"clinicalIndicationVersionNumber\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Clinical Indication version number\"}]},{\"type\":\"record\",\"name\":\"Morphology\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"id\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The ontology term id or accession in OBO format ${ONTOLOGY_ID}:${TERM_ID} (http://www.obofoundry.org/id-policy.html)\"},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The ontology term name\"},{\"name\":\"value\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Optional value for the ontology term, the type of the value is not checked\\n        (i.e.: we could set the pvalue term to \\\"significant\\\" or to \\\"0.0001\\\")\"},{\"name\":\"version\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Ontology version\"}]},{\"type\":\"record\",\"name\":\"Topography\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"id\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The ontology term id or accession in OBO format ${ONTOLOGY_ID}:${TERM_ID} (http://www.obofoundry.org/id-policy.html)\"},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The ontology term name\"},{\"name\":\"value\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Optional value for the ontology term, the type of the value is not checked\\n        (i.e.: we could set the pvalue term to \\\"significant\\\" or to \\\"0.0001\\\")\"},{\"name\":\"version\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Ontology version\"}]},{\"type\":\"record\",\"name\":\"GermlineSample\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"A germline sample\",\"fields\":[{\"name\":\"sampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Sample identifier (e.g, LP00012645_5GH))\"},{\"name\":\"labSampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Lab sample identifier\"},{\"name\":\"LDPCode\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"LDP Code (Local Delivery Partner)\"},{\"name\":\"source\",\"type\":[\"null\",\"SampleSource\"],\"doc\":\"Source of the sample\"},{\"name\":\"product\",\"type\":[\"null\",\"Product\"],\"doc\":\"Product of the sample\"},{\"name\":\"preparationMethod\",\"type\":[\"null\",\"PreparationMethod\"],\"doc\":\"Preparation method\\n        NOTE: In GMS, this has been deprecated in favour of Method and storageMedium\"},{\"name\":\"programmePhase\",\"type\":[\"null\",\"ProgrammePhase\"],\"doc\":\"Genomics England programme phase\"},{\"name\":\"clinicalSampleDateTime\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The time when the sample was received. In the format YYYY-MM-DDTHH:MM:SS+0000\"},{\"name\":\"participantId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"participantUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Participant UId of the sample\"},{\"name\":\"sampleUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"maskedPid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"method\",\"type\":[\"null\",\"Method\"],\"doc\":\"In GMS, this is how the sample was extracted from the participant\"},{\"name\":\"storageMedium\",\"type\":[\"null\",\"StorageMedium\"],\"doc\":\"In GMS, this is what solvent/medium the sample was stored in\"},{\"name\":\"sampleType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the sampleType as entered by the clinician in TOMs\"},{\"name\":\"sampleState\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the sampleState as entered by the clinician in TOMs\"}]},{\"type\":\"record\",\"name\":\"TumourSample\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"A tumour sample\",\"fields\":[{\"name\":\"sampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Sample identifier (e.g, LP00012645_5GH))\"},{\"name\":\"labSampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Lab sample identifier\"},{\"name\":\"LDPCode\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"LDP Code (Local Delivery Partner)\"},{\"name\":\"tumourId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is the ID of the tumour from which this tumour sample was taken from\"},{\"name\":\"programmePhase\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Genomics England programme phase\"},{\"name\":\"diseaseType\",\"type\":[\"null\",\"diseaseType\"],\"doc\":\"Disease type.\\n        NOTE: Deprecated in GMS\"},{\"name\":\"diseaseSubType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Disease subtype.\\n        NOTE: Deprecated in GMS\"},{\"name\":\"haematologicalCancer\",\"type\":[\"null\",\"boolean\"],\"doc\":\"True or false if this sample is of type: Haematological Cancer\"},{\"name\":\"haematologicalCancerLineage\",\"type\":[\"null\",\"HaematologicalCancerLineage\"],\"doc\":\"This is the Haematological cancer lineage of the tumourSample if this sample is from a haematological cancer\"},{\"name\":\"clinicalSampleDateTime\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The time when the sample was received. In the format YYYY-MM-DDTHH:MM:SS+0000\"},{\"name\":\"tumourType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Tumor type.\\n        NOTE: Deprecated in GMS in tumourSample but available in tumour record\"},{\"name\":\"tumourContent\",\"type\":[\"null\",\"TumourContent\"],\"doc\":\"This is the tumour content\"},{\"name\":\"tumourContentPercentage\",\"type\":[\"null\",\"float\"],\"doc\":\"This is the tumour content percentage\"},{\"name\":\"source\",\"type\":[\"null\",\"SampleSource\"],\"doc\":\"Source of the sample\"},{\"name\":\"preparationMethod\",\"type\":[\"null\",\"PreparationMethod\"],\"doc\":\"The pr","eparation method of the sample\\n        NOTE: Deprecated in GMS in replace of Method and storageMedium record\"},{\"name\":\"tissueSource\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The tissue source of the sample.\\n        NOTE: DEPRECATED IN GMS in replace of method record\"},{\"name\":\"product\",\"type\":[\"null\",\"Product\"],\"doc\":\"Product of the sample\"},{\"name\":\"sampleMorphologies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Morphology\"}],\"doc\":\"Morphology according to the sample taken\"},{\"name\":\"sampleTopographies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Topography\"}],\"doc\":\"Topography according to the sample taken\"},{\"name\":\"sampleUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the GUID of the sample\"},{\"name\":\"participantId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Participant Id of the sample\"},{\"name\":\"participantUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Participant UId of the sample\"},{\"name\":\"maskedPid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the maskedPID\"},{\"name\":\"method\",\"type\":[\"null\",\"Method\"],\"doc\":\"In GMS, this is how the sample was extracted from the participant\"},{\"name\":\"storageMedium\",\"type\":[\"null\",\"StorageMedium\"],\"doc\":\"In GMS, this is what solvent/medium the sample was stored in\"},{\"name\":\"sampleType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the sampleType as entered by the clinician in TOMs\"},{\"name\":\"sampleState\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"In GMS, this is the sampleState as entered by the clinician in TOMs\"}]},{\"type\":\"enum\",\"name\":\"SegregationPattern\",\"symbols\":[\"UniparentalIsodisomy\",\"SimpleRecessive\",\"CompoundHeterozygous\",\"deNovo\",\"InheritedAutosomalDominant\",\"InheritedAutosomalDominantMaternallyImprinted\",\"InheritedAutosomalDominantPaternallyImprinted\",\"XLinkedCompoundHeterozygous\",\"XLinkedSimpleRecessive\",\"XLinkedMonoallelic\",\"MitochondrialGenome\"]},{\"type\":\"enum\",\"name\":\"UniparentalDisomyType\",\"symbols\":[\"isodisomy\",\"heterodisomy\",\"both\"]},{\"type\":\"enum\",\"name\":\"UniparentalDisomyOrigin\",\"symbols\":[\"paternal\",\"maternal\",\"unknown\"]},{\"type\":\"enum\",\"name\":\"TimeUnit\",\"symbols\":[\"years\",\"months\",\"weeks\",\"days\",\"hours\",\"minutes\",\"na\"]},{\"type\":\"enum\",\"name\":\"AlleleOrigin\",\"doc\":\"Allele origin.\\n\\n* `SO_0001781`: de novo variant. http://purl.obolibrary.org/obo/SO_0001781\\n* `SO_0001778`: germline variant. http://purl.obolibrary.org/obo/SO_0001778\\n* `SO_0001775`: maternal variant. http://purl.obolibrary.org/obo/SO_0001775\\n* `SO_0001776`: paternal variant. http://purl.obolibrary.org/obo/SO_0001776\\n* `SO_0001779`: pedigree specific variant. http://purl.obolibrary.org/obo/SO_0001779\\n* `SO_0001780`: population specific variant. http://purl.obolibrary.org/obo/SO_0001780\\n* `SO_0001777`: somatic variant. http://purl.obolibrary.org/obo/SO_0001777\",\"symbols\":[\"de_novo_variant\",\"germline_variant\",\"maternal_variant\",\"paternal_variant\",\"pedigree_specific_variant\",\"population_specific_variant\",\"somatic_variant\"]},{\"type\":\"enum\",\"name\":\"ModeOfInheritance\",\"doc\":\"An enumeration for the different mode of inheritances:\\n\\n* `monoallelic_not_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, not imprinted\\n* `monoallelic_maternally_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, maternally imprinted (paternal allele expressed)\\n* `monoallelic_paternally_imprinted`: MONOALLELIC, autosomal or pseudoautosomal, paternally imprinted (maternal allele expressed)\\n* `monoallelic`: MONOALLELIC, autosomal or pseudoautosomal, imprinted status unknown\\n* `biallelic`: BIALLELIC, autosomal or pseudoautosomal\\n* `monoallelic_and_biallelic`: BOTH monoallelic and biallelic, autosomal or pseudoautosomal\\n* `monoallelic_and_more_severe_biallelic`: BOTH monoallelic and biallelic, autosomal or pseudoautosomal (but BIALLELIC mutations cause a more SEVERE disease form), autosomal or pseudoautosomal\\n* `xlinked_biallelic`: X-LINKED: hemizygous mutation in males, biallelic mutations in females\\n* `xlinked_monoallelic`: X linked: hemizygous mutation in males, monoallelic mutations in females may cause disease (may be less severe, later onset than males)\\n* `mitochondrial`: MITOCHONDRIAL\\n* `unknown`: Unknown\",\"symbols\":[\"monoallelic\",\"monoallelic_not_imprinted\",\"monoallelic_maternally_imprinted\",\"monoallelic_paternally_imprinted\",\"biallelic\",\"monoallelic_and_biallelic\",\"monoallelic_and_more_severe_biallelic\",\"xlinked_biallelic\",\"xlinked_monoallelic\",\"mitochondrial\",\"unknown\",\"na\"]},{\"type\":\"enum\",\"name\":\"Zygosity\",\"doc\":\"It is a representation of the zygosity\\n\\n* `reference_homozygous`: 0/0, 0|0\\n* `heterozygous`: 0/1, 1/0, 1|0, 0|1\\n* `alternate_homozygous`: 1/1, 1|1\\n* `missing`: ./., .|.\\n* `half_missing_reference`: ./0, 0/., 0|., .|0\\n* `half_missing_alternate`: ./1, 1/., 1|., .|1\\n* `alternate_hemizigous`: 1\\n* `reference_hemizigous`: 0\\n* `unk`: Anything unexpected\",\"symbols\":[\"reference_homozygous\",\"heterozygous\",\"alternate_homozygous\",\"missing\",\"half_missing_reference\",\"half_missing_alternate\",\"alternate_hemizigous\",\"reference_hemizigous\",\"unk\",\"na\"]},{\"type\":\"enum\",\"name\":\"SupportingReadType\",\"symbols\":[\"spanning\",\"flanking\",\"inrepeat\"]},{\"type\":\"enum\",\"name\":\"Tier\",\"doc\":\"Variant tiers as defined by Genomics England\",\"symbols\":[\"NONE\",\"TIER1\",\"TIER2\",\"TIER3\",\"TIER4\",\"TIER5\",\"TIERA\",\"TIERB\"]},{\"type\":\"enum\",\"name\":\"Assembly\",\"doc\":\"The reference genome assembly\",\"symbols\":[\"GRCh38\",\"GRCh37\"]},{\"type\":\"enum\",\"name\":\"ClinicalSignificance\",\"symbols\":[\"benign\",\"likely_benign\",\"likely_pathogenic\",\"pathogenic\",\"uncertain_significance\",\"excluded\"]},{\"type\":\"enum\",\"name\":\"DrugResponseClassification\",\"symbols\":[\"altered_sensitivity\",\"reduced_sensitivity\",\"increased_sensitivity\",\"altered_resistance\",\"increased_resistance\",\"reduced_resistance\",\"increased_risk_of_toxicity\",\"reduced_risk_of_toxicity\",\"altered_toxicity\",\"adverse_drug_reaction\",\"indication\",\"contraindication\",\"dosing_alteration\",\"increased_dose\",\"reduced_dose\",\"increased_monitoring\",\"increased_efficacy\",\"reduced_efficacy\",\"altered_efficacy\"]},{\"type\":\"enum\",\"name\":\"PrognosisClassification\",\"symbols\":[\"altered_prognosis\",\"favourable_prognosis\",\"unfavourable_prognosis\"]},{\"type\":\"enum\",\"name\":\"TraitAssociation\",\"symbols\":[\"established_risk_allele\",\"likely_risk_allele\",\"uncertain_risk_allele\",\"protective\"]},{\"type\":\"enum\",\"name\":\"TumorigenesisClassification\",\"symbols\":[\"driver\",\"passenger\",\"modifier\"]},{\"type\":\"enum\",\"name\":\"VariantFunctionalEffect\",\"symbols\":[\"dominant_negative_variant\",\"gain_of_function_variant\",\"lethal_variant\",\"loss_of_function_variant\",\"loss_of_heterozygosity\",\"null_variant\"]},{\"type\":\"enum\",\"name\":\"Domain\",\"symbols\":[\"DOMAIN1\",\"DOMAIN2\",\"DOMAIN3\",\"DOMAIN4\",\"NONE\"]},{\"type\":\"enum\",\"name\":\"RoleInCancer\",\"doc\":\"The role of a given genomic feature in cancer\\n\\n* `NCIT_C16936`: oncogene. A gene that is a mutated (changed) form of a gene involved in normal cell growth. Oncogenes may cause the growth of cancer cells. Mutations in genes that become oncogenes can be inherited or caused by being exposed to substances in the environment that cause cancer. http://purl.obolibrary.org/obo/NCIT_C16936\\n* `NCIT_C17362`: tumor_suppressor_gene. A type of gene that makes a protein called a tumor suppressor protein that helps control cell growth. Mutations (changes in DNA) in antioncogenes may lead to cancer. http://purl.obolibrary.org/obo/NCIT_C17362\",\"symbols\":[\"oncogene\",\"tumor_suppressor_gene\",\"both\"]},{\"type\":\"enum\",\"name\":\"AcmgEvidenceType\",\"doc\":\"Each ACMG cirterion will be classifed as benign or pathogenic\",\"symbols\":[\"benign\",\"pathogenic\"]},{\"type\":\"enum\",\"name\":\"AcmgEvidenceWeight\",\"doc\":\"Each ACMG criterion is weighted using the following terms:\\n\\n* `stand_alone`: `A`, stand-alone applied for benign variant critieria `(BA1)`\\n* `supporting`: `P`, supporting applied for benign variant critieria `(BP1-6)` and pathogenic variant criteria `(PP1-5)`\\n* `moderate`: `M`, moderate applied for pathogenic variant critieria (PM1-6)\\n* `strong`: `S`, strong applied for pathogenic variant critieria (PS1-4)\\n* `very_strong`: `S`, Very St","ong applied for pathogenic variant critieria (PVS1)\",\"symbols\":[\"stand_alone\",\"supporting\",\"moderate\",\"strong\",\"very_strong\"]},{\"type\":\"enum\",\"name\":\"AcmgEvidenceCategory\",\"doc\":\"Each ACMG criterion is classified in one of these categories\",\"symbols\":[\"population_data\",\"computational_and_predictive_data\",\"functional_data\",\"segregation_data\",\"de_novo_data\",\"allelic_data\",\"other_database\",\"other_data\"]},{\"type\":\"enum\",\"name\":\"ActivationStrength\",\"doc\":\"Activation Strength enumeration:\\n* `strong`\\n* `moderate`\\n* `supporting`\\n* `very_strong`\\n* `stand_alone`\",\"symbols\":[\"strong\",\"moderate\",\"supporting\",\"very_strong\",\"stand_alone\"]},{\"type\":\"enum\",\"name\":\"AmpEvidenceType\",\"doc\":\"Type of evidence in the AMP guideline\",\"symbols\":[\"mutation_type\",\"therapies\",\"variant_frequencies\",\"potential_germline\",\"population_database_presence\",\"germline_database_presence\",\"somatic_database_presence\",\"impact_predictive_software\",\"pathway_involvement\",\"publications\"]},{\"type\":\"enum\",\"name\":\"AmpTier\",\"doc\":\"AMP tier:\\n* `TierI`: Variants of Strong Clinical Significance\\n* `TierII`: Variants of Potential Clinical Significance\\n* `TierIII`: Variants of Unknown Clinical Significance\\n* `TierIV`: Benign or Likely Benign Variants\",\"symbols\":[\"tierI\",\"tierII\",\"tierIII\",\"tierIV\"]},{\"type\":\"enum\",\"name\":\"AmpClinicalOrExperimentalEvidenceCategory\",\"doc\":\"Categories of Clinical and/or Experimental Evidence as defined in AMP guidelines\",\"symbols\":[\"therapeutic\",\"diagnosis\",\"prognosis\"]},{\"type\":\"enum\",\"name\":\"AmpClinicalOrExperimentalEvidenceLevel\",\"doc\":\"Levels for categories of Clinical and/or Experimental Evidence as defined in AMP guidelines\",\"symbols\":[\"levelA\",\"levelB\",\"levelC\",\"levelD\"]},{\"type\":\"record\",\"name\":\"User\",\"fields\":[{\"name\":\"userid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Azure Active Directory immutable user OID\"},{\"name\":\"email\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"User email address\"},{\"name\":\"username\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Username\"},{\"name\":\"role\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"groups\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}]},{\"type\":\"record\",\"name\":\"UserComment\",\"fields\":[{\"name\":\"comment\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Comment text\"},{\"name\":\"user\",\"type\":[\"null\",\"User\"],\"doc\":\"User who created comment\"},{\"name\":\"timestamp\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Date and time comment was created (ISO 8601 datetime with seconds and timezone e.g. 2020-11-23T15:52:36+00:00)\"}]},{\"type\":\"record\",\"name\":\"AcmgEvidence\",\"doc\":\"AcmgEvidence. This should be buit for each one of the evidences assing to a variants following the ACMG guidelines.\\n    An AcmgEvidence, should map with one of the criteria defined, i.e, PVS1, BA1, PM1...\",\"fields\":[{\"name\":\"category\",\"type\":\"AcmgEvidenceCategory\",\"doc\":\"Evidence category as defined in ACMG guidelines\"},{\"name\":\"type\",\"type\":\"AcmgEvidenceType\",\"doc\":\"Evidence type: benign or pathogenic\"},{\"name\":\"weight\",\"type\":\"AcmgEvidenceWeight\",\"doc\":\"Default strength for criterion as defined in Table 3 of ACMG guidelines (Richards et al 2015). e.g. PM2 would be \\\"moderate\\\"\"},{\"name\":\"modifier\",\"type\":\"int\",\"doc\":\"The number suffix at the end of the ACMG criteria code e.g PM2 would be 2\"},{\"name\":\"activationStrength\",\"type\":\"ActivationStrength\",\"doc\":\"The strength this criterion has been used at in this interpretation. e.g. if PM2 was only used at \\\"supporting\\\" rather than \\\"moderate\\\", the activation strength would be \\\"supporting\\\"\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The description of the evidence as described in ACMG guidelines e.g. for PM2 the description would be \\\"Absent from controls (or at extremely low frequency if recessive) in Exome Sequencing Project, 1000 Genomes Project, or Exome Aggregation Consortium\\\"\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"UserComment\"}],\"doc\":\"User comments attached to this ACMG criteria in this case\"}]},{\"type\":\"record\",\"name\":\"AcmgVariantClassification\",\"doc\":\"Full record for the ACMG variant clasiffication, including all selectedd evidences and the final classification.\",\"fields\":[{\"name\":\"acmgEvidences\",\"type\":{\"type\":\"array\",\"items\":\"AcmgEvidence\"},\"doc\":\"Details of ACMG criteria used to score this variant\"},{\"name\":\"clinicalSignificance\",\"type\":\"ClinicalSignificance\",\"doc\":\"Final classification selected by user\"},{\"name\":\"calculatedClinicalSignificance\",\"type\":[\"null\",\"ClinicalSignificance\"],\"doc\":\"Classification computed from ACMG scores\"},{\"name\":\"assessment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"noAcmgEvidence\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AcmgEvidenceCategory\"}],\"doc\":\"ACMG evidence categories for which the user has indicated there is no evidence available\"}]},{\"type\":\"record\",\"name\":\"AmpEvidence\",\"doc\":\"Evidences as defined in AMP guidelines, they are composed by a evidence type (first column in the evidence table of\\n    the guidlines) and a assessment of the evicence, this last one will define the streght of the evidence, supporting\\n    the variant to be classified as TierI-IV\",\"fields\":[{\"name\":\"type\",\"type\":\"AmpEvidenceType\",\"doc\":\"AMP evidence type according to Guidlines, i.e germline_database_presence\"},{\"name\":\"evidenceAssessment\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Assessment for AMP evidence, i.e Present in ClinVar\"}]},{\"type\":\"record\",\"name\":\"AmpClincialOrExperimentalEvidence\",\"doc\":\"Amp Clinical or Experimental Evidence, the level will define the overal clasification of the variant together with\\n    the tiering.\",\"fields\":[{\"name\":\"category\",\"type\":\"AmpClinicalOrExperimentalEvidenceCategory\",\"doc\":\"As denined in AMP guidelines: therapeutic, diagnosis or prognosis\"},{\"name\":\"level\",\"type\":\"AmpClinicalOrExperimentalEvidenceLevel\",\"doc\":\"As denined in AMP guidelines: levelA, levelB, levelC, levelD\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Description of the evidence\"}]},{\"type\":\"record\",\"name\":\"AmpVariantClassification\",\"doc\":\"Full Variant classification acording to AMP guideline, including all supporting evidences and the final\\n    assessment\",\"fields\":[{\"name\":\"ampEvidences\",\"type\":{\"type\":\"array\",\"items\":\"AmpEvidence\"},\"doc\":\"List of AMP evidences\"},{\"name\":\"ampTier\",\"type\":\"AmpTier\",\"doc\":\"Final Clasification taken in account the evidences\"},{\"name\":\"ampClincialOrExperimentalEvidence\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AmpClincialOrExperimentalEvidence\"}],\"doc\":\"Clinical or Experimental evicence\"},{\"name\":\"assessment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Final Assessment\"}]},{\"type\":\"record\",\"name\":\"GuidelineBasedVariantClassification\",\"doc\":\"Variant classification based on guidlines, AMP and ACMG are supported\",\"fields\":[{\"name\":\"acmgVariantClassification\",\"type\":[\"null\",\"AcmgVariantClassification\"],\"doc\":\"Variant classification using ACMG framework\"},{\"name\":\"ampVariantClassification\",\"type\":[\"null\",\"AmpVariantClassification\"],\"doc\":\"Variant classification using AMP framework\"}]},{\"type\":\"record\",\"name\":\"AlgorithmBasedVariantClassification\",\"fields\":[{\"name\":\"algorithmName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Name of the applied algorithm\"},{\"name\":\"classification\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"classification\"},{\"name\":\"rank\",\"type\":[\"null\",\"int\"],\"doc\":\"rank\"},{\"name\":\"score\",\"type\":[\"null\",\"int\"],\"doc\":\"Score\"}]},{\"type\":\"enum\",\"name\":\"InterventionType\",\"doc\":\"For each intervention studied in the clinical study, the general type of intervention\\n\\n* `drug`: Including placebo\\n* `device`: Including sham\\n* `biological`: Vaccine\\n* `procedure`: Surgery\\n* `radiation`\\n* `behavioral`: For example, psychotherapy, lifestyle counselling\\n* `genetic`: Including gene transfer, stem cell and recombinant DNA\\n* `dietary_supplement`: For example, vitamins, minerals\\n* `combination_product`: Combining a drug and device, a biological product and de","vice; a drug and biological product; or a drug, biological product, and device\\n* `diagnostic_test`: For example, imaging, in-vitro\\n* `other`\\n\\n    Ref. https://prsinfo.clinicaltrials.gov/definitions.htm\",\"symbols\":[\"drug\",\"device\",\"procedure\",\"biological\",\"radiation\",\"behavioral\",\"genetic\",\"dietary_supplement\",\"combination_product\",\"diagnostic_test\",\"other\"]},{\"type\":\"enum\",\"name\":\"PrimaryPurpose\",\"doc\":\"Treatment: One or more interventions are being evaluated for treating a disease, syndrome, or condition.\\n    Prevention: One or more interventions are being assessed for preventing the development of a specific disease or health condition.\\n    Diagnostic: One or more interventions are being evaluated for identifying a disease or health condition.\\n    Supportive Care: One or more interventions are evaluated for maximizing comfort, minimizing side effects, or mitigating against a decline in the participant's health or function.\\n    Screening: One or more interventions are assessed or examined for identifying a condition, or risk factors for a condition, in people who are not yet known to have the condition or risk factor.\\n    Health Services Research: One or more interventions for evaluating the delivery, processes, management, organization, or financing of healthcare.\\n    Basic Science: One or more interventions for examining the basic mechanism of action (for example, physiology or biomechanics of an intervention).\\n    Device Feasibility: An intervention of a device product is being evaluated in a small clinical trial (generally fewer than 10 participants) to determine the feasibility of the product; or a clinical trial to test a prototype device for feasibility and not health outcomes. Such studies are conducted to confirm the design and operating specifications of a device before beginning a full clinical trial.\\n    Other: None of the other options applies.\\n\\n    Ref. https://prsinfo.clinicaltrials.gov/definitions.htm\",\"symbols\":[\"treatment\",\"prevention\",\"diagnostic\",\"supportive_care\",\"screening\",\"health_services_research\",\"basic_science\",\"device_feasibility\",\"other\"]},{\"type\":\"enum\",\"name\":\"StudyPhase\",\"doc\":\"N/A: Trials without phases (for example, studies of devices or behavioural interventions).\\n    Early Phase 1 (Formerly listed as \\\"Phase 0\\\"): Exploratory trials, involving very limited human exposure, with no therapeutic or diagnostic intent (e.g., screening studies, microdose studies). See FDA guidance on exploratory IND studies for more information.\\n    Phase 1: Includes initial studies to determine the metabolism and pharmacologic actions of drugs in humans, the side effects associated with increasing doses, and to gain early evidence of effectiveness; may include healthy participants and/or patients.\\n    Phase 1/Phase 2: Trials that are a combination of phases 1 and 2.\\n    Phase 2: Includes controlled clinical studies conducted to evaluate the effectiveness of the drug for a particular indication or indications in participants with the disease or condition under study and to determine the common short-term side effects and risks.\\n    Phase 2/Phase 3: Trials that are a combination of phases 2 and 3.\\n    Phase 3: Includes trials conducted after preliminary evidence suggesting effectiveness of the drug has been obtained, and are intended to gather additional information to evaluate the overall benefit-risk relationship of the drug.\\n    Phase 4: Studies of FDA-approved drugs to delineate additional information including the drug's risks, benefits, and optimal use.\",\"symbols\":[\"na\",\"early_phase1\",\"phase1\",\"phase1_phase2\",\"phase2\",\"phase2_phase3\",\"phase3\",\"phase4\"]},{\"type\":\"enum\",\"name\":\"StudyType\",\"doc\":\"* `Interventional (clinical trial)`: Participants are assigned prospectively to an intervention or interventions\\naccording to a protocol to evaluate the effect of the intervention(s) on biomedical or other health related outcomes.\\n* `Observational`: Studies in human beings in which biomedical and/or health outcomes are assessed in pre-defined groups\\nof individuals. Participants in the study may receive diagnostic, therapeutic, or other interventions, but the\\ninvestigator does not assign specific interventions to the study participants. This includes when participants\\nreceive interventions as part of routine medical care, and a researcher studies the effect of the intervention.\\n* `Expanded Access`: An investigational drug product (including biological product)\\navailable through expanded access for patients who do not qualify for enrollment in a clinical trial.\\nExpanded Access includes all expanded access types under section 561 of the Federal Food, Drug, and\\nCosmetic Act: (1) for individual patients, including emergency use; (2) for intermediate-size patient populations;\\nand (3) under a treatment IND or treatment protocol. (For more information on data requirements for this Study Type,\\nsee Expanded Access Data Element Definitions).\",\"symbols\":[\"interventional\",\"observational\",\"patient_registry\",\"expanded_access\"]},{\"type\":\"record\",\"name\":\"Intervention\",\"doc\":\"A process or action that is the focus of a clinical study.\\n    Ref. https://prsinfo.clinicaltrials.gov/definitions.html\",\"fields\":[{\"name\":\"interventionType\",\"type\":\"InterventionType\",\"doc\":\"Intervention type, i.e drug\"},{\"name\":\"interventionName\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Intervention name: Placebo\"}]},{\"type\":\"record\",\"name\":\"AgeRange\",\"fields\":[{\"name\":\"minimumAge\",\"type\":\"int\"},{\"name\":\"maximumAge\",\"type\":\"int\"},{\"name\":\"timeunit\",\"type\":\"TimeUnit\"}]},{\"type\":\"record\",\"name\":\"TrialLocation\",\"fields\":[{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"city\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"country\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"zip\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]},{\"type\":\"record\",\"name\":\"DemographicElegibilityCriteria\",\"fields\":[{\"name\":\"sex\",\"type\":\"org.gel.models.participant.avro.Sex\"},{\"name\":\"ageRange\",\"type\":[\"null\",\"AgeRange\"]}]},{\"type\":\"record\",\"name\":\"Trial\",\"fields\":[{\"name\":\"studyUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this trail can be found\"},{\"name\":\"studyIdentifier\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Trail/Study indetifier\"},{\"name\":\"startDate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Start date of the study\"},{\"name\":\"estimateCompletionDate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Completion date of the study\"},{\"name\":\"title\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Title of the study\"},{\"name\":\"phase\",\"type\":[\"null\",\"StudyPhase\"],\"doc\":\"Study Phase\"},{\"name\":\"interventions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Intervention\"}],\"doc\":\"Interventions\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"primaryPurpose\",\"type\":[\"null\",\"PrimaryPurpose\"],\"doc\":\"Primary Purpose of the study\"},{\"name\":\"studyType\",\"type\":[\"null\",\"StudyType\"],\"doc\":\"Study Type\"},{\"name\":\"demogrphicElegibilityCriteria\",\"type\":[\"null\",\"DemographicElegibilityCriteria\"],\"doc\":\"Elegigility Criteria based on Age and Sex\"},{\"name\":\"locations\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"TrialLocation\"}],\"doc\":\"List with all of the locations where participant can enrolle\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made using the variant information,\\n        if not the association was made at Genomic Entity level\"}]},{\"type\":\"record\",\"name\":\"DrugResponse\",\"fields\":[{\"name\":\"TreatmentAgent\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Treatment agent\"},{\"name\":\"drugResponseClassification\",\"type\":\"DrugResponseClassification\",\"doc\":\"associated effect of the drug\"}]},{\"type\":\"record\",\"name\":\"Therapy\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this therapy association can be found\"},{\"name\":\"sou","rce\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Source\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"drugResponse\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"DrugResponse\"}],\"doc\":\"Drug responses\"},{\"name\":\"otherInterventions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Intervention\"}],\"doc\":\"Any other clinical intervention\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]},{\"type\":\"record\",\"name\":\"Prognosis\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this prognosis can be found\"},{\"name\":\"prognosis\",\"type\":[\"null\",\"PrognosisClassification\"],\"doc\":\"Prognosis classification (defined as favourable or unfavourable),\\n        in the case that the direction of the prognosis is not known altered_prognosis should be used\"},{\"name\":\"source\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Source if known\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Conditions\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Full description of the associated prognosis\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]},{\"type\":\"record\",\"name\":\"Diagnostic\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this prognosis can be found\"},{\"name\":\"sources\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Sources if known\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"References\"},{\"name\":\"biomarkers\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Biomarkers\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Associated conditions\"},{\"name\":\"diagnosis\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis\"},{\"name\":\"diagnosisStatus\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis status\"},{\"name\":\"otherCondition\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Other condition\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]},{\"type\":\"record\",\"name\":\"OtherAction\",\"fields\":[{\"name\":\"referenceUrl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"URL where reference information for this action can be found\"},{\"name\":\"identifier\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Action identifier\"},{\"name\":\"sources\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Sources if known\"},{\"name\":\"actionType\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Action type\"},{\"name\":\"conditions\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Associated conditions\"},{\"name\":\"otherAttributes\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Other attributes\"},{\"name\":\"variantActionable\",\"type\":\"boolean\",\"doc\":\"If true, the association was made at the variant level, if not the association was made at Genomic Entity level\"}]},{\"type\":\"record\",\"name\":\"Actions\",\"doc\":\"Clinical actions\",\"fields\":[{\"name\":\"trials\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Trial\"}]},{\"name\":\"prognosis\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Prognosis\"}]},{\"name\":\"therapies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Therapy\"}]},{\"name\":\"diagnostic\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Diagnostic\"}]},{\"name\":\"otherAction\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"OtherAction\"}]}]},{\"type\":\"enum\",\"name\":\"GenomicEntityType\",\"doc\":\"Types of genomic features:\\n\\n* `regulatory_region`: a regulatory region\\n* `gene`: a gene\\n* `transcript`: a transcript\\n* `intergenic`: an intergenic region\",\"symbols\":[\"regulatory_region\",\"gene\",\"transcript\",\"intergenic\",\"gene_fusion\",\"genomic_region\",\"cytobands\"]},{\"type\":\"record\",\"name\":\"AlleleFrequency\",\"doc\":\"The population allele frequency of a given variant in a given study and optionally population\",\"fields\":[{\"name\":\"study\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The study from where this data comes from\"},{\"name\":\"population\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The specific population where this allele frequency belongs\"},{\"name\":\"alternateFrequency\",\"type\":\"float\",\"doc\":\"The frequency of the alternate allele\"}]},{\"type\":\"record\",\"name\":\"Identifier\",\"fields\":[{\"name\":\"source\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Source i.e, esenmbl\"},{\"name\":\"identifier\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"identifier\"}]},{\"type\":\"record\",\"name\":\"GenomicEntity\",\"doc\":\"A genomic feature\",\"fields\":[{\"name\":\"type\",\"type\":\"GenomicEntityType\",\"doc\":\"The type of the genomic entity\"},{\"name\":\"ensemblId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Ensembl identifier for the feature (e.g, ENST00000544455)\"},{\"name\":\"geneSymbol\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The HGNC gene symbol. This field is optional, BUT it should be filled if possible\"},{\"name\":\"otherIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Identifier\"}],\"doc\":\"Others identifiers for this genomic feature\"}]},{\"type\":\"record\",\"name\":\"GenePanel\",\"doc\":\"A panel of genes\",\"fields\":[{\"name\":\"panelIdentifier\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel name used\"},{\"name\":\"panelName\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel name used\"},{\"name\":\"panelVersion\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Panel version\"},{\"name\":\"source\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"source i.e, PanelApp\"}]},{\"type\":\"record\",\"name\":\"VariantConsequence\",\"doc\":\"A variant consequence as defined by the Sequence Ontology (SO) (e.g.: id = SO:0001816 ; name = non synonymous)\\n    NOTE: this record is equivalent to OpenCB's `ConsequenceType`, but we want to avoid naming collisions\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The SO term identifier (e.g.: SO:0001816)\"},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"The SO term name (e.g.: non synonymous)\"}]},{\"type\":\"record\",\"name\":\"VariantIdentifiers\",\"fields\":[{\"name\":\"dbSnpId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Variant identifier in dbSNP\"},{\"name\":\"cosmicIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Variant identifier in Cosmic\"},{\"name\":\"clinVarIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Variant identifier in ClinVar\"},{\"name\":\"otherIds\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Identifier\"}]}]},{\"type\":\"record\",\"name\":\"VariantClassification\",\"doc\":\"The variant classification according to different properties.\",\"fields\":[{\"name\":\"clinicalSignificance\",\"type\":[\"null\",\"ClinicalSignificance\"],\"doc\":\"The variant's clinical significance.\"},{\"name\":\"drugResponseClassification\",\"type\":[\"null\",\"DrugResponseClassification\"],\"doc\":\"The variant's pharmacogenomics classification.\"},{\"name\":\"traitAssociation\",\"type\":[\"null\",\"TraitAss","ociation\"],\"doc\":\"The variant's trait association.\"},{\"name\":\"tumorigenesisClassification\",\"type\":[\"null\",\"TumorigenesisClassification\"],\"doc\":\"The variant's tumorigenesis classification.\"},{\"name\":\"functionalEffect\",\"type\":[\"null\",\"VariantFunctionalEffect\"],\"doc\":\"The variant functional effect\"}]},{\"type\":\"record\",\"name\":\"Ontology\",\"doc\":\"The ontology to which a standard term belongs\",\"fields\":[{\"name\":\"name\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"version\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]},{\"type\":\"record\",\"name\":\"StandardPhenotype\",\"doc\":\"Standard phenotype term based on the OBO format (see an example here http://snapshot.geneontology.org/ontology/go-basic.obo)\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"name\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"namespace\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"definition\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"comment\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"alternativeIds\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"synonyms\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"isA\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"ontology\",\"type\":\"Ontology\",\"doc\":\"The ontology (e.g.: HPO, OMIM, SNOMED CT)\"},{\"name\":\"matchScore\",\"type\":[\"null\",\"float\"],\"doc\":\"The match between the non standard phenotype and this term when in silico\"}]},{\"type\":\"record\",\"name\":\"Phenotypes\",\"doc\":\"Oontology term based on the OBO format (see an example here http://snapshot.geneontology.org/ontology/go-basic.obo)\",\"fields\":[{\"name\":\"nonStandardPhenotype\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"The non standardised phenotypes (i.e.: may be free text)\"},{\"name\":\"standardPhenotypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"StandardPhenotype\"}],\"doc\":\"The standardised phenotypes (i.e.: controlled terminology)\"}]},{\"type\":\"record\",\"name\":\"ReportEvent\",\"doc\":\"A report event holds all the information about why a given variant is relevant to report. The same variant may have\\n    several report events. For instance, we may have two report events from the tiering process when two panels are\\n    analysed, a positive report from a Genomic Medicine Centre (GMC) will correspond to an additional report event.\",\"fields\":[{\"name\":\"reportEventId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Unique identifier for each report event, this is unique across the whole report. A report having more than one\\n        report event with the same identifier is invalid. Repeating report event identifiers between different reports\\n        is valid. The uniqueness of this field will be checked in report validation\"},{\"name\":\"phenotypes\",\"type\":\"Phenotypes\",\"doc\":\"The list of phenotypes\"},{\"name\":\"variantConsequences\",\"type\":{\"type\":\"array\",\"items\":\"VariantConsequence\"},\"doc\":\"Sequence Ontology terms for relevant consequence types for this report event\"},{\"name\":\"genePanel\",\"type\":[\"null\",\"GenePanel\"],\"doc\":\"The panel of genes to which this report corresponds\"},{\"name\":\"modeOfInheritance\",\"type\":\"ModeOfInheritance\",\"doc\":\"Mode of inheritance used to analyse the family\"},{\"name\":\"genomicEntities\",\"type\":{\"type\":\"array\",\"items\":\"GenomicEntity\"},\"doc\":\"The list of genomic features of interest for this report event. Please note that one variant can overlap more\\n        that one gene/transcript. If more than one gene/transcript is considered interesting for this particular\\n        variant, should be reported in two different ReportEvents\"},{\"name\":\"segregationPattern\",\"type\":[\"null\",\"SegregationPattern\"],\"doc\":\"Segregation pattern if any calculated using the genotypes information of a family\"},{\"name\":\"penetrance\",\"type\":[\"null\",\"org.gel.models.participant.avro.Penetrance\"],\"doc\":\"This is the penetrance assumed for scoring or classifying this variant\"},{\"name\":\"deNovoQualityScore\",\"type\":[\"null\",\"float\"],\"doc\":\"Likelihood of being a de novo variant\"},{\"name\":\"fullyExplainsPhenotype\",\"type\":[\"null\",\"boolean\"],\"doc\":\"Flag to indicate if this variant using this mode of inheritance can fully explain the phenotype\"},{\"name\":\"groupOfVariants\",\"type\":[\"null\",\"int\"],\"doc\":\"This value groups variants that together could explain the phenotype according to the mode of inheritance used.\\n        (e.g.: compound heterozygous). All the variants in the same report sharing the same value will be considered in\\n        the same group (i.e.: reported together). This value is an integer unique in the whole report.\\n        These values are only relevant within the same report.\"},{\"name\":\"eventJustification\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is the description of why this variant would be reported, for example that it affects the protein in this way\\n        and that this gene has been implicated in this disorder in these publications. Publications should be provided as PMIDs\\n        using the format [PMID:8075643]. Other sources can be used in the same manner, e.g. [OMIM:163500]. Brackets need to be included.\"},{\"name\":\"roleInCancer\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"RoleInCancer\"}],\"doc\":\"The role of this variant in cancer if any\"},{\"name\":\"actions\",\"type\":[\"null\",\"Actions\"],\"doc\":\"Actions can be taken on the variant if any\"},{\"name\":\"score\",\"type\":[\"null\",\"float\"],\"doc\":\"This is the score provided to reflect a variant's likelihood of explaining the phenotype using a specific\\n        mode of Inheritance. This may be the result of different scoring systems\"},{\"name\":\"vendorSpecificScores\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}],\"doc\":\"Other scores that the interpretation provider may add (for example phenotypically informed or family\\n        informed scores)\"},{\"name\":\"variantClassification\",\"type\":[\"null\",\"VariantClassification\"],\"doc\":\"Variant classification\"},{\"name\":\"guidelineBasedVariantClassification\",\"type\":[\"null\",\"GuidelineBasedVariantClassification\"],\"doc\":\"Guidelines based Variant classification\"},{\"name\":\"algorithmBasedVariantClassifications\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AlgorithmBasedVariantClassification\"}],\"doc\":\"Algorithm based variant classifications\"},{\"name\":\"tier\",\"type\":[\"null\",\"Tier\"],\"doc\":\"The tier where this variant has been classified. Tier is a property of the model of inheritance and therefore\\n        is subject to change depending on the inheritance assumptions\"},{\"name\":\"domain\",\"type\":[\"null\",\"Domain\"],\"doc\":\"The Domain where this variant has been classified.\"}]},{\"type\":\"record\",\"name\":\"VariantCoordinates\",\"doc\":\"The variant coordinates representing uniquely a small variant.\\n    No multi-allelic variant supported, alternate only represents one alternate allele.\",\"fields\":[{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome without \\\"chr\\\" prefix (e.g. X rather than chrX)\"},{\"name\":\"position\",\"type\":\"int\",\"doc\":\"Genomic position\"},{\"name\":\"reference\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The reference bases.\"},{\"name\":\"alternate\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The alternate bases\"},{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly to which this variant corresponds\"}]},{\"type\":\"record\",\"name\":\"VariantAttributes\",\"doc\":\"Some additional variant attributes\",\"fields\":[{\"name\":\"genomicChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"gDNA change, HGVS nomenclature (e.g.: g.476A>T)\"},{\"name\":\"cdnaChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"cDNA change, HGVS nomenclature (e.g.: c.76A>T)\"},{\"name\":\"proteinChanges\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Protein change, HGVS nomenclature (e.g.: p.Lys76Asn)\"},{\"name\":\"additionalTextualVariantAnnotations\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.","java.string\":\"String\"}],\"doc\":\"Any additional information in a free text field. For example a quote from a paper\"},{\"name\":\"references\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Additional references for ths variant. For example HGMD ID or Pubmed Id\"},{\"name\":\"variantIdentifiers\",\"type\":[\"null\",\"VariantIdentifiers\"]},{\"name\":\"alleleFrequencies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AlleleFrequency\"}],\"doc\":\"A list of population allele frequencies\"},{\"name\":\"additionalNumericVariantAnnotations\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"}],\"doc\":\"Additional numeric variant annotations for this variant. For Example (Allele Frequency, sift, polyphen,\\n        mutationTaster, CADD. ..)\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Comments\"},{\"name\":\"alleleOrigins\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AlleleOrigin\"}],\"doc\":\"List of allele origins for this variant in this report\"},{\"name\":\"ihp\",\"type\":[\"null\",\"int\"],\"doc\":\"Largest reference interrupted homopolymer length intersecting with the indel\"},{\"name\":\"recurrentlyReported\",\"type\":[\"null\",\"boolean\"],\"doc\":\"Flag indicating if the variant is recurrently reported\"},{\"name\":\"fdp50\",\"type\":[\"null\",\"float\"],\"doc\":\"Average tier1 number of basecalls filtered from original read depth within 50 bases\"},{\"name\":\"others\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Map of other attributes where keys are the attribute names and values are the attributes\"}]},{\"type\":\"record\",\"name\":\"PhaseGenotype\",\"fields\":[{\"name\":\"sortedAlleles\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"phaseSet\",\"type\":\"int\"}]},{\"type\":\"record\",\"name\":\"NumberOfCopies\",\"fields\":[{\"name\":\"numberOfCopies\",\"type\":\"int\",\"doc\":\"Number of copies given by the caller in one of the allele\"},{\"name\":\"confidenceIntervalMaximum\",\"type\":[\"null\",\"int\"]},{\"name\":\"confidenceIntervalMinimum\",\"type\":[\"null\",\"int\"]}]},{\"type\":\"record\",\"name\":\"VariantCall\",\"doc\":\"This is intended to hold the genotypes for the family members. This assumes that varinats have been split before.\\n    In principle it is a phased zygosity as in VCF spec and called by the analysis provider if further phasing is conducted\",\"fields\":[{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant id\"},{\"name\":\"sampleId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Sample Id\"},{\"name\":\"zygosity\",\"type\":\"Zygosity\",\"doc\":\"Zygosity. For somatic variants, or variants without zygosity use `na`\"},{\"name\":\"phaseGenotype\",\"type\":[\"null\",\"PhaseGenotype\"],\"doc\":\"phase alleles for those in phase\"},{\"name\":\"sampleVariantAlleleFrequency\",\"type\":[\"null\",\"double\"],\"doc\":\"Sample Variant Allele Frequency\"},{\"name\":\"depthReference\",\"type\":[\"null\",\"int\"],\"doc\":\"Depth for Reference Allele\"},{\"name\":\"depthAlternate\",\"type\":[\"null\",\"int\"],\"doc\":\"Depth for Alternate Allele\"},{\"name\":\"numberOfCopies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"NumberOfCopies\"}],\"doc\":\"Alleles for copy number variation - add doc\"},{\"name\":\"alleleOrigins\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AlleleOrigin\"}],\"doc\":\"Describe whether this is a somatic or Germline variant\"},{\"name\":\"supportingReadTypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"SupportingReadType\"}]}]},{\"type\":\"enum\",\"name\":\"Indel\",\"symbols\":[\"insertion\",\"deletion\"]},{\"type\":\"record\",\"name\":\"ConfidenceInterval\",\"fields\":[{\"name\":\"left\",\"type\":\"int\"},{\"name\":\"right\",\"type\":\"int\"}]},{\"type\":\"record\",\"name\":\"Coordinates\",\"fields\":[{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly to which this variant corresponds\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome without \\\"chr\\\" prefix (e.g. X rather than chrX)\"},{\"name\":\"start\",\"type\":\"int\",\"doc\":\"Start genomic position for variant (1-based)\"},{\"name\":\"end\",\"type\":\"int\",\"doc\":\"End genomic position for variant\"},{\"name\":\"ciStart\",\"type\":[\"null\",\"ConfidenceInterval\"]},{\"name\":\"ciEnd\",\"type\":[\"null\",\"ConfidenceInterval\"]}]},{\"type\":\"enum\",\"name\":\"Orientation\",\"symbols\":[\"start_start\",\"start_end\",\"end_end\"]},{\"type\":\"enum\",\"name\":\"StructuralVariantType\",\"symbols\":[\"ins\",\"dup\",\"inv\",\"amplification\",\"deletion\",\"dup_tandem\",\"del_me\",\"ins_me\"]},{\"type\":\"record\",\"name\":\"Rearrangement\",\"fields\":[{\"name\":\"leftCoordinates\",\"type\":\"Coordinates\"},{\"name\":\"rightCoordinates\",\"type\":\"Coordinates\"},{\"name\":\"orientation\",\"type\":\"Orientation\"},{\"name\":\"leftInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"rightInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]},{\"type\":\"record\",\"name\":\"BreakPoint\",\"fields\":[{\"name\":\"coordinates\",\"type\":\"Coordinates\"},{\"name\":\"reference\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"alternate\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"info\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}]}]},{\"type\":\"record\",\"name\":\"ShortTandemRepeatReferenceData\",\"fields\":[{\"name\":\"repeatedSequence\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"pathogenic_number_of_repeats_threshold\",\"type\":\"int\"},{\"name\":\"normal_number_of_repeats_threshold\",\"type\":\"int\"}]},{\"type\":\"record\",\"name\":\"ChromosomalRearrangement\",\"fields\":[{\"name\":\"breakPoints\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"BreakPoint\"}]},{\"name\":\"rearrangements\",\"type\":{\"type\":\"array\",\"items\":\"Rearrangement\"}},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]}]},{\"type\":\"record\",\"name\":\"StructuralVariant\",\"fields\":[{\"name\":\"variantType\",\"type\":\"StructuralVariantType\",\"doc\":\"Structural Variant Type as would appear in VCF\"},{\"name\":\"coordinates\",\"type\":\"Coordinates\"},{\"name\":\"leftInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"rightInsSeq\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]}]},{\"type\":\"record\",\"name\":\"ShortTandemRepeat\",\"fields\":[{\"name\":\"coordinates\",\"type\":\"Coordinates\"},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"}},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"array of genotypes for the samples\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]},{\"name\":\"shortTandemRepeatReferenceData\",\"type\":[\"null\",\"ShortTandemRepeatReferenceData\"]}]},{\"type\":\"record\",\"name\":\"SmallVariant\",\"doc\":\"A reported variant\",\"fields\":[{\"name\":\"variantCoordinates\",\"type\":\"VariantCoordinates\",\"doc\":\"The variant coordinates. Chromosome is either 1-22, X, Y, MT or any other contif in the reference genome,\\n        no \\\"chr\\\" prefix is expected. Position is 1- based. Reference and alternate should never be empty or any\\n        character representing emptiness (e.g.: . or -), a VCF-like indel representation is expected.\"},{\"name\":\"variantCalls\",\"type\":{\"type\":\"array\",\"items\":\"VariantCall\"},\"doc\":\"List of variant calls across all samples under analysis for this variant\"},{\"name\":\"reportEvents\",\"type\":{\"type\":\"array\",\"items\":\"ReportEvent\"},\"doc\":\"The list of report events for this variant across multiple modes of inheritance and panels\"},{\"name\":\"variantAttributes\",\"type\":[\"null\",\"VariantAttributes\"]}]},{\"type\":\"record\",\"name\":\"IdentityByDescent\",\"fields\":[{\"name\":\"relatedSample\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"ibd0\",\"type\":\"float\"},{\"name\":\"ibd1\",\"type\":\"float\"},{\"name\":\"ibd2\",\"type\":\"float\"},{\"name\":\"pihat\",\"type\":\"float\"}]},{\"type\":\"record\",\"name\":\"UniparentalDisomyEvidences\",\"fields\":[{\"name\":\"ibds\",\"type\":[\"null","\",{\"type\":\"array\",\"items\":\"IdentityByDescent\"}]}]},{\"type\":\"record\",\"name\":\"UniparentalDisomyFragment\",\"fields\":[{\"name\":\"coordinates\",\"type\":[\"null\",\"Coordinates\"],\"doc\":\"Coordinates can be specified to indicate the part of the chromosome affected\"},{\"name\":\"uniparentalDisomyType\",\"type\":\"UniparentalDisomyType\",\"doc\":\"indicates whether the UPD event involves `isodisomy`, `heterodisomy` or `both`\"}]},{\"type\":\"record\",\"name\":\"UniparentalDisomy\",\"fields\":[{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome where two homologues were inherited from one parent\"},{\"name\":\"complete\",\"type\":[\"null\",\"boolean\"],\"doc\":\"indicates Whether the UPD event involves an entire chromosome or part of a chromosome\"},{\"name\":\"origin\",\"type\":\"UniparentalDisomyOrigin\",\"doc\":\"The parent who contributed two chromosomes was the mother (maternal) or the father (paternal)\"},{\"name\":\"uniparentalDisomyFragments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"UniparentalDisomyFragment\"}],\"doc\":\"List of all of the UPD fragments for this UPD event\"},{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant affected by this UPD\"},{\"name\":\"uniparentalDisomyEvidences\",\"type\":[\"null\",\"UniparentalDisomyEvidences\"],\"doc\":\"Evidences for the UPD call\"}]},{\"type\":\"record\",\"name\":\"Aneuploidy\",\"fields\":[{\"name\":\"iscn\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"International System for Human Cytogenetic Nomenclature (.e.g: \\\"+14p+\\\", \\\"+t(13q21 q)\\\")\"},{\"name\":\"assembly\",\"type\":\"Assembly\",\"doc\":\"The assembly\"},{\"name\":\"chromosome\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Chromosome involved in the aneuploidy\"},{\"name\":\"complete\",\"type\":\"boolean\",\"doc\":\"Wheter the aneuploidy is for the whole chromosme or just a fragment\"},{\"name\":\"coordinates\",\"type\":[\"null\",\"Coordinates\"],\"doc\":\"Coordinates can be specified to indicate the part of the chromosome affected\"},{\"name\":\"numberOfCopies\",\"type\":\"int\",\"doc\":\"Number of copies\"}]},{\"type\":\"record\",\"name\":\"Karyotype\",\"fields\":[{\"name\":\"iscn\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"International System for Human Cytogenetic Nomenclature (e.g.: \\\"46,XY\\\", \\\"46,XY,-5,-12,+t(5pl2p),+t(5ql2q)\\\")\"},{\"name\":\"description\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Full description of the karyotype\"},{\"name\":\"aneuploidies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Aneuploidy\"}],\"doc\":\"List of aneuploidies\"},{\"name\":\"numberOfChromosomes\",\"type\":\"int\",\"doc\":\"Total number of chromosomes\"},{\"name\":\"personKaryotipicSex\",\"type\":\"org.gel.models.participant.avro.PersonKaryotipicSex\",\"doc\":\"Kariotypic sex\"},{\"name\":\"participantId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Participant identifier\"}]},{\"type\":\"record\",\"name\":\"VersionControl\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"GitVersionControl\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"This is the version for the entire set of data models as referred to the Git release tag\",\"default\":\"1.3.0\"}]},{\"type\":\"record\",\"name\":\"Disorder\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This is quite GEL specific. This is the way is stored in ModelCatalogue and PanelApp.\\n    Currently all specific disease titles are assigned to a disease subgroup so really only specificDisease needs to be\\n    completed but we add the others for generality\",\"fields\":[{\"name\":\"diseaseGroup\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is Level2 Title for this disorder\"},{\"name\":\"diseaseSubGroup\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is Level3 Title for this disorder\"},{\"name\":\"specificDisease\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is Level4 Title for this disorder.\\n        In GMS, this is the clinicalIndicationFullName/clinicalIndicationCode.\"},{\"name\":\"ageOfOnset\",\"type\":[\"null\",\"float\"],\"doc\":\"Age of onset in years\"}]},{\"type\":\"enum\",\"name\":\"Laterality\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"RIGHT\",\"UNILATERAL\",\"BILATERAL\",\"LEFT\"]},{\"type\":\"enum\",\"name\":\"Progression\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"PROGRESSIVE\",\"NONPROGRESSIVE\"]},{\"type\":\"enum\",\"name\":\"Severity\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"BORDERLINE\",\"MILD\",\"MODERATE\",\"SEVERE\",\"PROFOUND\"]},{\"type\":\"enum\",\"name\":\"SpatialPattern\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"DISTAL\",\"GENERALIZED\",\"LOCALIZED\",\"PROXIMAL\"]},{\"type\":\"record\",\"name\":\"HpoTermModifiers\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"HPO Modifiers\\n    For GMS, hpoModifierCode and hpoModifierVersion will be used\",\"fields\":[{\"name\":\"laterality\",\"type\":[\"null\",\"Laterality\"]},{\"name\":\"progression\",\"type\":[\"null\",\"Progression\"]},{\"name\":\"severity\",\"type\":[\"null\",\"Severity\"]},{\"name\":\"spatialPattern\",\"type\":[\"null\",\"SpatialPattern\"]},{\"name\":\"hpoModifierCode\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]},{\"name\":\"hpoModifierVersion\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}]}]},{\"type\":\"enum\",\"name\":\"AgeOfOnset\",\"namespace\":\"org.gel.models.participant.avro\",\"symbols\":[\"EMBRYONAL_ONSET\",\"FETAL_ONSET\",\"NEONATAL_ONSET\",\"INFANTILE_ONSET\",\"CHILDHOOD_ONSET\",\"JUVENILE_ONSET\",\"YOUNG_ADULT_ONSET\",\"LATE_ONSET\",\"MIDDLE_AGE_ONSET\"]},{\"type\":\"record\",\"name\":\"HpoTerm\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines an HPO term and its modifiers (possibly multiple)\\n    If HPO term presence is unknown we don't have a entry on the list\",\"fields\":[{\"name\":\"term\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Identifier of the HPO term\"},{\"name\":\"termPresence\",\"type\":[\"null\",\"TernaryOption\"],\"doc\":\"This is whether the term is present in the participant (default is unknown) yes=term is present in participant,\\n        no=term is not present\"},{\"name\":\"hpoBuildNumber\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"hpoBuildNumber\"},{\"name\":\"modifiers\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"HpoTermModifiers\"}],\"doc\":\"Modifier associated with the HPO term\"},{\"name\":\"ageOfOnset\",\"type\":[\"null\",\"AgeOfOnset\"],\"doc\":\"Age of onset in months\"}]},{\"type\":\"enum\",\"name\":\"AffectionStatus\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Affection Status\",\"symbols\":[\"UNAFFECTED\",\"AFFECTED\",\"UNCERTAIN\"]},{\"type\":\"enum\",\"name\":\"ParticipantQCState\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"QCState Status\",\"symbols\":[\"noState\",\"passedMedicalReviewReadyForInterpretation\",\"passedMedicalReviewNotReadyForInterpretation\",\"queryToGel\",\"queryToGMC\",\"failed\"]},{\"type\":\"enum\",\"name\":\"LifeStatus\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"Life Status\",\"symbols\":[\"ALIVE\",\"ABORTED\",\"DECEASED\",\"UNBORN\",\"STILLBORN\",\"MISCARRIAGE\"]},{\"type\":\"enum\",\"name\":\"FamilyQCState\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"FamilyQCState\",\"symbols\":[\"noState\",\"passedMedicalReviewReadyForInterpretation\",\"passedMedicalReviewNotReadyForInterpretation\",\"queryToGel\",\"queryToGMC\",\"failed\"]},{\"type\":\"enum\",\"name\":\"AdoptedStatus\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"adoptedin means adopted into the family\\n    adoptedout means child belonged to the family and was adopted out\",\"symbols\":[\"notadopted\",\"adoptedin\",\"adoptedout\"]},{\"type\":\"record\",\"name\":\"DiagnosticDetail\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"diagnosisCodingSystem\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Diagnosis coding system\"},{\"name\":\"diagnosisCodingSystemVersion\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis Coding System Version\"},{\"name\":\"diagnosisCode\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Diagnosis Code\"},{\"name\":\"diagnosisDescription\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis description\"},{\"name\":\"diagnosisCertainty\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Diagnosis Certainty\"},{\"name\":\"ageAtOnsetInYears\",\"type\":[\"null\",\"float\"],\"d","oc\":\"Age at diagnosis\"}]},{\"type\":\"record\",\"name\":\"PedigreeMember\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines a RD Participant (demographics and pedigree information)\",\"fields\":[{\"name\":\"pedigreeId\",\"type\":[\"null\",\"int\"],\"doc\":\"Numbering used to refer to each member of the pedigree\"},{\"name\":\"isProband\",\"type\":[\"null\",\"boolean\"],\"doc\":\"If this field is true, the member should be considered the proband of this family\"},{\"name\":\"participantId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"participantId.  This is the human readable ID in GMS\"},{\"name\":\"participantQCState\",\"type\":[\"null\",\"ParticipantQCState\"],\"doc\":\"participantQCState\"},{\"name\":\"gelSuperFamilyId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"superFamily id, this id is built as a concatenation of all\\n        families id in this superfamily i.e, fam10024_fam100457.\\n        NOTE: Retired for GMS\"},{\"name\":\"sex\",\"type\":\"Sex\",\"doc\":\"Sex of the Participant\"},{\"name\":\"personKaryotypicSex\",\"type\":[\"null\",\"PersonKaryotipicSex\"],\"doc\":\"Karyotypic sex of the participant as previously established or by looking at the GEL genome\"},{\"name\":\"yearOfBirth\",\"type\":[\"null\",\"int\"],\"doc\":\"Year of Birth\"},{\"name\":\"fatherId\",\"type\":[\"null\",\"int\"],\"doc\":\"refers to the pedigreeId of the father\\n        Id of the parent, if unknown then no parent is referenced. Parents may need to be entered even if no data is known\\n        about them in order to unambiguously reconstruct the pedigree.\"},{\"name\":\"motherId\",\"type\":[\"null\",\"int\"],\"doc\":\"refers to the pedigreeId of the mother\\n        Id of the parent, if unknown then no parent is referenced. Parents may need to be entered even if no data is known\\n        about them in order to unambiguously reconstruct the pedigree.\"},{\"name\":\"superFatherId\",\"type\":[\"null\",\"int\"],\"doc\":\"this id is built using the original familyId and the original pedigreeId of the father\\n        NOTE: retired for GMS\"},{\"name\":\"superMotherId\",\"type\":[\"null\",\"int\"],\"doc\":\"this id is built using the original familyId and the original pedigreeId of the mother\\n        NOTE: Retired for GMS\"},{\"name\":\"twinGroup\",\"type\":[\"null\",\"int\"],\"doc\":\"Each twin group is numbered, i.e. all members of a group of multiparous births receive the same number\"},{\"name\":\"monozygotic\",\"type\":[\"null\",\"TernaryOption\"],\"doc\":\"A property of the twinning group but should be entered for all members\"},{\"name\":\"adoptedStatus\",\"type\":[\"null\",\"AdoptedStatus\"],\"doc\":\"Adopted Status\"},{\"name\":\"lifeStatus\",\"type\":[\"null\",\"LifeStatus\"],\"doc\":\"Life Status\"},{\"name\":\"consanguineousParents\",\"type\":[\"null\",\"TernaryOption\"],\"doc\":\"The parents of this participant has a consanguineous relationship\"},{\"name\":\"affectionStatus\",\"type\":[\"null\",\"AffectionStatus\"],\"doc\":\"Affection Status\"},{\"name\":\"disorderList\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Disorder\"}],\"doc\":\"Clinical Data (disorders). If the family member is unaffected as per affectionStatus then this list is empty.\"},{\"name\":\"hpoTermList\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"HpoTerm\"}],\"doc\":\"Clinical Data (HPO terms)\"},{\"name\":\"ancestries\",\"type\":[\"null\",\"Ancestries\"],\"doc\":\"Participant's ancestries, defined as Mother's/Father's Ethnic Origin and Chi-square test for goodness of fit of this sample to 1000 Genomes Phase 3 populations.\\n        NOTE: for GMS this field has been deprecated in favour of clinicalEthnicities\"},{\"name\":\"consentStatus\",\"type\":[\"null\",\"ConsentStatus\"],\"doc\":\"What has this participant consented to?\\n        A participant that has been consented to the programme should also have sequence data associated with them; however\\n        this needs to be programmatically checked\"},{\"name\":\"testConsentStatus\",\"type\":[\"null\",\"GmsConsentStatus\"],\"doc\":\"What has this participant consented in the context of a Genomic Test?\"},{\"name\":\"samples\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"GermlineSample\"}],\"doc\":\"This is an array containing all the samples that belong to this individual, e.g [\\\"LP00002255_GA4\\\"]\"},{\"name\":\"inbreedingCoefficient\",\"type\":[\"null\",\"InbreedingCoefficient\"],\"doc\":\"Inbreeding Coefficient Estimation\"},{\"name\":\"additionalInformation\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"We could add a map here to store additional information for example URIs to images, ECGs, etc\\n        Null by default\"},{\"name\":\"lastMenstrualPeriod\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Last Menstrual Period\"},{\"name\":\"diagnosticDetails\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"DiagnosticDetail\"}],\"doc\":\"Additional set of diagnostic ontology terms\"},{\"name\":\"participantUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"ParticipantGUID in GMS\"},{\"name\":\"clinicalEthnicities\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"ClinicalEthnicity\"}],\"doc\":\"ClinicalEthnicity as defined for GMS\"},{\"name\":\"previousTreatment\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"PreviousTreatment\"}],\"doc\":\"For GMS cases, previous Treatment History\"}]},{\"type\":\"record\",\"name\":\"DiseasePenetrance\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"A disease penetrance definition\",\"fields\":[{\"name\":\"specificDisease\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"The disease to which the penetrance applies\"},{\"name\":\"penetrance\",\"type\":\"Penetrance\",\"doc\":\"The penetrance\"}]},{\"type\":\"record\",\"name\":\"Pedigree\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This is the concept of a family with associated phenotypes as present in the record RDParticipant\",\"fields\":[{\"name\":\"versionControl\",\"type\":[\"null\",\"VersionControl\"],\"doc\":\"Model version number\"},{\"name\":\"LDPCode\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"LDP Code (Local Delivery Partner)\"},{\"name\":\"familyId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Family identifier which internally translate to a sample set\"},{\"name\":\"members\",\"type\":{\"type\":\"array\",\"items\":\"PedigreeMember\"},\"doc\":\"List of members of a pedigree\"},{\"name\":\"analysisPanels\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"AnalysisPanel\"}],\"doc\":\"List of panels\"},{\"name\":\"diseasePenetrances\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"DiseasePenetrance\"}],\"doc\":\"List of disease penetrances. Moved to referralTest for GMS\"},{\"name\":\"readyForAnalysis\",\"type\":\"boolean\",\"doc\":\"Flag indicating if a pedigree is ready for analysis\"},{\"name\":\"familyQCState\",\"type\":[\"null\",\"FamilyQCState\"],\"doc\":\"The family quality control status\"}]},{\"type\":\"record\",\"name\":\"InterpretationRequestRD\",\"doc\":\"This record represents basic information for this report\",\"fields\":[{\"name\":\"versionControl\",\"type\":\"ReportVersionControl\",\"doc\":\"Model version number\"},{\"name\":\"interpretationRequestId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Identifier for this interpretation request\"},{\"name\":\"interpretationRequestVersion\",\"type\":\"int\",\"doc\":\"Version for this interpretation request\"},{\"name\":\"internalStudyId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Internal study identifier\"},{\"name\":\"familyInternalId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Family internal identifier\"},{\"name\":\"genomeAssembly\",\"type\":\"Assembly\",\"doc\":\"This is the version of the assembly used to align the reads\"},{\"name\":\"workspace\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},\"doc\":\"The genome shall be assigned to the workspaces(projects or domains with a predefined set of users) to control user access\"},{\"name\":\"bams\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"BAMs Files\"},{\"name\":\"vcfs\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"VCFs Files where SVs and CNVs are represented\"},{\"name\":\"bigWigs\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"BigWig Files\"},{\"name\":\"pedigreeDiagram\",\"type\":[\"null\",\"File\"],\"doc\":\"Pedigree Diagram Files as an SGV\"},{\"name\":\"annotationFile\",\"type\":[\"null\",\"File\"],\"doc\":\"Variant Annotation File\"},{\"name\":\"otherFiles\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"File\",\"avro.java.string\":\"String\"}],\"doc\":\"Other files that may be vendor specific\\n       "," map of key: type of file, value: record of type File\"},{\"name\":\"pedigree\",\"type\":[\"null\",\"org.gel.models.participant.avro.Pedigree\"],\"doc\":\"Pedigree of the family.\"},{\"name\":\"otherFamilyHistory\",\"type\":[\"null\",\"OtherFamilyHistory\"],\"doc\":\"It is paternal or maternal with reference to the participant.\"},{\"name\":\"genePanelsCoverage\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"map\",\"values\":{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"This map of key: panel_name, value: (map of key: gene, value: (map of metrics of key: metric name, value: float))\\n        That is: a map of tables of genes and metrics\"},{\"name\":\"interpretationFlags\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"InterpretationFlag\"}],\"doc\":\"Flags for this case relevant for interpretation\"},{\"name\":\"participantsInterpretationFlags\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"ParticipantInterpretationFlags\"}],\"doc\":\"Flags for this case relevant for interpretation per participant\"},{\"name\":\"additionalInfo\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Additional information\"}]},{\"type\":\"record\",\"name\":\"MatchedSamples\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines a pair of germline and tumor, this pair should/must be analyzed together\",\"fields\":[{\"name\":\"germlineSampleId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Sample identifier (e.g, LP00012645_5GH)) for the germline\"},{\"name\":\"tumourSampleId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Sample identifier (e.g, LP00012643_7JS)) for the tumor\"}]},{\"type\":\"record\",\"name\":\"Tumour\",\"namespace\":\"org.gel.models.participant.avro\",\"fields\":[{\"name\":\"tumourId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"TumourId in GMS\"},{\"name\":\"tumourLocalId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Local hospital tumour ID from the GLH Laboratory Information Management System (LIMS) in GMS\"},{\"name\":\"tumourType\",\"type\":\"TumourType\",\"doc\":\"tumourType\"},{\"name\":\"tumourParentId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Parent Tumour UID if this tumour is metastatic\"},{\"name\":\"tumourDiagnosisDate\",\"type\":[\"null\",\"Date\"],\"doc\":\"Date of Diagnosis of the specific tumour\"},{\"name\":\"tumourDescription\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Description of the tumour\"},{\"name\":\"tumourMorphologies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Morphology\"}],\"doc\":\"Morphology of the tumour\"},{\"name\":\"tumourTopographies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Topography\"}],\"doc\":\"Topography of the tumour\"},{\"name\":\"tumourPrimaryTopographies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Topography\"}],\"doc\":\"Associated primary topography for metastatic tumours\"},{\"name\":\"tumourGrade\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Grade of the Tumour\"},{\"name\":\"tumourStage\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Stage of the Tumour\"},{\"name\":\"tumourPrognosticScore\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Prognostic Score of the Tumour\"},{\"name\":\"tumourPresentation\",\"type\":[\"null\",\"TumourPresentation\"],\"doc\":\"In GMS, tumour presentation\"},{\"name\":\"primaryOrMetastatic\",\"type\":[\"null\",\"PrimaryOrMetastatic\"],\"doc\":\"In GMS, primary or metastatic\"}]},{\"type\":\"record\",\"name\":\"CancerParticipant\",\"namespace\":\"org.gel.models.participant.avro\",\"doc\":\"This defines a Cancer Participant\",\"fields\":[{\"name\":\"yearOfBirth\",\"type\":[\"null\",\"int\"],\"doc\":\"Year of birth for the cancer participant\"},{\"name\":\"morphology\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Morphology of any tumours\\n        NOTE: In GMS, this field is deprecated as morphology will be in sample or with respect to a tumour record\"},{\"name\":\"readyForAnalysis\",\"type\":\"boolean\",\"doc\":\"Flag indicating if the participant is ready for analysis\\n        NOTE: In GMS, this will default to true\"},{\"name\":\"consentStatus\",\"type\":[\"null\",\"ConsentStatus\"],\"doc\":\"What has this participant consented to?\\n        A participant that has been consented to the programme should also have sequence data associated with them; however\\n        this needs to be programmatically checked\"},{\"name\":\"testConsentStatus\",\"type\":[\"null\",\"GmsConsentStatus\"],\"doc\":\"What has this participant consented in the context of a Genomic Test?\"},{\"name\":\"center\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Center\\n        NOTE: In GMS, this will be taken from the ReferralTest and duplicated here\"},{\"name\":\"individualId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Individual identifier\"},{\"name\":\"participantId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"This is a human readable participant ID\"},{\"name\":\"primaryDiagnosisDisease\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"This should be an enumeration when it is well defined\\n        blood, breast, prostate, colorectal, cll, aml, renal, ovarian, skin, lymphNode, bone, saliva //for individual - there could be more than I have listed here, in fact there definitely will.\\n        In GMS, this field is deprecated\"},{\"name\":\"primaryDiagnosisSubDisease\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"This should be an enumeration when it is well defined\\n        blood, breast, prostate, colorectal, cll, aml, renal, ovarian, skin, lymphNode, bone, saliva //for individual - there could be more than I have listed here, in fact there definitely will.\\n        In GMS, this field is deprecated\"},{\"name\":\"sex\",\"type\":\"Sex\",\"doc\":\"Sex\"},{\"name\":\"additionalInformation\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"We could add a map here to store additional information for example URIs to images, ECGs, etc\"},{\"name\":\"assignedICD10\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"assigned ICD10 code\\n        IN GMS, this is deprecated\"},{\"name\":\"tumourSamples\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"TumourSample\"}],\"doc\":\"List of tumour samples\\n        IN GMS, this is deprecated and moved to ReferralTest\"},{\"name\":\"germlineSamples\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"GermlineSample\"}],\"doc\":\"List of germline samples\\n        IN GMS, this is deprecated and moved to ReferralTest\"},{\"name\":\"versionControl\",\"type\":[\"null\",\"VersionControl\"],\"doc\":\"Model version number\"},{\"name\":\"participantUid\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Individual UID in GMS\"},{\"name\":\"tumours\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Tumour\"}],\"doc\":\"In GMS, for all tumours for the CancerParticipant, independent of any samples\"},{\"name\":\"previousTreatment\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"PreviousTreatment\"}],\"doc\":\"In GMS, any previous treatment recorded in TOMs\"}]},{\"type\":\"record\",\"name\":\"CancerInterpretationRequest\",\"doc\":\"This record represents basic information for this report\",\"fields\":[{\"name\":\"versionControl\",\"type\":\"ReportVersionControl\",\"doc\":\"Model version number\"},{\"name\":\"interpretationRequestId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Identifier for this interpretation request\"},{\"name\":\"interpretationRequestVersion\",\"type\":\"int\",\"doc\":\"Version for this interpretation request\"},{\"name\":\"internalStudyId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Internal study identifier\"},{\"name\":\"participantInternalId\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"Participant internal identifier\"},{\"name\":\"genomeAssembly\",\"type\":\"Assembly\",\"doc\":\"This is the version of the assembly used to align the reads\"},{\"name\":\"workspace\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},\"doc\":\"The genome shall be assigned to the workspaces(projects or domains with a predefined set of users) to control user access\"},{\"name\":","\"bams\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"BAMs Files\"},{\"name\":\"vcfs\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"VCFs Files where SVs and CNVs are represented\"},{\"name\":\"bigWigs\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"File\"}],\"doc\":\"BigWig Files\"},{\"name\":\"annotationFile\",\"type\":[\"null\",\"File\"],\"doc\":\"Variant Annotation File\"},{\"name\":\"otherFiles\",\"type\":[\"null\",{\"type\":\"map\",\"values\":\"File\",\"avro.java.string\":\"String\"}],\"doc\":\"Other files that may be vendor specific\\n        map of key: type of file, value: record of type File\"},{\"name\":\"cancerParticipant\",\"type\":[\"null\",\"org.gel.models.participant.avro.CancerParticipant\"],\"doc\":\"Cancer Particiapnt Data.\"},{\"name\":\"otherFamilyHistory\",\"type\":[\"null\",\"OtherFamilyHistory\"],\"doc\":\"It is paternal or maternal with reference to the participant.\"},{\"name\":\"genePanelsCoverage\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"map\",\"values\":{\"type\":\"map\",\"values\":\"float\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"This map of key: panel_name, value: (map of key: gene, value: (map of metrics of key: metric name, value: float))\\n        That is: a map of tables of genes and metrics\"},{\"name\":\"interpretationFlags\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"InterpretationFlag\"}],\"doc\":\"Flags about this case relevant for interpretation\"},{\"name\":\"additionalInfo\",\"type\":[\"null\",{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"}],\"doc\":\"Additional information\"}]},{\"type\":\"record\",\"name\":\"InterpretedGenome\",\"doc\":\"A interpreted genome for the rare disease program. This holds the list of candidate variants reported by an\\n    interpretation service together with all the relevant information that identify the case and how these conclusions were reached.\",\"fields\":[{\"name\":\"versionControl\",\"type\":\"ReportVersionControl\",\"doc\":\"Model version number\"},{\"name\":\"interpretationRequestId\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Identifier for this interpretation request\"},{\"name\":\"interpretationRequestVersion\",\"type\":\"int\",\"doc\":\"Version for this interpretation request\"},{\"name\":\"interpretationService\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"doc\":\"Name of the interpretation service\"},{\"name\":\"reportUrl\",\"type\":[\"null\",{\"type\":\"string\",\"avro.java.string\":\"String\"}],\"doc\":\"URL where the results can be accessed in the company's web interface\"},{\"name\":\"variants\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"SmallVariant\"}],\"doc\":\"List of small reported variants\"},{\"name\":\"structuralVariants\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"StructuralVariant\"}],\"doc\":\"List of simple structural reported variants (duplications, deletions, insertions, inversions, CNVs)\"},{\"name\":\"chromosomalRearrangements\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"ChromosomalRearrangement\"}],\"doc\":\"List of complex structural reported variants (chomosomal rearrangement)\"},{\"name\":\"shortTandemRepeats\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"ShortTandemRepeat\"}],\"doc\":\"List of short tandem repeat variants\"},{\"name\":\"uniparentalDisomies\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"UniparentalDisomy\"}],\"doc\":\"List of uniparental disomies across all the individuals in this report\"},{\"name\":\"karyotypes\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"Karyotype\"}],\"doc\":\"List of inferred karyotypes across all the individuals in this report\"},{\"name\":\"referenceDatabasesVersions\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"doc\":\"This map contains the versions of the different databases used in the process, being the database names the\\n        keys and the versions the values.\"},{\"name\":\"softwareVersions\",\"type\":{\"type\":\"map\",\"values\":{\"type\":\"string\",\"avro.java.string\":\"String\"},\"avro.java.string\":\"String\"},\"doc\":\"This map contains the versions of the different software systems used in the process, being the software\\n        names the keys and the versions the values.\"},{\"name\":\"comments\",\"type\":[\"null\",{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"doc\":\"Comments about the report\"}]},{\"type\":\"record\",\"name\":\"InterpretationDataRd\",\"doc\":\"Represents the set of all interpretation data (excluding file contents) to be stored in MDT for\\none TieringResult.\\nSemantic restrictions (not automatically verifiable):\\n\\n* All InterpretedGenomes in interpretationResults refer to the TieringResult tieringResult.\\n* All InterpretedGenomes in interpretationResults have passed the QC stage and have been approved by the originating GMCs\",\"fields\":[{\"name\":\"interpretationMetaData\",\"type\":\"InterpretationRequestRD\"},{\"name\":\"tieringResult\",\"type\":[\"null\",\"InterpretedGenome\"]},{\"name\":\"otherInterpretationResults\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"InterpretedGenome\"}]}]},{\"type\":\"record\",\"name\":\"InterpretationDataCancer\",\"doc\":\"Represents the set of all interpretation data (excluding file contents) to be stored in MDT for\\none TieringResult.\\nSemantic restrictions (not automatically verifiable):\\n\\n* All InterpretedGenomes in interpretationResults refer to the TieringResult tieringResult.\\n* All InterpretedGenomes in interpretationResults have passed the QC stage and have been approved by the originating GMCs\",\"fields\":[{\"name\":\"interpretationMetaData\",\"type\":\"CancerInterpretationRequest\"},{\"name\":\"tieringResult\",\"type\":[\"null\",\"InterpretedGenome\"]},{\"name\":\"otherInterpretationResults\",\"type\":[\"null\",{\"type\":\"array\",\"items\":\"InterpretedGenome\"}]}]}],\"messages\":{}}");

  @SuppressWarnings("all")
  /** This protocol defines the integration mechanism to store analysis results in the MDT (Multi-disciplinary Tool). */
  public interface Callback extends MDTDelivery {
    public static final org.apache.avro.Protocol PROTOCOL = org.gel.models.report.avro.MDTDelivery.PROTOCOL;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy