no message
This commit is contained in:
parent
f33ec3920e
commit
870d35a730
@ -73,7 +73,7 @@ const CASE_TYPE_NAMES = {
|
|||||||
outpatient: "门诊病历",
|
outpatient: "门诊病历",
|
||||||
inhospital: "住院病历",
|
inhospital: "住院病历",
|
||||||
physicalExaminationTemplate: "体检记录",
|
physicalExaminationTemplate: "体检记录",
|
||||||
preConsultation: "预问诊记录",
|
preConsultationRecord: "预问诊记录",
|
||||||
};
|
};
|
||||||
|
|
||||||
// 字段标签
|
// 字段标签
|
||||||
@ -209,7 +209,7 @@ const FIELD_CONFIG = {
|
|||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
preConsultation: [
|
preConsultationRecord: [
|
||||||
{
|
{
|
||||||
key: "consultationDate",
|
key: "consultationDate",
|
||||||
label: FIELD_LABELS.consultationDate,
|
label: FIELD_LABELS.consultationDate,
|
||||||
|
|||||||
@ -367,7 +367,7 @@ function normalizeMedicalType(raw) {
|
|||||||
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
||||||
if (s === 'outPatient') return 'outpatient';
|
if (s === 'outPatient') return 'outpatient';
|
||||||
if (s === 'inHospital') return 'inhospital';
|
if (s === 'inHospital') return 'inhospital';
|
||||||
if (s === 'preConsultation') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
||||||
return s;
|
return s;
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export const VISIT_RECORD_TEMPLATES = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
templateType: 'preConsultation',
|
templateType: 'preConsultationRecord',
|
||||||
templateName: '预问诊记录',
|
templateName: '预问诊记录',
|
||||||
service: { timeTitle: 'consultDate', timeName: '问诊日期' },
|
service: { timeTitle: 'consultDate', timeName: '问诊日期' },
|
||||||
templateList: [
|
templateList: [
|
||||||
|
|||||||
@ -20,7 +20,7 @@ const ALIAS_MAP = {
|
|||||||
inspectTime: 'inspectDate',
|
inspectTime: 'inspectDate',
|
||||||
inspectSummary: 'summary',
|
inspectSummary: 'summary',
|
||||||
},
|
},
|
||||||
preConsultation: {
|
preConsultationRecord: {
|
||||||
presentIllnessHistory: 'presentIllness',
|
presentIllnessHistory: 'presentIllness',
|
||||||
pastMedicalHistory: 'pastHistory',
|
pastMedicalHistory: 'pastHistory',
|
||||||
},
|
},
|
||||||
|
|||||||
@ -124,7 +124,7 @@ function normalizeMedicalType(raw) {
|
|||||||
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
||||||
if (s === 'outPatient') return 'outpatient';
|
if (s === 'outPatient') return 'outpatient';
|
||||||
if (s === 'inHospital') return 'inhospital';
|
if (s === 'inHospital') return 'inhospital';
|
||||||
if (s === 'preConsultation') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
||||||
return s;
|
return s;
|
||||||
|
|||||||
@ -98,7 +98,7 @@ function normalizeMedicalType(raw) {
|
|||||||
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
||||||
if (s === 'outPatient') return 'outpatient';
|
if (s === 'outPatient') return 'outpatient';
|
||||||
if (s === 'inHospital') return 'inhospital';
|
if (s === 'inHospital') return 'inhospital';
|
||||||
if (s === 'preConsultation') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
||||||
return s;
|
return s;
|
||||||
|
|||||||
@ -861,7 +861,7 @@ function normalizeMedicalType(raw) {
|
|||||||
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
if (lower === 'physicalexaminationtemplate' || lower === 'physicalexamination' || lower === 'physical_examination') return 'physicalExaminationTemplate';
|
||||||
if (s === 'outPatient') return 'outpatient';
|
if (s === 'outPatient') return 'outpatient';
|
||||||
if (s === 'inHospital') return 'inhospital';
|
if (s === 'inHospital') return 'inhospital';
|
||||||
if (s === 'preConsultation') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
if (s === 'preConsultationRecord') return 'preConsultationRecord';
|
||||||
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
if (s === 'physicalExaminationTemplate') return 'physicalExaminationTemplate';
|
||||||
return s;
|
return s;
|
||||||
|
|||||||
@ -73,7 +73,7 @@ const CASE_TYPE_NAMES = {
|
|||||||
outpatient: "门诊病历",
|
outpatient: "门诊病历",
|
||||||
inhospital: "住院病历",
|
inhospital: "住院病历",
|
||||||
physicalExaminationTemplate: "体检记录",
|
physicalExaminationTemplate: "体检记录",
|
||||||
preConsultation: "预问诊记录",
|
preConsultationRecord: "预问诊记录",
|
||||||
};
|
};
|
||||||
|
|
||||||
const FIELD_LABELS = {
|
const FIELD_LABELS = {
|
||||||
|
|||||||
@ -43,7 +43,7 @@ const caseTypes = [
|
|||||||
name: "体检记录",
|
name: "体检记录",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "preConsultation",
|
id: "preConsultationRecord",
|
||||||
name: "预问诊记录",
|
name: "预问诊记录",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user