mirror of
https://github.com/dnpm-dip/mv64e-mtb-dto-rs.git
synced 2025-09-13 02:32:52 +00:00
Merge pull request #12 from pcvolkmer/update-datamodel
This commit is contained in:
@@ -66,9 +66,7 @@ impl Mtb {
|
||||
ngs_reports: None,
|
||||
ihc_reports: None,
|
||||
patient: Patient {
|
||||
address: Address {
|
||||
municipality_code: String::new(),
|
||||
},
|
||||
address: None,
|
||||
age: None,
|
||||
birth_date: String::new(),
|
||||
date_of_death: None,
|
||||
@@ -81,7 +79,7 @@ impl Mtb {
|
||||
id: patient_id.to_string(),
|
||||
health_insurance: HealthInsurance {
|
||||
health_insurance_type: HealthInsuranceCoding {
|
||||
code: HealthInsuranceCodingCode::Bei,
|
||||
code: HealthInsuranceCodingCode::Unk,
|
||||
display: None,
|
||||
system: None,
|
||||
version: None,
|
||||
|
@@ -1709,6 +1709,8 @@ pub enum MvhSubmissionType {
|
||||
Followup,
|
||||
|
||||
Initial,
|
||||
|
||||
Test,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
@@ -2471,7 +2473,8 @@ pub enum NgsReportCodingCode {
|
||||
#[serde(deny_unknown_fields)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Patient {
|
||||
pub address: Address,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub address: Option<Address>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub age: Option<Age>,
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user