1
0
mirror of https://github.com/dnpm-dip/mv64e-mtb-dto-dotnet.git synced 2025-09-13 08:42:51 +00:00

chore: update data model

Changes due to:
* 523a251bcc
* a80573f086
This commit is contained in:
2025-07-04 07:50:30 +02:00
parent 634e8e8cd5
commit 2c2fb8f5df
2 changed files with 2057 additions and 1443 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -175,7 +175,7 @@ namespace MV64e.MTB
public partial class MtbMedicationRecommendation public partial class MtbMedicationRecommendation
{ {
[JsonProperty("category", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)] [JsonProperty("category", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public MtbMedicationRecommendationCategoryCoding Category { get; set; } public List<MtbMedicationRecommendationCategoryCoding> Category { get; set; }
[JsonProperty("id", Required = Required.Always)] [JsonProperty("id", Required = Required.Always)]
public string Id { get; set; } public string Id { get; set; }
@@ -2136,7 +2136,7 @@ namespace MV64e.MTB
public enum MvhSubmissionType { Addition, Correction, Followup, Initial }; public enum MvhSubmissionType { Addition, Correction, Followup, Initial };
public enum Chromosome { Chr1, Chr10, Chr11, Chr12, Chr13, Chr14, Chr15, Chr16, Chr17, Chr18, Chr19, Chr2, Chr20, Chr21, Chr22, Chr3, Chr4, Chr5, Chr6, Chr7, Chr8, Chr9, ChrX, ChrY }; public enum Chromosome { Chr1, Chr10, Chr11, Chr12, Chr13, Chr14, Chr15, Chr16, Chr17, Chr18, Chr19, Chr2, Chr20, Chr21, Chr22, Chr3, Chr4, Chr5, Chr6, Chr7, Chr8, Chr9, ChrX, ChrY, ChrMt };
public enum ExternalIdSystem { CancerSangerAcUkCosmic, EnsemblOrg, NcbiNlmNihGovEntrez, NcbiNlmNihGovSnp }; public enum ExternalIdSystem { CancerSangerAcUkCosmic, EnsemblOrg, NcbiNlmNihGovEntrez, NcbiNlmNihGovSnp };
@@ -4107,6 +4107,8 @@ namespace MV64e.MTB
return Chromosome.ChrX; return Chromosome.ChrX;
case "chrY": case "chrY":
return Chromosome.ChrY; return Chromosome.ChrY;
case "chrMT":
return Chromosome.ChrMt;
} }
throw new Exception("Cannot unmarshal type Chromosome"); throw new Exception("Cannot unmarshal type Chromosome");
} }
@@ -4193,6 +4195,9 @@ namespace MV64e.MTB
case Chromosome.ChrY: case Chromosome.ChrY:
serializer.Serialize(writer, "chrY"); serializer.Serialize(writer, "chrY");
return; return;
case Chromosome.ChrMt:
serializer.Serialize(writer, "chrMT");
return;
} }
throw new Exception("Cannot marshal type Chromosome"); throw new Exception("Cannot marshal type Chromosome");
} }