123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- 创建索引
- POST http://172.19.103.68:9200/wlyy_followup
- 查询索引
- GET http://172.19.103.68:9200/wlyy_followup/
- 给索引加mapping
- POST http://172.19.103.68:9200/wlyy_followup/wlyy_followup_content/_mapping
- {
- "wlyy_followup_content": {
- "properties": {
- "followup_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "followup_project": {
- "type": "string",
- "index": "not_analyzed"
- },
- "create_time": {
- "type": "string",
- "index": "not_analyzed"
- },
- "NO_SYMPTOM": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HEADACHE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "NAUSEA": {
- "type": "string",
- "index": "not_analyzed"
- },
- "VERTIGO_TINNITUS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DIFFICULTY_BREATHING": {
- "type": "string",
- "index": "not_analyzed"
- },
- "PALPITATIONS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EPISTAXIS_BLEEDING": {
- "type": "string",
- "index": "not_analyzed"
- },
- "LIMBS_NUMB": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXTREMITY_EDEMA": {
- "type": "string",
- "index": "not_analyzed"
- },
- "SYMPTOM_OTHER": {
- "type": "string",
- "index": "not_analyzed"
- },
- "POLYDIPSIA": {
- "type": "string",
- "index": "not_analyzed"
- },
- "MORE_FOOD": {
- "type": "string",
- "index": "not_analyzed"
- },
- "MORE_URINE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BLURRED_VISION": {
- "type": "string",
- "index": "not_analyzed"
- },
- "INFECTION": {
- "type": "string",
- "index": "not_analyzed"
- },
- "NUMB_HANDS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "WEIGHT_LOSS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HYPOG_REACT_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HEIGHT": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HEIGHT_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "WEIGHT": {
- "type": "string",
- "index": "not_analyzed"
- },
- "WEIGHT_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BP_D": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BP_U": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BS_FPG": {
- "type": "string",
- "index": "not_analyzed"
- },
- "NO_BS_FPG": {
- "type": "string",
- "index": "not_analyzed"
- },
- "RANDOM_BLOOD_SUGAR": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BMI": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BMI_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "OTHER_POSITIVE_SIGNS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "POFDA_MARK": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HEART_RATE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "GHB": {
- "type": "string",
- "index": "not_analyzed"
- },
- "RENAL_FUNCTION_CREATININE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "RENAL_FUNCTION_BUN": {
- "type": "string",
- "index": "not_analyzed"
- },
- "MICROALBUMINURIA": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXAM_DATE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BLOOD_FAT_TRIGLYCERIDE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BLOOD_FAT_TC": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BLOOD_FAT_LDLC": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DAILY_SMOKING": {
- "type": "string",
- "index": "not_analyzed"
- },
- "SOMKING_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DAILY_DRINKING": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DRINK_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXERCISE_FREQ_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXERCISE_FREQ_CODE_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXERCISE_DURATION_MINS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EXERCISE_DURATION_MINS_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "SALT_TAKEN_LEVEL_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "SALT_TAKEN_LEVEL_EXP": {
- "type": "string",
- "index": "not_analyzed"
- },
- "PSY_ADJUST_RESULT_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "COMPLIANCE_RESULT_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DAILY_STAPLE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HYP_FOLLOWUP_TYPE_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HYP_COMPLICATION_DETAIL": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DIA_FOLLOWUP_TYPE_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DIA_COMPLICATION_DETAIL": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DRUG_COMPLIANCE_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_DATE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_CONSTITUTOR": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_CONSTITUTOR_DOCTORCODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_CONSTITUTOR_JWDOCTORCODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_BP_U": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_BP_D": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_BS_FPG": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_NO_BS_FPG": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_GHB": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_TRIGLYCERIDE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_TOTAL_CHOLESTEROL": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_LDL": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_WEIGHT": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_EXERCISE_FREQ_CODE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CONTROL_EXERCISE_DURATION_MINS": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ARCHIVE_TIME": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ARCHIVE_OPERATOR_NAME": {
- "type": "string",
- "index": "not_analyzed"
- },
- "HEALTH_EDUCATE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "EDUCATE_CONTENT": {
- "type": "string",
- "index": "not_analyzed"
- },
- "DRUG_ADVERSE_MARK": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ADR_REMARK": {
- "type": "string",
- "index": "not_analyzed"
- },
- "TRANSFER_RESON": {
- "type": "string",
- "index": "not_analyzed"
- },
- "TRANSFER_ORG_DEPT": {
- "type": "string",
- "index": "not_analyzed"
- },
- "REFUSE_REFERRAL": {
- "type": "string",
- "index": "not_analyzed"
- },
- "REFUSE_REFERRAL_WHY": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ARCHIVE_ID": {
- "type": "string",
- "index": "not_analyzed"
- },
- "CHECK_FEE_TYPE": {
- "type": "string",
- "index": "not_analyzed"
- },
- "FAMILY_FOLLOWUP_ID": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- }
- 增加索引搜索大小
- PUT http://172.19.103.68:9200/wlyy_followup/_settings
- {
- "index": {
- "max_result_window": 500000
- }
- }
- 续方完成之后的随访保存,BLOOD_SUGAR、BLOOD_SUGAR_TYPE
- POST http://172.26.0.112:9200/wlyy_followup/wlyy_followup_content/_mapping
- {
- "wlyy_followup_content": {
- "properties": {
- "BLOOD_SUGAR": {
- "type": "string",
- "index": "not_analyzed"
- },
- "BLOOD_SUGAR_TYPE": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- }
|