mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-go.git
synced 2025-09-13 10:42:52 +00:00
Merge pull request #11 from pcvolkmer/update_datamodel
chore: update data model
This commit is contained in:
47
mtb.go
47
mtb.go
@@ -29,6 +29,7 @@ type Mtb struct {
|
|||||||
GuidelineTherapies []MtbSystemicTherapy `json:"guidelineTherapies,omitempty"`
|
GuidelineTherapies []MtbSystemicTherapy `json:"guidelineTherapies,omitempty"`
|
||||||
HistologyReports []HistologyReport `json:"histologyReports,omitempty"`
|
HistologyReports []HistologyReport `json:"histologyReports,omitempty"`
|
||||||
IhcReports []IhcReport `json:"ihcReports,omitempty"`
|
IhcReports []IhcReport `json:"ihcReports,omitempty"`
|
||||||
|
MsiFindings []Msi `json:"msiFindings,omitempty"`
|
||||||
Metadata *MvhMetadata `json:"metadata,omitempty"`
|
Metadata *MvhMetadata `json:"metadata,omitempty"`
|
||||||
NgsReports []SomaticNgsReport `json:"ngsReports,omitempty"`
|
NgsReports []SomaticNgsReport `json:"ngsReports,omitempty"`
|
||||||
Patient Patient `json:"patient"`
|
Patient Patient `json:"patient"`
|
||||||
@@ -498,11 +499,11 @@ type IhcReport struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type IhcReportResults struct {
|
type IhcReportResults struct {
|
||||||
MSIMmr []MSIMmr `json:"msiMmr"`
|
MsiMmr []MsiMmr `json:"msiMmr"`
|
||||||
ProteinExpression []ProteinExpression `json:"proteinExpression"`
|
ProteinExpression []ProteinExpression `json:"proteinExpression"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MSIMmr struct {
|
type MsiMmr struct {
|
||||||
ICScore *ProteinExpressionICScoreCoding `json:"icScore,omitempty"`
|
ICScore *ProteinExpressionICScoreCoding `json:"icScore,omitempty"`
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Patient Reference `json:"patient"`
|
Patient Reference `json:"patient"`
|
||||||
@@ -543,6 +544,29 @@ type ProteinExpression struct {
|
|||||||
Value ProteinExpressionResultCoding `json:"value"`
|
Value ProteinExpressionResultCoding `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Msi struct {
|
||||||
|
ID string `json:"id"`
|
||||||
|
Interpretation MsiInterpretationCoding `json:"interpretation"`
|
||||||
|
Method MsiMethodCoding `json:"method"`
|
||||||
|
Patient Reference `json:"patient"`
|
||||||
|
Specimen Reference `json:"specimen"`
|
||||||
|
Value float64 `json:"value"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type MsiInterpretationCoding struct {
|
||||||
|
Code MsiInterpretationCodingCode `json:"code"`
|
||||||
|
Display *string `json:"display,omitempty"`
|
||||||
|
System *string `json:"system,omitempty"`
|
||||||
|
Version *string `json:"version,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type MsiMethodCoding struct {
|
||||||
|
Code MsiMethodCodingCode `json:"code"`
|
||||||
|
Display *string `json:"display,omitempty"`
|
||||||
|
System *string `json:"system,omitempty"`
|
||||||
|
Version *string `json:"version,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
type MvhMetadata struct {
|
type MvhMetadata struct {
|
||||||
ModelProjectConsent ModelProjectConsent `json:"modelProjectConsent"`
|
ModelProjectConsent ModelProjectConsent `json:"modelProjectConsent"`
|
||||||
ResearchConsents []map[string]interface{} `json:"researchConsents,omitempty"`
|
ResearchConsents []map[string]interface{} `json:"researchConsents,omitempty"`
|
||||||
@@ -1236,6 +1260,25 @@ const (
|
|||||||
ProteinExpressionResultCodingCodeCode3Plus ProteinExpressionResultCodingCode = "3+"
|
ProteinExpressionResultCodingCodeCode3Plus ProteinExpressionResultCodingCode = "3+"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type MsiInterpretationCodingCode string
|
||||||
|
|
||||||
|
const (
|
||||||
|
MsiInterpretationCodingCodeMsiHigh MsiInterpretationCodingCode = "msi-high"
|
||||||
|
MsiInterpretationCodingCodeUnknown MsiInterpretationCodingCode = "unknown"
|
||||||
|
MsiInterpretationCodingCodeMsiLow MsiInterpretationCodingCode = "msi-low"
|
||||||
|
MsiInterpretationCodingCodeMmrDeficient MsiInterpretationCodingCode = "mmr-deficient"
|
||||||
|
MsiInterpretationCodingCodeMmrProficient MsiInterpretationCodingCode = "mmr-proficient"
|
||||||
|
MsiInterpretationCodingCodeStable MsiInterpretationCodingCode = "stable"
|
||||||
|
)
|
||||||
|
|
||||||
|
type MsiMethodCodingCode string
|
||||||
|
|
||||||
|
const (
|
||||||
|
MsiMethodCodingCodeIhc MsiMethodCodingCode = "IHC"
|
||||||
|
MsiMethodCodingCodeBioinformatic MsiMethodCodingCode = "bioinformatic"
|
||||||
|
MsiMethodCodingCodePCR MsiMethodCodingCode = "PCR"
|
||||||
|
)
|
||||||
|
|
||||||
type ModelProjectConsentPurpose string
|
type ModelProjectConsentPurpose string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user