|
@@ -84,45 +84,45 @@ class ReportTemplateDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(reportTemplateCode != null) {
|
|
|
+ if (reportTemplateCode != null) {
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
}
|
|
|
- if(reportTemplateName != null) {
|
|
|
+ if (reportTemplateName != null) {
|
|
|
map['ReportTemplateName'] = reportTemplateName;
|
|
|
}
|
|
|
map['ReportTemplateStateType'] = reportTemplateStateType.index;
|
|
|
map['ReportTemplateType'] = reportTemplateType.index;
|
|
|
map['ReportTemplateUsageType'] = reportTemplateUsageType.index;
|
|
|
- if(organizationCode != null) {
|
|
|
+ if (organizationCode != null) {
|
|
|
map['OrganizationCode'] = organizationCode;
|
|
|
}
|
|
|
- if(personalCode != null) {
|
|
|
+ if (personalCode != null) {
|
|
|
map['PersonalCode'] = personalCode;
|
|
|
}
|
|
|
- if(organizationName != null) {
|
|
|
+ if (organizationName != null) {
|
|
|
map['OrganizationName'] = organizationName;
|
|
|
}
|
|
|
- if(personalName != null) {
|
|
|
+ if (personalName != null) {
|
|
|
map['PersonalName'] = personalName;
|
|
|
}
|
|
|
- if(reportTemplateJson != null) {
|
|
|
+ if (reportTemplateJson != null) {
|
|
|
map['ReportTemplateJson'] = reportTemplateJson;
|
|
|
}
|
|
|
- if(referenceReportTemplateCode != null) {
|
|
|
+ if (referenceReportTemplateCode != null) {
|
|
|
map['ReferenceReportTemplateCode'] = referenceReportTemplateCode;
|
|
|
}
|
|
|
map['IsDefault'] = isDefault;
|
|
|
map['IsUserDefault'] = isUserDefault;
|
|
|
- if(reportDatasJson != null) {
|
|
|
+ if (reportDatasJson != null) {
|
|
|
map['ReportDatasJson'] = reportDatasJson;
|
|
|
}
|
|
|
- if(templatePreviewList != null) {
|
|
|
+ if (templatePreviewList != null) {
|
|
|
map['TemplatePreviewList'] = templatePreviewList;
|
|
|
}
|
|
|
- if(templatePreviewUrlList != null) {
|
|
|
+ if (templatePreviewUrlList != null) {
|
|
|
map['TemplatePreviewUrlList'] = templatePreviewUrlList;
|
|
|
}
|
|
|
- if(languageCode != null) {
|
|
|
+ if (languageCode != null) {
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
}
|
|
|
return map;
|
|
@@ -151,9 +151,9 @@ class FindReportTemplateByCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -181,9 +181,9 @@ class FindReportByCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
- if(language != null)
|
|
|
+ if (language != null)
|
|
|
map['Language'] = language;
|
|
|
return map;
|
|
|
}
|
|
@@ -211,9 +211,9 @@ class FindPatientReportsRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(patientCode != null)
|
|
|
+ if (patientCode != null)
|
|
|
map['PatientCode'] = patientCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -258,14 +258,14 @@ class ReportLabelDTO extends BaseDTO{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportLabelCode != null)
|
|
|
+ if (reportLabelCode != null)
|
|
|
map['ReportLabelCode'] = reportLabelCode;
|
|
|
- if(labelName != null)
|
|
|
+ if (labelName != null)
|
|
|
map['LabelName'] = labelName;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
map['UsageType'] = usageType.index;
|
|
|
- if(labelItems != null)
|
|
|
+ if (labelItems != null)
|
|
|
map['LabelItems'] = labelItems;
|
|
|
return map;
|
|
|
}
|
|
@@ -297,9 +297,9 @@ class FindReportLabelsRequest extends TokenRequest{
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
map['ReportType'] = reportType.index;
|
|
|
- if(recordCode != null)
|
|
|
+ if (recordCode != null)
|
|
|
map['RecordCode'] = recordCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -333,11 +333,11 @@ class ShareDTO extends BaseDTO{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(shareCode != null)
|
|
|
+ if (shareCode != null)
|
|
|
map['ShareCode'] = shareCode;
|
|
|
- if(shortCode != null)
|
|
|
+ if (shortCode != null)
|
|
|
map['ShortCode'] = shortCode;
|
|
|
- if(shareContent != null)
|
|
|
+ if (shareContent != null)
|
|
|
map['ShareContent'] = shareContent;
|
|
|
return map;
|
|
|
}
|
|
@@ -358,7 +358,7 @@ class FindShareContentRequest {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(shortCode != null) {
|
|
|
+ if (shortCode != null) {
|
|
|
map['ShortCode'] = shortCode;
|
|
|
}
|
|
|
return map;
|
|
@@ -418,25 +418,25 @@ class AddReportRequest extends TokenRequest{
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
map['ReportType'] = reportType.index;
|
|
|
- if(recordCode != null)
|
|
|
+ if (recordCode != null)
|
|
|
map['RecordCode'] = recordCode;
|
|
|
- if(reportTemplateJson != null)
|
|
|
+ if (reportTemplateJson != null)
|
|
|
map['ReportTemplateJson'] = reportTemplateJson;
|
|
|
- if(reportDatasJson != null)
|
|
|
+ if (reportDatasJson != null)
|
|
|
map['ReportDatasJson'] = reportDatasJson;
|
|
|
- if(patientName != null)
|
|
|
+ if (patientName != null)
|
|
|
map['PatientName'] = patientName;
|
|
|
- if(reportLabels != null)
|
|
|
+ if (reportLabels != null)
|
|
|
map['ReportLabels'] = reportLabels;
|
|
|
- if(platformLabels != null)
|
|
|
+ if (platformLabels != null)
|
|
|
map['PlatformLabels'] = platformLabels;
|
|
|
- if(diagnosisLabels != null)
|
|
|
+ if (diagnosisLabels != null)
|
|
|
map['DiagnosisLabels'] = diagnosisLabels;
|
|
|
map['ReportOrgan'] = reportOrgan.index;
|
|
|
- if(referralRecordCode != null)
|
|
|
+ if (referralRecordCode != null)
|
|
|
map['ReferralRecordCode'] = referralRecordCode;
|
|
|
map['IsReferral'] = isReferral;
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -497,7 +497,7 @@ class ModifyReportRequest extends AddReportRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -525,9 +525,9 @@ class ModifyReportLabelsRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
- if(reportLabels != null)
|
|
|
+ if (reportLabels != null)
|
|
|
map['ReportLabels'] = reportLabels;
|
|
|
return map;
|
|
|
}
|
|
@@ -558,11 +558,11 @@ class ShareReportBySmsRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
- if(mobileList != null)
|
|
|
+ if (mobileList != null)
|
|
|
map['MobileList'] = mobileList;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -593,11 +593,11 @@ class ShareReportByEmailRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
- if(emailList != null)
|
|
|
+ if (emailList != null)
|
|
|
map['EmailList'] = emailList;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -622,7 +622,7 @@ class CopyReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -647,7 +647,7 @@ class CopyOrgReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -690,15 +690,15 @@ class FindReportTemplatePagesRequest extends PageRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(isDefault != null)
|
|
|
+ if (isDefault != null)
|
|
|
map['IsDefault'] = isDefault;
|
|
|
- if(reportTemplateName != null)
|
|
|
+ if (reportTemplateName != null)
|
|
|
map['ReportTemplateName'] = reportTemplateName;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
- if(reportTemplateType != null)
|
|
|
+ if (reportTemplateType != null)
|
|
|
map['ReportTemplateType'] = reportTemplateType;
|
|
|
- if(reportTemplateStateType != null)
|
|
|
+ if (reportTemplateStateType != null)
|
|
|
map['ReportTemplateStateType'] = reportTemplateStateType;
|
|
|
return map;
|
|
|
}
|
|
@@ -735,14 +735,14 @@ class AddReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateName != null)
|
|
|
+ if (reportTemplateName != null)
|
|
|
map['ReportTemplateName'] = reportTemplateName;
|
|
|
- if(reportTemplateJson != null)
|
|
|
+ if (reportTemplateJson != null)
|
|
|
map['ReportTemplateJson'] = reportTemplateJson;
|
|
|
- if(reportDatasJson != null)
|
|
|
+ if (reportDatasJson != null)
|
|
|
map['ReportDatasJson'] = reportDatasJson;
|
|
|
map['ReportTemplateType'] = reportTemplateType.index;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -776,13 +776,13 @@ class UpdateReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
- if(reportTemplateName != null)
|
|
|
+ if (reportTemplateName != null)
|
|
|
map['ReportTemplateName'] = reportTemplateName;
|
|
|
- if(reportTemplateJson != null)
|
|
|
+ if (reportTemplateJson != null)
|
|
|
map['ReportTemplateJson'] = reportTemplateJson;
|
|
|
- if(reportDatasJson != null)
|
|
|
+ if (reportDatasJson != null)
|
|
|
map['ReportDatasJson'] = reportDatasJson;
|
|
|
return map;
|
|
|
}
|
|
@@ -807,7 +807,7 @@ class RemoveReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -838,9 +838,9 @@ class AddThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusName != null)
|
|
|
+ if (thesaurusName != null)
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
map['PatientType'] = patientType.index;
|
|
|
return map;
|
|
@@ -869,9 +869,9 @@ class UpdateThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusName != null)
|
|
|
+ if (thesaurusName != null)
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
return map;
|
|
|
}
|
|
@@ -902,11 +902,11 @@ class AddThesaurusClassifyRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemName != null)
|
|
|
+ if (thesaurusItemName != null)
|
|
|
map['ThesaurusItemName'] = thesaurusItemName;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -940,13 +940,13 @@ class AddThesaurusContentRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemDescription != null)
|
|
|
+ if (thesaurusItemDescription != null)
|
|
|
map['ThesaurusItemDescription'] = thesaurusItemDescription;
|
|
|
- if(thesaurusItemConclusion != null)
|
|
|
+ if (thesaurusItemConclusion != null)
|
|
|
map['ThesaurusItemConclusion'] = thesaurusItemConclusion;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -980,13 +980,13 @@ class UpdateThesaurusClassifyRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemCode != null)
|
|
|
+ if (thesaurusItemCode != null)
|
|
|
map['ThesaurusItemCode'] = thesaurusItemCode;
|
|
|
- if(thesaurusItemName != null)
|
|
|
+ if (thesaurusItemName != null)
|
|
|
map['ThesaurusItemName'] = thesaurusItemName;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1023,15 +1023,15 @@ class UpdateThesaurusContentRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemCode != null)
|
|
|
+ if (thesaurusItemCode != null)
|
|
|
map['ThesaurusItemCode'] = thesaurusItemCode;
|
|
|
- if(thesaurusItemDescription != null)
|
|
|
+ if (thesaurusItemDescription != null)
|
|
|
map['ThesaurusItemDescription'] = thesaurusItemDescription;
|
|
|
- if(thesaurusItemConclusion != null)
|
|
|
+ if (thesaurusItemConclusion != null)
|
|
|
map['ThesaurusItemConclusion'] = thesaurusItemConclusion;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1056,7 +1056,7 @@ class RemoveThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1084,9 +1084,9 @@ class RemoveThesaurusItemRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemCode != null)
|
|
|
+ if (thesaurusItemCode != null)
|
|
|
map['ThesaurusItemCode'] = thesaurusItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1159,33 +1159,33 @@ class ThesaurusDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(thesaurusCode != null) {
|
|
|
+ if (thesaurusCode != null) {
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
}
|
|
|
- if(thesaurusName != null) {
|
|
|
+ if (thesaurusName != null) {
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
}
|
|
|
map['ThesaurusStateType'] = thesaurusStateType.index;
|
|
|
map['ThesaurusType'] = thesaurusType.index;
|
|
|
map['ThesaurusUsageType'] = thesaurusUsageType.index;
|
|
|
- if(organizationCode != null) {
|
|
|
+ if (organizationCode != null) {
|
|
|
map['OrganizationCode'] = organizationCode;
|
|
|
}
|
|
|
- if(personalCode != null) {
|
|
|
+ if (personalCode != null) {
|
|
|
map['PersonalCode'] = personalCode;
|
|
|
}
|
|
|
- if(organizationName != null) {
|
|
|
+ if (organizationName != null) {
|
|
|
map['OrganizationName'] = organizationName;
|
|
|
}
|
|
|
- if(personalName != null) {
|
|
|
+ if (personalName != null) {
|
|
|
map['PersonalName'] = personalName;
|
|
|
}
|
|
|
- if(referenceThesaurusCode != null) {
|
|
|
+ if (referenceThesaurusCode != null) {
|
|
|
map['ReferenceThesaurusCode'] = referenceThesaurusCode;
|
|
|
}
|
|
|
map['IsDefault'] = isDefault;
|
|
|
map['IsUserDefault'] = isUserDefault;
|
|
|
- if(languageCode != null) {
|
|
|
+ if (languageCode != null) {
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
}
|
|
|
return map;
|
|
@@ -1241,23 +1241,23 @@ class GetThesaurusPageRequest extends PageRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(isDefault != null)
|
|
|
+ if (isDefault != null)
|
|
|
map['IsDefault'] = isDefault;
|
|
|
- if(userCode != null)
|
|
|
+ if (userCode != null)
|
|
|
map['UserCode'] = userCode;
|
|
|
- if(thesaurusStateType != null)
|
|
|
+ if (thesaurusStateType != null)
|
|
|
map['ThesaurusStateType'] = thesaurusStateType;
|
|
|
- if(thesaurusType != null)
|
|
|
+ if (thesaurusType != null)
|
|
|
map['ThesaurusType'] = thesaurusType;
|
|
|
- if(thesaurusUsageType != null)
|
|
|
+ if (thesaurusUsageType != null)
|
|
|
map['ThesaurusUsageType'] = thesaurusUsageType;
|
|
|
- if(organizationCode != null)
|
|
|
+ if (organizationCode != null)
|
|
|
map['OrganizationCode'] = organizationCode;
|
|
|
- if(personalCode != null)
|
|
|
+ if (personalCode != null)
|
|
|
map['PersonalCode'] = personalCode;
|
|
|
- if(thesaurusName != null)
|
|
|
+ if (thesaurusName != null)
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1304,20 +1304,20 @@ class ThesaurusItemDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(thesaurusItemCode != null) {
|
|
|
+ if (thesaurusItemCode != null) {
|
|
|
map['ThesaurusItemCode'] = thesaurusItemCode;
|
|
|
}
|
|
|
map['ThesaurusItemType'] = thesaurusItemType.index;
|
|
|
- if(thesaurusItemName != null) {
|
|
|
+ if (thesaurusItemName != null) {
|
|
|
map['ThesaurusItemName'] = thesaurusItemName;
|
|
|
}
|
|
|
- if(thesaurusItemDescription != null) {
|
|
|
+ if (thesaurusItemDescription != null) {
|
|
|
map['ThesaurusItemDescription'] = thesaurusItemDescription;
|
|
|
}
|
|
|
- if(thesaurusItemConclusion != null) {
|
|
|
+ if (thesaurusItemConclusion != null) {
|
|
|
map['ThesaurusItemConclusion'] = thesaurusItemConclusion;
|
|
|
}
|
|
|
- if(parentItemCode != null) {
|
|
|
+ if (parentItemCode != null) {
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
}
|
|
|
map['HasChildren'] = hasChildren;
|
|
@@ -1348,9 +1348,9 @@ class GetThesaurusItemsRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(keyword != null)
|
|
|
+ if (keyword != null)
|
|
|
map['Keyword'] = keyword;
|
|
|
return map;
|
|
|
}
|
|
@@ -1378,9 +1378,9 @@ class GetThesaurusItemByCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(thesaurusItemCode != null)
|
|
|
+ if (thesaurusItemCode != null)
|
|
|
map['ThesaurusItemCode'] = thesaurusItemCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1411,11 +1411,11 @@ class GetThesaurusClassifyByParentCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
- if(keyword != null)
|
|
|
+ if (keyword != null)
|
|
|
map['Keyword'] = keyword;
|
|
|
return map;
|
|
|
}
|
|
@@ -1446,11 +1446,11 @@ class GetThesaurusContentByParentCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(parentItemCode != null)
|
|
|
+ if (parentItemCode != null)
|
|
|
map['ParentItemCode'] = parentItemCode;
|
|
|
- if(keyword != null)
|
|
|
+ if (keyword != null)
|
|
|
map['Keyword'] = keyword;
|
|
|
return map;
|
|
|
}
|
|
@@ -1475,7 +1475,7 @@ class CopyThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1500,7 +1500,7 @@ class CopyOrgThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1524,10 +1524,10 @@ class ThesaurusAllDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(baseInfo != null) {
|
|
|
+ if (baseInfo != null) {
|
|
|
map['BaseInfo'] = baseInfo;
|
|
|
}
|
|
|
- if(items != null) {
|
|
|
+ if (items != null) {
|
|
|
map['Items'] = items;
|
|
|
}
|
|
|
return map;
|
|
@@ -1553,7 +1553,7 @@ class GetDefaultThesaurusContentRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1581,9 +1581,9 @@ class SetUserDefaultThesaurusRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1608,7 +1608,7 @@ class RetryPushReportRecordsByCodesRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(codes != null)
|
|
|
+ if (codes != null)
|
|
|
map['Codes'] = codes;
|
|
|
return map;
|
|
|
}
|
|
@@ -1636,9 +1636,9 @@ class FindReportPreviewImageRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(recordCode != null)
|
|
|
+ if (recordCode != null)
|
|
|
map['RecordCode'] = recordCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1666,9 +1666,9 @@ class FindReportShareUrlRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportCode != null)
|
|
|
+ if (reportCode != null)
|
|
|
map['ReportCode'] = reportCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1693,7 +1693,7 @@ class GetDefaultReportTemplateContentRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1721,9 +1721,9 @@ class SetUserDefaultReportTemplateRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportTemplateCode != null)
|
|
|
+ if (reportTemplateCode != null)
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1747,10 +1747,10 @@ class GetReportTemplateDBRequest {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(reportTemplateCode != null) {
|
|
|
+ if (reportTemplateCode != null) {
|
|
|
map['ReportTemplateCode'] = reportTemplateCode;
|
|
|
}
|
|
|
- if(languageCode != null) {
|
|
|
+ if (languageCode != null) {
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
}
|
|
|
return map;
|
|
@@ -1776,7 +1776,7 @@ class RefreshReportPosterRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(reportPosterCode != null)
|
|
|
+ if (reportPosterCode != null)
|
|
|
map['ReportPosterCode'] = reportPosterCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -1839,47 +1839,47 @@ class SyncReportInfoRequest {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(reportCode != null) {
|
|
|
+ if (reportCode != null) {
|
|
|
map['ReportCode'] = reportCode;
|
|
|
}
|
|
|
- if(createTime != null) {
|
|
|
+ if (createTime != null) {
|
|
|
map['CreateTime'] = JsonRpcUtils.dateFormat(createTime!);
|
|
|
}
|
|
|
- if(updateTime != null) {
|
|
|
+ if (updateTime != null) {
|
|
|
map['UpdateTime'] = JsonRpcUtils.dateFormat(updateTime!);
|
|
|
}
|
|
|
- if(recordCode != null) {
|
|
|
+ if (recordCode != null) {
|
|
|
map['RecordCode'] = recordCode;
|
|
|
}
|
|
|
- if(reportUserCode != null) {
|
|
|
+ if (reportUserCode != null) {
|
|
|
map['ReportUserCode'] = reportUserCode;
|
|
|
}
|
|
|
- if(patientCode != null) {
|
|
|
+ if (patientCode != null) {
|
|
|
map['PatientCode'] = patientCode;
|
|
|
}
|
|
|
- if(patientName != null) {
|
|
|
+ if (patientName != null) {
|
|
|
map['PatientName'] = patientName;
|
|
|
}
|
|
|
- if(deviceCode != null) {
|
|
|
+ if (deviceCode != null) {
|
|
|
map['DeviceCode'] = deviceCode;
|
|
|
}
|
|
|
- if(reportTemplateJson != null) {
|
|
|
+ if (reportTemplateJson != null) {
|
|
|
map['ReportTemplateJson'] = reportTemplateJson;
|
|
|
}
|
|
|
- if(reportDatasJson != null) {
|
|
|
+ if (reportDatasJson != null) {
|
|
|
map['ReportDatasJson'] = reportDatasJson;
|
|
|
}
|
|
|
- if(reportLabels != null) {
|
|
|
+ if (reportLabels != null) {
|
|
|
map['ReportLabels'] = reportLabels;
|
|
|
}
|
|
|
- if(platformLabels != null) {
|
|
|
+ if (platformLabels != null) {
|
|
|
map['PlatformLabels'] = platformLabels;
|
|
|
}
|
|
|
- if(diagnosisLabels != null) {
|
|
|
+ if (diagnosisLabels != null) {
|
|
|
map['DiagnosisLabels'] = diagnosisLabels;
|
|
|
}
|
|
|
map['ReportOrgan'] = reportOrgan.index;
|
|
|
- if(reportPreviewList != null) {
|
|
|
+ if (reportPreviewList != null) {
|
|
|
map['ReportPreviewList'] = reportPreviewList;
|
|
|
}
|
|
|
return map;
|
|
@@ -1905,7 +1905,7 @@ class SyncBatchReportInfoRequest {
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
map['SyncType'] = syncType.index;
|
|
|
- if(syncReportInfos != null) {
|
|
|
+ if (syncReportInfos != null) {
|
|
|
map['SyncReportInfos'] = syncReportInfos;
|
|
|
}
|
|
|
return map;
|
|
@@ -1930,10 +1930,10 @@ class ApplicationItemDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(description != null) {
|
|
|
+ if (description != null) {
|
|
|
map['Description'] = description;
|
|
|
}
|
|
|
- if(summary != null) {
|
|
|
+ if (summary != null) {
|
|
|
map['Summary'] = summary;
|
|
|
}
|
|
|
return map;
|
|
@@ -1958,10 +1958,10 @@ class ApplicationInfoDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(name != null) {
|
|
|
+ if (name != null) {
|
|
|
map['Name'] = name;
|
|
|
}
|
|
|
- if(items != null) {
|
|
|
+ if (items != null) {
|
|
|
map['Items'] = items;
|
|
|
}
|
|
|
return map;
|
|
@@ -1986,10 +1986,10 @@ class ThesaurusInfoDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(name != null) {
|
|
|
+ if (name != null) {
|
|
|
map['Name'] = name;
|
|
|
}
|
|
|
- if(applications != null) {
|
|
|
+ if (applications != null) {
|
|
|
map['Applications'] = applications;
|
|
|
}
|
|
|
return map;
|
|
@@ -2011,7 +2011,7 @@ class ThesaurusTemplateInfoDTO {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(thesaurusList != null) {
|
|
|
+ if (thesaurusList != null) {
|
|
|
map['ThesaurusList'] = thesaurusList;
|
|
|
}
|
|
|
return map;
|
|
@@ -2058,18 +2058,18 @@ class ImportThesaurusInfoRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusName != null)
|
|
|
+ if (thesaurusName != null)
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
- if(thesaurusTemplateInfo != null)
|
|
|
+ if (thesaurusTemplateInfo != null)
|
|
|
map['ThesaurusTemplateInfo'] = thesaurusTemplateInfo;
|
|
|
map['ThesaurusUsageType'] = thesaurusUsageType.index;
|
|
|
map['ThesaurusStateType'] = thesaurusStateType.index;
|
|
|
map['ThesaurusType'] = thesaurusType.index;
|
|
|
- if(organizationCode != null)
|
|
|
+ if (organizationCode != null)
|
|
|
map['OrganizationCode'] = organizationCode;
|
|
|
- if(personalCode != null)
|
|
|
+ if (personalCode != null)
|
|
|
map['PersonalCode'] = personalCode;
|
|
|
- if(languageCode != null)
|
|
|
+ if (languageCode != null)
|
|
|
map['LanguageCode'] = languageCode;
|
|
|
return map;
|
|
|
}
|
|
@@ -2093,10 +2093,10 @@ class ExportThesaurusTemplateResult {
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = Map<String, dynamic>();
|
|
|
- if(thesaurusName != null) {
|
|
|
+ if (thesaurusName != null) {
|
|
|
map['ThesaurusName'] = thesaurusName;
|
|
|
}
|
|
|
- if(thesaurusTemplateInfo != null) {
|
|
|
+ if (thesaurusTemplateInfo != null) {
|
|
|
map['ThesaurusTemplateInfo'] = thesaurusTemplateInfo;
|
|
|
}
|
|
|
return map;
|
|
@@ -2122,7 +2122,7 @@ class FindThesaurusByCodeRequest extends TokenRequest{
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
final map = super.toJson();
|
|
|
- if(thesaurusCode != null)
|
|
|
+ if (thesaurusCode != null)
|
|
|
map['ThesaurusCode'] = thesaurusCode;
|
|
|
return map;
|
|
|
}
|