Commit 30d58f43498cdc12dee56cf61960bdeb6c65c7bf

Authored by r-ujihara
1 parent c2c1acac

レビュー指摘反映完了

@@ -544,23 +544,23 @@ @@ -544,23 +544,23 @@
544 // 544 //
545 // textBox38 545 // textBox38
546 // 546 //
547 - this.textBox38.Location = new System.Drawing.Point(4, 450); 547 + this.textBox38.Location = new System.Drawing.Point(3, 446);
548 this.textBox38.MaxLength = 1; 548 this.textBox38.MaxLength = 1;
549 this.textBox38.Name = "textBox38"; 549 this.textBox38.Name = "textBox38";
550 this.textBox38.ReadOnly = true; 550 this.textBox38.ReadOnly = true;
551 - this.textBox38.Size = new System.Drawing.Size(30, 19);  
552 - this.textBox38.TabIndex = 18; 551 + this.textBox38.Size = new System.Drawing.Size(31, 19);
  552 + this.textBox38.TabIndex = 17;
553 this.textBox38.TabStop = false; 553 this.textBox38.TabStop = false;
554 this.textBox38.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox38_KeyPress); 554 this.textBox38.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox38_KeyPress);
555 // 555 //
556 // textBox37 556 // textBox37
557 // 557 //
558 - this.textBox37.Location = new System.Drawing.Point(4, 422); 558 + this.textBox37.Location = new System.Drawing.Point(3, 421);
559 this.textBox37.MaxLength = 1; 559 this.textBox37.MaxLength = 1;
560 this.textBox37.Name = "textBox37"; 560 this.textBox37.Name = "textBox37";
561 this.textBox37.ReadOnly = true; 561 this.textBox37.ReadOnly = true;
562 - this.textBox37.Size = new System.Drawing.Size(30, 19);  
563 - this.textBox37.TabIndex = 17; 562 + this.textBox37.Size = new System.Drawing.Size(31, 19);
  563 + this.textBox37.TabIndex = 16;
564 this.textBox37.TabStop = false; 564 this.textBox37.TabStop = false;
565 this.textBox37.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox37_KeyPress); 565 this.textBox37.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox37_KeyPress);
566 // 566 //
@@ -571,7 +571,7 @@ @@ -571,7 +571,7 @@
571 this.textBox36.Name = "textBox36"; 571 this.textBox36.Name = "textBox36";
572 this.textBox36.ReadOnly = true; 572 this.textBox36.ReadOnly = true;
573 this.textBox36.Size = new System.Drawing.Size(31, 19); 573 this.textBox36.Size = new System.Drawing.Size(31, 19);
574 - this.textBox36.TabIndex = 16; 574 + this.textBox36.TabIndex = 14;
575 this.textBox36.TabStop = false; 575 this.textBox36.TabStop = false;
576 this.textBox36.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox36_KeyPress); 576 this.textBox36.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox36_KeyPress);
577 // 577 //
@@ -582,18 +582,18 @@ @@ -582,18 +582,18 @@
582 this.textBox35.Name = "textBox35"; 582 this.textBox35.Name = "textBox35";
583 this.textBox35.ReadOnly = true; 583 this.textBox35.ReadOnly = true;
584 this.textBox35.Size = new System.Drawing.Size(31, 19); 584 this.textBox35.Size = new System.Drawing.Size(31, 19);
585 - this.textBox35.TabIndex = 15; 585 + this.textBox35.TabIndex = 12;
586 this.textBox35.TabStop = false; 586 this.textBox35.TabStop = false;
587 this.textBox35.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox35_KeyPress); 587 this.textBox35.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox35_KeyPress);
588 // 588 //
589 // textBox30 589 // textBox30
590 // 590 //
591 - this.textBox30.Location = new System.Drawing.Point(4, 475); 591 + this.textBox30.Location = new System.Drawing.Point(3, 471);
592 this.textBox30.MaxLength = 1; 592 this.textBox30.MaxLength = 1;
593 this.textBox30.Name = "textBox30"; 593 this.textBox30.Name = "textBox30";
594 this.textBox30.ReadOnly = true; 594 this.textBox30.ReadOnly = true;
595 - this.textBox30.Size = new System.Drawing.Size(30, 19);  
596 - this.textBox30.TabIndex = 14; 595 + this.textBox30.Size = new System.Drawing.Size(31, 19);
  596 + this.textBox30.TabIndex = 18;
597 this.textBox30.TabStop = false; 597 this.textBox30.TabStop = false;
598 this.textBox30.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox30_KeyPress); 598 this.textBox30.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox30_KeyPress);
599 // 599 //
@@ -604,7 +604,7 @@ @@ -604,7 +604,7 @@
604 this.textBox29.Name = "textBox29"; 604 this.textBox29.Name = "textBox29";
605 this.textBox29.ReadOnly = true; 605 this.textBox29.ReadOnly = true;
606 this.textBox29.Size = new System.Drawing.Size(31, 19); 606 this.textBox29.Size = new System.Drawing.Size(31, 19);
607 - this.textBox29.TabIndex = 13; 607 + this.textBox29.TabIndex = 15;
608 this.textBox29.TabStop = false; 608 this.textBox29.TabStop = false;
609 this.textBox29.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox29_KeyPress); 609 this.textBox29.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox29_KeyPress);
610 // 610 //
@@ -615,7 +615,7 @@ @@ -615,7 +615,7 @@
615 this.textBox28.Name = "textBox28"; 615 this.textBox28.Name = "textBox28";
616 this.textBox28.ReadOnly = true; 616 this.textBox28.ReadOnly = true;
617 this.textBox28.Size = new System.Drawing.Size(31, 19); 617 this.textBox28.Size = new System.Drawing.Size(31, 19);
618 - this.textBox28.TabIndex = 12; 618 + this.textBox28.TabIndex = 13;
619 this.textBox28.TabStop = false; 619 this.textBox28.TabStop = false;
620 this.textBox28.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox28_KeyPress); 620 this.textBox28.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox28_KeyPress);
621 // 621 //
@@ -82,75 +82,13 @@ namespace MedicalCheckInputTool @@ -82,75 +82,13 @@ namespace MedicalCheckInputTool
82 textBox12.Text = isDBNull(reader, "成人歯科"); 82 textBox12.Text = isDBNull(reader, "成人歯科");
83 83
84 string cervicalCancer = isDBNull(reader, "子宮頸がん"); 84 string cervicalCancer = isDBNull(reader, "子宮頸がん");
85 - if ("".Equals(cervicalCancer))  
86 - {  
87 - textBox13.Text = "";  
88 - textBox31.Text = "";  
89 - }  
90 - else if ("9".Equals(cervicalCancer))  
91 - {  
92 - textBox13.Text = "0";  
93 - textBox31.Text = "";  
94 - }  
95 - else if ("0".Equals(cervicalCancer))  
96 - {  
97 - textBox13.Text = "";  
98 - textBox31.Text = "0";  
99 - }  
100 - else  
101 - {  
102 - textBox13.Text = cervicalCancer;  
103 - textBox31.Text = "";  
104 - } 85 + specialInputTwo(cervicalCancer, textBox13, textBox31);
105 86
106 string breastCancer = isDBNull(reader, "乳がん"); 87 string breastCancer = isDBNull(reader, "乳がん");
107 - if ("".Equals(breastCancer))  
108 - {  
109 - textBox14.Text = "";  
110 - textBox32.Text = "";  
111 - }  
112 - else if ("9".Equals(breastCancer))  
113 - {  
114 - textBox14.Text = "0";  
115 - textBox32.Text = "";  
116 - }  
117 - else if ("0".Equals(breastCancer))  
118 - {  
119 - textBox14.Text = "";  
120 - textBox32.Text = "0";  
121 - }  
122 - else  
123 - {  
124 - textBox14.Text = breastCancer;  
125 - textBox32.Text = "";  
126 - } 88 + specialInputTwo(breastCancer, textBox14, textBox32);
127 89
128 string place = isDBNull(reader, "希望場所"); 90 string place = isDBNull(reader, "希望場所");
129 -  
130 - if ("".Equals(place))  
131 - {  
132 - textBox15.Text = "";  
133 - textBox33.Text = "";  
134 - textBox34.Text = "";  
135 - }  
136 - else if ("1".Equals(place))  
137 - {  
138 - textBox15.Text = "0";  
139 - textBox33.Text = "";  
140 - textBox34.Text = "";  
141 - }  
142 - if ("2".Equals(place))  
143 - {  
144 - textBox15.Text = "";  
145 - textBox33.Text = "0";  
146 - textBox34.Text = "";  
147 - }  
148 - if ("3".Equals(place))  
149 - {  
150 - textBox15.Text = "";  
151 - textBox33.Text = "";  
152 - textBox34.Text = "0";  
153 - } 91 + specialInputThree(place, textBox15, textBox33, textBox34);
154 92
155 textBox16.Text = "".Equals(isDBNull(reader, "身体不自由")) ? "" : "0"; 93 textBox16.Text = "".Equals(isDBNull(reader, "身体不自由")) ? "" : "0";
156 94
@@ -161,7 +99,7 @@ namespace MedicalCheckInputTool @@ -161,7 +99,7 @@ namespace MedicalCheckInputTool
161 reader.Close(); 99 reader.Close();
162 } 100 }
163 } 101 }
164 - catch (SqlException ex) 102 + catch (SqlException )
165 { 103 {
166 } 104 }
167 105
@@ -247,65 +185,9 @@ namespace MedicalCheckInputTool @@ -247,65 +185,9 @@ namespace MedicalCheckInputTool
247 sv.prostateCancer = textBox10.Text; //前立腺がん 185 sv.prostateCancer = textBox10.Text; //前立腺がん
248 sv.osteoporosis = textBox11.Text; //骨粗鬆症 186 sv.osteoporosis = textBox11.Text; //骨粗鬆症
249 sv.dental = textBox12.Text; //成人歯科 187 sv.dental = textBox12.Text; //成人歯科
250 - if ("".Equals(textBox13.Text) && "".Equals(textBox31.Text))  
251 - {  
252 - sv.cervicalCancer = ""; //子宮頸がん  
253 - }  
254 - else  
255 - {  
256 - if("0".Equals(textBox13.Text))  
257 - {  
258 - sv.cervicalCancer = "9"; //子宮頸がん  
259 - }  
260 - else if("0".Equals(textBox31.Text))  
261 - {  
262 - sv.cervicalCancer = "0"; //子宮頸がん  
263 - }  
264 - else  
265 - {  
266 - sv.cervicalCancer = "".Equals(textBox31) ? textBox13.Text : textBox31.Text; //子宮頸がん  
267 - }  
268 - }  
269 -  
270 - if ("".Equals(textBox14.Text) && "".Equals(textBox32.Text))  
271 - {  
272 - sv.breastCancer = ""; //乳がん  
273 - }  
274 - else  
275 - {  
276 - if ("0".Equals(textBox14.Text))  
277 - {  
278 - sv.breastCancer = "9"; //乳がん  
279 - }  
280 - else if ("0".Equals(textBox32.Text))  
281 - {  
282 - sv.breastCancer = "0"; //乳がん  
283 - }  
284 - else  
285 - {  
286 - sv.breastCancer = "".Equals(textBox32) ? textBox14.Text : textBox32.Text; //乳がん  
287 - }  
288 - }  
289 -  
290 - if ("".Equals(textBox15) && "".Equals(textBox33.Text) && "".Equals(textBox34))  
291 - {  
292 - sv.place = ""; //希望場所  
293 - }  
294 - else  
295 - {  
296 - if("0".Equals(textBox15.Text))  
297 - {  
298 - sv.place = "1"; //希望場所  
299 - }  
300 - else if ("0".Equals(textBox33.Text))  
301 - {  
302 - sv.place = "2"; //希望場所  
303 - }  
304 - else if ("0".Equals(textBox34.Text))  
305 - {  
306 - sv.place = "3"; //希望場所  
307 - }  
308 - } 188 + sv.cervicalCancer = specialReadTwo(textBox13,textBox31); //子宮頸がん
  189 + sv.breastCancer = specialReadTwo(textBox14, textBox32); //乳がん
  190 + sv.place = specialReadThree(textBox15, textBox33,textBox34); //希望場所
309 sv.handicapped = "".Equals(textBox16.Text) ? "" : "8"; //身体不自由 191 sv.handicapped = "".Equals(textBox16.Text) ? "" : "8"; //身体不自由
310 sv.phone = textBox4.Text; //電話番号 192 sv.phone = textBox4.Text; //電話番号
311 sv.mobilePhone = textBox5.Text; //携帯番号 193 sv.mobilePhone = textBox5.Text; //携帯番号
@@ -366,7 +248,7 @@ namespace MedicalCheckInputTool @@ -366,7 +248,7 @@ namespace MedicalCheckInputTool
366 cnt = reader.GetInt32(0); 248 cnt = reader.GetInt32(0);
367 reader.Close(); 249 reader.Close();
368 } 250 }
369 - catch (SqlException ex) 251 + catch (SqlException )
370 { 252 {
371 } 253 }
372 254
@@ -407,82 +289,20 @@ namespace MedicalCheckInputTool @@ -407,82 +289,20 @@ namespace MedicalCheckInputTool
407 textBox12.Text = isDBNull(reader, "成人歯科"); 289 textBox12.Text = isDBNull(reader, "成人歯科");
408 290
409 string cervicalCancer = isDBNull(reader, "子宮頸がん"); 291 string cervicalCancer = isDBNull(reader, "子宮頸がん");
410 - if ("".Equals(cervicalCancer))  
411 - {  
412 - textBox13.Text = "";  
413 - textBox31.Text = "";  
414 - }  
415 - else if ("9".Equals(cervicalCancer))  
416 - {  
417 - textBox13.Text = "0";  
418 - textBox31.Text = "";  
419 - }  
420 - else if ("0".Equals(cervicalCancer))  
421 - {  
422 - textBox13.Text = "";  
423 - textBox31.Text = "0";  
424 - }  
425 - else  
426 - {  
427 - textBox13.Text = cervicalCancer;  
428 - textBox31.Text = "";  
429 - } 292 + specialInputTwo(cervicalCancer, textBox13, textBox31);
430 293
431 string breastCancer = isDBNull(reader, "乳がん"); 294 string breastCancer = isDBNull(reader, "乳がん");
432 - if ("".Equals(breastCancer))  
433 - {  
434 - textBox14.Text = "";  
435 - textBox32.Text = "";  
436 - }  
437 - else if ("9".Equals(breastCancer))  
438 - {  
439 - textBox14.Text = "0";  
440 - textBox32.Text = "";  
441 - }  
442 - else if ("0".Equals(breastCancer))  
443 - {  
444 - textBox14.Text = "";  
445 - textBox32.Text = "0";  
446 - }  
447 - else  
448 - {  
449 - textBox14.Text = breastCancer;  
450 - textBox32.Text = "";  
451 - } 295 + specialInputTwo(breastCancer, textBox14, textBox32);
452 296
453 string place = isDBNull(reader, "希望場所"); 297 string place = isDBNull(reader, "希望場所");
454 -  
455 - if("".Equals(place))  
456 - {  
457 - textBox15.Text = "";  
458 - textBox33.Text = "";  
459 - textBox34.Text = "";  
460 - }  
461 - else if ("1".Equals(place))  
462 - {  
463 - textBox15.Text = "0";  
464 - textBox33.Text = "";  
465 - textBox34.Text = "";  
466 - }  
467 - if ("2".Equals(place))  
468 - {  
469 - textBox15.Text = "";  
470 - textBox33.Text = "0";  
471 - textBox34.Text = "";  
472 - }  
473 - if ("3".Equals(place))  
474 - {  
475 - textBox15.Text = "";  
476 - textBox33.Text = "";  
477 - textBox34.Text = "0";  
478 - } 298 + specialInputThree(place, textBox15, textBox33, textBox34);
479 299
480 textBox16.Text = "".Equals(isDBNull(reader, "身体不自由")) ? "" : "0"; 300 textBox16.Text = "".Equals(isDBNull(reader, "身体不自由")) ? "" : "0";
481 } 301 }
482 reader.Close(); 302 reader.Close();
483 } 303 }
484 } 304 }
485 - catch (SqlException ex) 305 + catch (SqlException )
486 { 306 {
487 } 307 }
488 308
@@ -518,7 +338,7 @@ namespace MedicalCheckInputTool @@ -518,7 +338,7 @@ namespace MedicalCheckInputTool
518 isExist = reader.GetBoolean(0); 338 isExist = reader.GetBoolean(0);
519 reader.Close(); 339 reader.Close();
520 } 340 }
521 - catch (SqlException ex) 341 + catch (SqlException )
522 { 342 {
523 } 343 }
524 344
@@ -698,7 +518,7 @@ namespace MedicalCheckInputTool @@ -698,7 +518,7 @@ namespace MedicalCheckInputTool
698 reader.Close(); 518 reader.Close();
699 } 519 }
700 } 520 }
701 - catch (SqlException ex) 521 + catch (SqlException )
702 { 522 {
703 } 523 }
704 524
@@ -1433,17 +1253,38 @@ namespace MedicalCheckInputTool @@ -1433,17 +1253,38 @@ namespace MedicalCheckInputTool
1433 1253
1434 private void textBox15_KeyPress(object sender, KeyPressEventArgs e) 1254 private void textBox15_KeyPress(object sender, KeyPressEventArgs e)
1435 { 1255 {
1436 - inputZero(sender, e); 1256 + if ("".Equals(textBox33.Text) && "".Equals(textBox34.Text)) //どちらかにしか入れさせない
  1257 + {
  1258 + inputZero(sender, e);
  1259 + }
  1260 + else
  1261 + {
  1262 + e.Handled = true;
  1263 + }
1437 } 1264 }
1438 1265
1439 private void textBox33_KeyPress(object sender, KeyPressEventArgs e)//本庁個別 1266 private void textBox33_KeyPress(object sender, KeyPressEventArgs e)//本庁個別
1440 { 1267 {
1441 - inputZero(sender, e); 1268 + if ("".Equals(textBox15.Text) && "".Equals(textBox34.Text)) //どちらかにしか入れさせない
  1269 + {
  1270 + inputZero(sender, e);
  1271 + }
  1272 + else
  1273 + {
  1274 + e.Handled = true;
  1275 + }
1442 } 1276 }
1443 1277
1444 private void textBox34_KeyPress(object sender, KeyPressEventArgs e)//石巻ロイヤル 1278 private void textBox34_KeyPress(object sender, KeyPressEventArgs e)//石巻ロイヤル
1445 { 1279 {
1446 - inputZero(sender, e); 1280 + if ("".Equals(textBox15.Text) && "".Equals(textBox33.Text)) //どちらかにしか入れさせない
  1281 + {
  1282 + inputZero(sender, e);
  1283 + }
  1284 + else
  1285 + {
  1286 + e.Handled = true;
  1287 + }
1447 } 1288 }
1448 1289
1449 private void textBox16_KeyPress(object sender, KeyPressEventArgs e)//身体不自由 1290 private void textBox16_KeyPress(object sender, KeyPressEventArgs e)//身体不自由
@@ -1498,6 +1339,110 @@ namespace MedicalCheckInputTool @@ -1498,6 +1339,110 @@ namespace MedicalCheckInputTool
1498 dspCount(); 1339 dspCount();
1499 } 1340 }
1500 1341
  1342 + private void specialInputTwo(string inputChar, TextBox t1, TextBox t2) //2項目で特殊入力
  1343 + {
  1344 + if ("".Equals(inputChar))
  1345 + {
  1346 + t1.Text = "";
  1347 + t2.Text = "";
  1348 + }
  1349 + else if ("9".Equals(inputChar))
  1350 + {
  1351 + t1.Text = "0";
  1352 + t2.Text = "";
  1353 + }
  1354 + else if ("0".Equals(inputChar))
  1355 + {
  1356 + t1.Text = "";
  1357 + t2.Text = "0";
  1358 + }
  1359 + else
  1360 + {
  1361 + t1.Text = inputChar;
  1362 + t2.Text = "";
  1363 + }
  1364 +
  1365 + }
  1366 +
  1367 + private void specialInputThree(string inputChar, TextBox t1, TextBox t2, TextBox t3) //3項目で特殊入力
  1368 + {
  1369 + if ("".Equals(inputChar))
  1370 + {
  1371 + t1.Text = "";
  1372 + t2.Text = "";
  1373 + t3.Text = "";
  1374 + }
  1375 + else if ("1".Equals(inputChar))
  1376 + {
  1377 + t1.Text = "0";
  1378 + t2.Text = "";
  1379 + t3.Text = "";
  1380 + }
  1381 + if ("2".Equals(inputChar))
  1382 + {
  1383 + t1.Text = "";
  1384 + t2.Text = "0";
  1385 + t3.Text = "";
  1386 + }
  1387 + if ("3".Equals(inputChar))
  1388 + {
  1389 + t1.Text = "";
  1390 + t2.Text = "";
  1391 + t3.Text = "0";
  1392 + }
  1393 + }
  1394 +
  1395 + private string specialReadTwo(TextBox t1, TextBox t2) //2項目で特殊読み取り
  1396 + {
  1397 + string ret = "";
  1398 + if ("".Equals(t1.Text) && "".Equals(t2.Text))
  1399 + {
  1400 + ret = "";
  1401 + }
  1402 + else
  1403 + {
  1404 + if("0".Equals(t1.Text))
  1405 + {
  1406 + ret = "9";
  1407 + }
  1408 + else if("0".Equals(t2.Text))
  1409 + {
  1410 + ret = "0";
  1411 + }
  1412 + else
  1413 + {
  1414 + ret = "".Equals(t2) ? t1.Text : t2.Text; //子宮頸がん
  1415 + }
  1416 + }
  1417 +
  1418 + return ret;
  1419 + }
  1420 +
  1421 + private string specialReadThree(TextBox t1, TextBox t2, TextBox t3) //3項目で特殊読み取り
  1422 + {
  1423 + string ret = "";
  1424 +
  1425 + if ("".Equals(t1.Text) && "".Equals(t2.Text) && "".Equals(t3.Text))
  1426 + {
  1427 + ret = "";
  1428 + }
  1429 + else
  1430 + {
  1431 + if ("0".Equals(t1.Text))
  1432 + {
  1433 + ret = "1";
  1434 + }
  1435 + else if ("0".Equals(t2.Text))
  1436 + {
  1437 + ret = "2";
  1438 + }
  1439 + else if ("0".Equals(t3.Text))
  1440 + {
  1441 + ret = "3";
  1442 + }
  1443 + }
  1444 + return ret;
  1445 + }
1501 1446
1502 /***************************************************************/ 1447 /***************************************************************/
1503 /***************2回目時入力時の1回目修正用********************/ 1448 /***************2回目時入力時の1回目修正用********************/
@@ -1531,8 +1476,12 @@ namespace MedicalCheckInputTool @@ -1531,8 +1476,12 @@ namespace MedicalCheckInputTool
1531 textBox25.Text = ""; 1476 textBox25.Text = "";
1532 textBox26.Text = ""; 1477 textBox26.Text = "";
1533 textBox27.Text = ""; 1478 textBox27.Text = "";
  1479 + textBox35.Text = "";
1534 textBox28.Text = ""; 1480 textBox28.Text = "";
  1481 + textBox36.Text = "";
1535 textBox29.Text = ""; 1482 textBox29.Text = "";
  1483 + textBox37.Text = "";
  1484 + textBox38.Text = "";
1536 textBox30.Text = ""; 1485 textBox30.Text = "";
1537 } 1486 }
1538 else 1487 else
@@ -1551,15 +1500,22 @@ namespace MedicalCheckInputTool @@ -1551,15 +1500,22 @@ namespace MedicalCheckInputTool
1551 textBox24.Text = isDBNull(reader, "前立腺がん"); 1500 textBox24.Text = isDBNull(reader, "前立腺がん");
1552 textBox25.Text = isDBNull(reader, "骨粗鬆症"); 1501 textBox25.Text = isDBNull(reader, "骨粗鬆症");
1553 textBox26.Text = isDBNull(reader, "成人歯科"); 1502 textBox26.Text = isDBNull(reader, "成人歯科");
1554 - textBox27.Text = isDBNull(reader, "子宮頸がん");  
1555 - textBox28.Text = isDBNull(reader, "乳がん");  
1556 - textBox29.Text = isDBNull(reader, "希望場所");  
1557 - textBox30.Text = isDBNull(reader, "身体不自由"); 1503 +
  1504 + string cervicalCancer = isDBNull(reader, "子宮頸がん");
  1505 + specialInputTwo(cervicalCancer, textBox27, textBox35);
  1506 +
  1507 + string breastCancer = isDBNull(reader, "乳がん");
  1508 + specialInputTwo(breastCancer, textBox28, textBox36);
  1509 +
  1510 + string place = isDBNull(reader, "希望場所");
  1511 + specialInputThree(place, textBox29, textBox37, textBox38);
  1512 +
  1513 + textBox30.Text = "".Equals(isDBNull(reader, "身体不自由")) ? "" : "0";
1558 } 1514 }
1559 reader.Close(); 1515 reader.Close();
1560 } 1516 }
1561 } 1517 }
1562 - catch (SqlException ex) 1518 + catch (SqlException )
1563 { 1519 {
1564 } 1520 }
1565 1521
@@ -1634,9 +1590,9 @@ namespace MedicalCheckInputTool @@ -1634,9 +1590,9 @@ namespace MedicalCheckInputTool
1634 sv.prostateCancer = textBox24.Text; //前立腺がん 1590 sv.prostateCancer = textBox24.Text; //前立腺がん
1635 sv.osteoporosis = textBox25.Text; //骨粗鬆症 1591 sv.osteoporosis = textBox25.Text; //骨粗鬆症
1636 sv.dental = textBox26.Text; //成人歯科 1592 sv.dental = textBox26.Text; //成人歯科
1637 - sv.cervicalCancer = textBox27.Text; //子宮頸がん  
1638 - sv.breastCancer = textBox28.Text; //乳がん  
1639 - sv.place = textBox29.Text; //希望場所 1593 + sv.cervicalCancer = specialReadTwo(textBox27, textBox35); //子宮頸がん
  1594 + sv.breastCancer = specialReadTwo(textBox28, textBox36); //乳がん
  1595 + sv.place = specialReadThree(textBox29, textBox37, textBox38); //希望場所
1640 sv.handicapped = "".Equals(textBox30.Text) ? "" : "8"; //身体不自由 1596 sv.handicapped = "".Equals(textBox30.Text) ? "" : "8"; //身体不自由
1641 sv.phone = textBox18.Text; //電話番号 1597 sv.phone = textBox18.Text; //電話番号
1642 sv.mobilePhone = textBox19.Text; //携帯番号 1598 sv.mobilePhone = textBox19.Text; //携帯番号
@@ -1649,27 +1605,41 @@ namespace MedicalCheckInputTool @@ -1649,27 +1605,41 @@ namespace MedicalCheckInputTool
1649 return sv; 1605 return sv;
1650 } 1606 }
1651 1607
  1608 + private void setEditable(TextBox tb, bool editable)
  1609 + {
  1610 + if(editable)
  1611 + {
  1612 + tb.ReadOnly = false; //読み取り専用解除
  1613 + tb.TabStop = true; //タブ移動可
  1614 + }
  1615 + else
  1616 + {
  1617 + tb.ReadOnly = true; //読み取り専用
  1618 + tb.TabStop = false; //タブ移動負荷
  1619 + }
  1620 + }
  1621 +
1652 //編集可能に変更 1622 //編集可能に変更
1653 - private void enableEdit()  
1654 - {  
1655 - textBox17.ReadOnly = false;  
1656 - textBox18.ReadOnly = false;  
1657 - textBox19.ReadOnly = false;  
1658 - textBox20.ReadOnly = false;  
1659 - textBox21.ReadOnly = false;  
1660 - textBox22.ReadOnly = false;  
1661 - textBox23.ReadOnly = false;  
1662 - textBox24.ReadOnly = false;  
1663 - textBox25.ReadOnly = false;  
1664 - textBox26.ReadOnly = false;  
1665 - textBox27.ReadOnly = false;  
1666 - textBox35.ReadOnly = false;  
1667 - textBox28.ReadOnly = false;  
1668 - textBox36.ReadOnly = false;  
1669 - textBox29.ReadOnly = false;  
1670 - textBox37.ReadOnly = false;  
1671 - textBox38.ReadOnly = false;  
1672 - textBox30.ReadOnly = false; 1623 + private void changeEdit(bool editable)
  1624 + {
  1625 + setEditable(textBox17, editable);
  1626 + setEditable(textBox18, editable);
  1627 + setEditable(textBox19, editable);
  1628 + setEditable(textBox20, editable);
  1629 + setEditable(textBox21, editable);
  1630 + setEditable(textBox22, editable);
  1631 + setEditable(textBox23, editable);
  1632 + setEditable(textBox24, editable);
  1633 + setEditable(textBox25, editable);
  1634 + setEditable(textBox26, editable);
  1635 + setEditable(textBox27, editable);
  1636 + setEditable(textBox35, editable);
  1637 + setEditable(textBox28, editable);
  1638 + setEditable(textBox36, editable);
  1639 + setEditable(textBox29, editable);
  1640 + setEditable(textBox37, editable);
  1641 + setEditable(textBox38, editable);
  1642 + setEditable(textBox30, editable);
1673 } 1643 }
1674 1644
1675 //1回目の表示 1645 //1回目の表示
@@ -1687,18 +1657,20 @@ namespace MedicalCheckInputTool @@ -1687,18 +1657,20 @@ namespace MedicalCheckInputTool
1687 1657
1688 string serialNo = textBox1.Text.PadLeft(10, '0'); 1658 string serialNo = textBox1.Text.PadLeft(10, '0');
1689 1659
1690 - if ("1回目の表示".Equals(button6.Text)) 1660 + string btxt = button6.Text;
  1661 + if ("1回目の表示".Equals(btxt))
1691 { 1662 {
  1663 + changeEdit(false);
1692 selectDataOnce("1回目", Global.lotNo, serialNo, conn);//表示 1664 selectDataOnce("1回目", Global.lotNo, serialNo, conn);//表示
1693 button6.Text = "1回目の編集"; 1665 button6.Text = "1回目の編集";
1694 } 1666 }
1695 - else if("1回目の編集".Equals(button6.Text)) 1667 + else if ("1回目の編集".Equals(btxt))
1696 { 1668 {
1697 - //編集可能に変更(整理番号だけダメにしたほうがいい?)  
1698 - enableEdit(); 1669 + //編集可能に変更(整理番号だけ変えさせない)
  1670 + changeEdit(true);
1699 button6.Text = "1回目の保存"; 1671 button6.Text = "1回目の保存";
1700 } 1672 }
1701 - else if ("1回目の保存".Equals(button6.Text)) 1673 + else if ("1回目の保存".Equals(btxt))
1702 { 1674 {
1703 //データ保存 1675 //データ保存
1704 updateDataOnce(conn); 1676 updateDataOnce(conn);
@@ -1716,101 +1688,151 @@ namespace MedicalCheckInputTool @@ -1716,101 +1688,151 @@ namespace MedicalCheckInputTool
1716 this.Close(); 1688 this.Close();
1717 } 1689 }
1718 1690
1719 - private void textBox3_KeyPress(object sender, KeyPressEventArgs e) 1691 + private void textBox3_KeyPress(object sender, KeyPressEventArgs e) //整理番号
1720 { 1692 {
1721 - 1693 + inputAllNumber(sender, e);
1722 } 1694 }
1723 1695
1724 - private void textBox17_KeyPress(object sender, KeyPressEventArgs e) 1696 + private void textBox17_KeyPress(object sender, KeyPressEventArgs e) //世帯番号
1725 { 1697 {
1726 - 1698 + inputAllNumber(sender, e);
1727 } 1699 }
1728 1700
1729 - private void textBox18_KeyPress(object sender, KeyPressEventArgs e) 1701 + private void textBox18_KeyPress(object sender, KeyPressEventArgs e) //電話
1730 { 1702 {
1731 - 1703 + inputAllNumber(sender, e);
1732 } 1704 }
1733 1705
1734 - private void textBox19_KeyPress(object sender, KeyPressEventArgs e) 1706 + private void textBox19_KeyPress(object sender, KeyPressEventArgs e) //携帯
1735 { 1707 {
1736 - 1708 + inputAllNumber(sender, e);
1737 } 1709 }
1738 1710
1739 - private void textBox20_KeyPress(object sender, KeyPressEventArgs e) 1711 + private void textBox20_KeyPress(object sender, KeyPressEventArgs e) //健康診査
1740 { 1712 {
1741 - 1713 + inputNumber(sender, e);
1742 } 1714 }
1743 1715
1744 - private void textBox21_KeyPress(object sender, KeyPressEventArgs e) 1716 + private void textBox21_KeyPress(object sender, KeyPressEventArgs e)//結核肺がん
1745 { 1717 {
1746 - 1718 + inputNumber(sender, e);
1747 } 1719 }
1748 1720
1749 - private void textBox22_KeyPress(object sender, KeyPressEventArgs e) 1721 + private void textBox22_KeyPress(object sender, KeyPressEventArgs e) //胃がん
1750 { 1722 {
1751 - 1723 + inputNumber(sender, e);
1752 } 1724 }
1753 1725
1754 - private void textBox23_KeyPress(object sender, KeyPressEventArgs e) 1726 + private void textBox23_KeyPress(object sender, KeyPressEventArgs e) //大腸がん
1755 { 1727 {
1756 - 1728 + inputNumber(sender, e);
1757 } 1729 }
1758 1730
1759 - private void textBox24_KeyPress(object sender, KeyPressEventArgs e) 1731 + private void textBox24_KeyPress(object sender, KeyPressEventArgs e) //前立腺がん
1760 { 1732 {
1761 - 1733 + inputNumber(sender, e);
1762 } 1734 }
1763 1735
1764 - private void textBox25_KeyPress(object sender, KeyPressEventArgs e) 1736 + private void textBox25_KeyPress(object sender, KeyPressEventArgs e) //骨粗鬆症
1765 { 1737 {
1766 - 1738 + inputNumber(sender, e);
1767 } 1739 }
1768 1740
1769 - private void textBox26_KeyPress(object sender, KeyPressEventArgs e) 1741 + private void textBox26_KeyPress(object sender, KeyPressEventArgs e) //成人歯科
1770 { 1742 {
1771 - 1743 + inputNumber(sender, e);
1772 } 1744 }
1773 1745
1774 - private void textBox27_KeyPress(object sender, KeyPressEventArgs e) 1746 + private void textBox27_KeyPress(object sender, KeyPressEventArgs e) //子宮頸がん
1775 { 1747 {
1776 - 1748 + if ("".Equals(textBox35.Text)) //どちらかにしか入れさせない
  1749 + {
  1750 + inputNumber(sender, e);
  1751 + }
  1752 + else
  1753 + {
  1754 + e.Handled = true;
  1755 + }
1777 } 1756 }
1778 1757
1779 - private void textBox35_KeyPress(object sender, KeyPressEventArgs e) 1758 + private void textBox35_KeyPress(object sender, KeyPressEventArgs e) //子宮頸がん(指定医療機関)
1780 { 1759 {
1781 - 1760 + if ("".Equals(textBox27.Text)) //どちらかにしか入れさせない
  1761 + {
  1762 + inputNumber(sender, e);
  1763 + }
  1764 + else
  1765 + {
  1766 + e.Handled = true;
  1767 + }
1782 } 1768 }
1783 1769
1784 - private void textBox28_KeyPress(object sender, KeyPressEventArgs e) 1770 + private void textBox28_KeyPress(object sender, KeyPressEventArgs e) //乳がん
1785 { 1771 {
1786 - 1772 + if ("".Equals(textBox36.Text)) //どちらかにしか入れさせない
  1773 + {
  1774 + inputNumber(sender, e);
  1775 + }
  1776 + else
  1777 + {
  1778 + e.Handled = true;
  1779 + }
1787 } 1780 }
1788 1781
1789 - private void textBox36_KeyPress(object sender, KeyPressEventArgs e) 1782 + private void textBox36_KeyPress(object sender, KeyPressEventArgs e) //乳がん(石巻市医師会)
1790 { 1783 {
1791 - 1784 + if ("".Equals(textBox28.Text)) //どちらかにしか入れさせない
  1785 + {
  1786 + inputNumber(sender, e);
  1787 + }
  1788 + else
  1789 + {
  1790 + e.Handled = true;
  1791 + }
1792 } 1792 }
1793 1793
1794 - private void textBox29_KeyPress(object sender, KeyPressEventArgs e) 1794 + private void textBox29_KeyPress(object sender, KeyPressEventArgs e) //希望場所
1795 { 1795 {
1796 - 1796 + if ("".Equals(textBox37.Text) && "".Equals(textBox38.Text)) //どちらかにしか入れさせない
  1797 + {
  1798 + inputZero(sender, e);
  1799 + }
  1800 + else
  1801 + {
  1802 + e.Handled = true;
  1803 + }
1797 } 1804 }
1798 1805
1799 - private void textBox37_KeyPress(object sender, KeyPressEventArgs e) 1806 + private void textBox37_KeyPress(object sender, KeyPressEventArgs e) //希望場所(本庁個別)
1800 { 1807 {
1801 - 1808 + if ("".Equals(textBox29.Text) && "".Equals(textBox38.Text)) //どちらかにしか入れさせない
  1809 + {
  1810 + inputZero(sender, e);
  1811 + }
  1812 + else
  1813 + {
  1814 + e.Handled = true;
  1815 + }
1802 } 1816 }
1803 1817
1804 - private void textBox38_KeyPress(object sender, KeyPressEventArgs e) 1818 + private void textBox38_KeyPress(object sender, KeyPressEventArgs e)//希望場所(石巻ロイヤル)
1805 { 1819 {
1806 - 1820 + if ("".Equals(textBox29.Text) && "".Equals(textBox37.Text)) //どちらかにしか入れさせない
  1821 + {
  1822 + inputZero(sender, e);
  1823 + }
  1824 + else
  1825 + {
  1826 + e.Handled = true;
  1827 + }
1807 } 1828 }
1808 1829
1809 - private void textBox30_KeyPress(object sender, KeyPressEventArgs e) 1830 + private void textBox30_KeyPress(object sender, KeyPressEventArgs e) //身体不自由
1810 { 1831 {
1811 - 1832 + inputZero(sender, e);
1812 } 1833 }
1813 1834
1814 1835
  1836 +
1815 } 1837 }
1816 } 1838 }
@@ -4,6 +4,452 @@ @@ -4,6 +4,452 @@
4 "001012":"中央一丁目第2", 4 "001012":"中央一丁目第2",
5 "001021":"中央二丁目第1", 5 "001021":"中央二丁目第1",
6 "001022":"中央二丁目第2", 6 "001022":"中央二丁目第2",
7 - "001090":"立町一丁目" 7 + "001030":"中央三丁目",
  8 + "001040":"中瀬",
  9 + "001051":"泉町一丁目第1",
  10 + "001052":"泉町一丁目第2",
  11 + "001061":"泉町二丁目第1",
  12 + "001062":"泉町二丁目第2",
  13 + "001071":"泉町三丁目第1",
  14 + "001072":"泉町三丁目第2",
  15 + "001081":"泉町四丁目第1",
  16 + "001082":"泉町四丁目第2",
  17 + "001090":"立町一丁目",
  18 + "001100":"立町二丁目",
  19 + "001111":"羽黒町一丁目第1",
  20 + "001112":"羽黒町一丁目第2",
  21 + "001120":"羽黒町二丁目",
  22 + "001130":"明神山",
  23 + "001140":"住吉町一丁目",
  24 + "001151":"住吉町二丁目第1",
  25 + "001152":"住吉町二丁目第2",
  26 + "001160":"千石町",
  27 + "001170":"鋳銭場",
  28 + "001181":"旭町第1",
  29 + "001182":"旭町第2",
  30 + "001191":"穀町第1",
  31 + "001192":"穀町第2",
  32 + "001201":"駅前北通り一丁目",
  33 + "001202":"駅前北通り二丁目",
  34 + "001210":"駅前北通り三・四丁目",
  35 + "001220":"元倉一・二丁目",
  36 + "001240":"東中里一・二・三丁目",
  37 + "001251":"水明北一丁目",
  38 + "001252":"水明北二丁目",
  39 + "001253":"水明北三丁目",
  40 + "001254":"水明南一丁目",
  41 + "001255":"水明南二丁目",
  42 + "001261":"水押公営住宅",
  43 + "001262":"水押一丁目",
  44 + "001263":"水押二・三丁目",
  45 + "001264":"開北一丁目",
  46 + "001265":"開北二丁目第1",
  47 + "001266":"開北二丁目第2",
  48 + "001267":"開北三丁目",
  49 + "001268":"開北四丁目",
  50 + "001270":"大橋一・三丁目",
  51 + "001271":"大橋二丁目",
  52 + "001290":"中里一丁目",
  53 + "001291":"南中里一・二丁目",
  54 + "001301":"中里二・三丁目",
  55 + "001305":"中里五・七丁目",
  56 + "001310":"中里四丁目",
  57 + "001311":"中里六丁目",
  58 + "001321":"南中里四丁目",
  59 + "001322":"南中里三丁目",
  60 + "001331":"日和が丘一丁目第1",
  61 + "001332":"日和が丘一丁目第2",
  62 + "001340":"日和が丘二丁目",
  63 + "001351":"日和が丘三丁目第1",
  64 + "001352":"日和が丘三丁目第2",
  65 + "001360":"日和が丘四丁目",
  66 + "001370":"門脇町一丁目",
  67 + "001381":"門脇町二丁目第1",
  68 + "001382":"門脇町二丁目第2",
  69 + "001391":"門脇町三丁目第1",
  70 + "001392":"門脇町三丁目第2",
  71 + "001400":"門脇町四丁目",
  72 + "001411":"門脇町五丁目第1",
  73 + "001412":"門脇町五丁目第2",
  74 + "001420":"南浜町一丁目",
  75 + "001431":"南浜町二丁目第1",
  76 + "001432":"南浜町二丁目第2",
  77 + "001441":"南浜町三丁目第1",
  78 + "001442":"南浜町三丁目第2",
  79 + "001451":"南浜町四丁目第1",
  80 + "001452":"南浜町四丁目第2",
  81 + "001461":"南光町第1",
  82 + "001462":"南光町第2",
  83 + "001471":"かどのわき東",
  84 + "001472":"かどのわき西",
  85 + "001480":"大手町",
  86 + "001490":"宜山町",
  87 + "001501":"双葉町第1",
  88 + "001502":"双葉町第2",
  89 + "001510":"潮見町",
  90 + "001520":"三河町",
  91 + "001530":"中島町",
  92 + "001540":"重吉町",
  93 + "001550":"西浜町",
  94 + "001561":"上釜第1",
  95 + "001562":"上釜第2",
  96 + "001572":"下釜第2",
  97 + "001573":"下釜第3",
  98 + "001574":"下釜第4",
  99 + "001575":"下釜第5",
  100 + "001576":"下釜第1東",
  101 + "001577":"下釜第1西",
  102 + "001582":"上大街道第2",
  103 + "001583":"上大街道第3",
  104 + "001586":"上大街道第1南・東部",
  105 + "001587":"上大街道第1南・西部",
  106 + "001588":"上大街道第1北・東部",
  107 + "001589":"上大街道第1北・西部",
  108 + "001591":"下大街道第1",
  109 + "001593":"下大街道第3",
  110 + "001595":"下大街道第2東",
  111 + "001596":"下大街道第2西",
  112 + "001597":"下大街道第4東",
  113 + "001598":"下大街道第4西",
  114 + "001600":"清水町一丁目",
  115 + "001610":"清水町二丁目",
  116 + "001621":"新橋第1",
  117 + "001622":"新橋第2",
  118 + "001630":"山下町一丁目",
  119 + "001640":"山下町二丁目",
  120 + "001650":"田道町一丁目",
  121 + "001660":"田道町二丁目",
  122 + "001671":"錦町第1",
  123 + "001672":"錦町第2",
  124 + "001680":"西山町",
  125 + "001690":"末広町",
  126 + "001700":"貞山二丁目",
  127 + "001711":"貞山三・四・五丁目",
  128 + "001712":"貞山一丁目",
  129 + "002011":"不動町一丁目第1",
  130 + "002012":"不動町一丁目第2",
  131 + "002020":"不動町二丁目",
  132 + "002030":"八幡町一丁目",
  133 + "002040":"八幡町二丁目",
  134 + "002050":"湊町一丁目",
  135 + "002060":"湊町二丁目",
  136 + "002070":"湊町三丁目",
  137 + "002080":"湊町四丁目",
  138 + "002091":"吉野町一丁目第1",
  139 + "002092":"吉野町一丁目第2",
  140 + "002100":"吉野町二丁目",
  141 + "002110":"吉野町三丁目",
  142 + "002120":"川口町一丁目",
  143 + "002130":"川口町二丁目",
  144 + "002140":"川口町三丁目",
  145 + "002150":"大門町一丁目",
  146 + "002160":"大門町二丁目",
  147 + "002170":"大門町三・四丁目",
  148 + "002180":"明神町一・二丁目",
  149 + "002190":"田町",
  150 + "002200":"藤の巻",
  151 + "002210":"御所入",
  152 + "002220":"伊原津",
  153 + "002230":"松並",
  154 + "002231":"魚町一丁目",
  155 + "002232":"魚町二丁目",
  156 + "002240":"緑町",
  157 + "002242":"鹿妻北第1",
  158 + "002244":"鹿妻北第2",
  159 + "002246":"鹿妻北第3",
  160 + "002248":"鹿妻南一・二丁目",
  161 + "002250":"鹿妻南三・四・五丁目",
  162 + "002260":"鹿妻公営住宅",
  163 + "002500":"仁斗田",
  164 + "002510":"大泊",
  165 + "003010":"浜江場",
  166 + "003020":"沖",
  167 + "003022":"新立野第一住宅",
  168 + "003024":"新立野第二住宅",
  169 + "003028":"新立野第二",
  170 + "003030":"仲",
  171 + "003040":"裏",
  172 + "003050":"福村",
  173 + "003060":"太田切",
  174 + "003062":"恵み野東",
  175 + "003064":"恵み野西",
  176 + "003070":"新谷地前",
  177 + "003081":"上第1",
  178 + "003082":"上第2",
  179 + "003091":"丸井戸第1",
  180 + "003092":"丸井戸第2",
  181 + "003101":"谷地第1",
  182 + "003102":"谷地第2",
  183 + "003103":"谷地第3",
  184 + "003111":"中埣第1",
  185 + "003112":"中埣第2",
  186 + "003120":"境谷地",
  187 + "003121":"あけぼの北住宅",
  188 + "003122":"わかば",
  189 + "003131":"東前沼第1",
  190 + "003132":"東前沼第2",
  191 + "003140":"新下前沼",
  192 + "003150":"新橋",
  193 + "003160":"向陽町一丁目",
  194 + "003171":"向陽町二丁目第1",
  195 + "003172":"向陽町二丁目第2",
  196 + "003180":"向陽町三丁目",
  197 + "003190":"向陽町四丁目",
  198 + "003201":"向陽町五丁目第1",
  199 + "003202":"向陽町五丁目第2",
  200 + "003210":"あけぼの",
  201 + "004010":"浜松町",
  202 + "004020":"松原町",
  203 + "004030":"大宮町",
  204 + "004040":"長浜町",
  205 + "004050":"幸町",
  206 + "004060":"渡波町一丁目",
  207 + "004070":"渡波町二丁目",
  208 + "004080":"渡波町三丁目",
  209 + "004090":"三和町",
  210 + "004100":"後生橋・宇田川町",
  211 + "004110":"万石町",
  212 + "004120":"塩富町一丁目",
  213 + "004130":"塩富町二丁目",
  214 + "004140":"際",
  215 + "004150":"原",
  216 + "004160":"鹿松",
  217 + "004170":"千刈田",
  218 + "004181":"栄田第1",
  219 + "004182":"栄田第2",
  220 + "004190":"東黄金浜",
  221 + "004191":"南黄金浜",
  222 + "004200":"榎壇",
  223 + "004211":"祝田一区",
  224 + "004212":"祝田二区",
  225 + "004220":"佐須",
  226 + "004230":"表沢田",
  227 + "004240":"流留",
  228 + "004251":"万石浦一区",
  229 + "004252":"万石浦二区",
  230 + "004260":"うしお町",
  231 + "004270":"小竹浜",
  232 + "004280":"垂水町",
  233 + "005010":"南境西部",
  234 + "005012":"美園第1",
  235 + "005014":"美園第2",
  236 + "005020":"南境東部",
  237 + "005030":"大瓜棚橋",
  238 + "005040":"大瓜亀山",
  239 + "005050":"大瓜井内",
  240 + "005060":"大瓜八津",
  241 + "005070":"大瓜入",
  242 + "005080":"高木西部",
  243 + "005090":"高木東部",
  244 + "005100":"水沼西部",
  245 + "005110":"水沼東部",
  246 + "005120":"真野内原",
  247 + "005130":"真野日向日影",
  248 + "005140":"真野小島",
  249 + "005150":"沼津",
  250 + "005160":"裏沢田",
  251 + "005170":"井内東部",
  252 + "005180":"井内西部",
  253 + "006010":"折浜",
  254 + "006020":"蛤浜",
  255 + "006030":"桃浦",
  256 + "006040":"月浦",
  257 + "006050":"侍浜",
  258 + "006060":"荻浜",
  259 + "006070":"小積浜",
  260 + "006080":"牧浜",
  261 + "006090":"竹浜",
  262 + "006100":"狐崎浜",
  263 + "006110":"鹿立浜",
  264 + "006120":"福貴浦",
  265 + "011010":"合戦谷",
  266 + "011020":"成田",
  267 + "011030":"飯野川上町",
  268 + "011040":"飯野川仲町",
  269 + "011050":"飯野川本町",
  270 + "011060":"旧屋敷",
  271 + "011070":"五味",
  272 + "011080":"元相野谷",
  273 + "011090":"中島(上)",
  274 + "011100":"中島(下)",
  275 + "011110":"中野",
  276 + "011120":"牧野巣",
  277 + "011130":"皿貝",
  278 + "011140":"馬鞍",
  279 + "012150":"五十五人",
  280 + "012160":"鶴家",
  281 + "012170":"沢田崎山",
  282 + "012180":"川の上",
  283 + "012190":"後谷地",
  284 + "012200":"吉野",
  285 + "012210":"岩崎",
  286 + "012220":"飯野本地",
  287 + "012230":"飯野新田",
  288 + "013240":"北境",
  289 + "013250":"東福田",
  290 + "013260":"大土",
  291 + "013270":"梨木舟渡",
  292 + "013280":"大森",
  293 + "013290":"辻堂",
  294 + "013300":"三輪田(上)",
  295 + "013310":"三輪田(中)",
  296 + "013320":"三輪田(下)",
  297 + "014330":"福地",
  298 + "014340":"横川",
  299 + "014350":"谷地",
  300 + "014360":"針岡第1",
  301 + "014370":"針岡第2",
  302 + "014380":"間垣",
  303 + "014390":"釜谷",
  304 + "014400":"長面",
  305 + "014410":"尾の崎",
  306 + "020100":"名振西",
  307 + "020200":"名振東",
  308 + "020210":"名振",
  309 + "020300":"船越清水",
  310 + "020400":"船越小泊",
  311 + "020410":"船越",
  312 + "020500":"船越荒",
  313 + "020600":"雄勝大須下",
  314 + "020700":"雄勝大須上",
  315 + "020800":"大須船隠",
  316 + "020900":"熊沢",
  317 + "021000":"羽坂",
  318 + "021100":"桑浜",
  319 + "021200":"立浜",
  320 + "021300":"大浜",
  321 + "021310":"立浜、大浜",
  322 + "021400":"小島",
  323 + "021500":"明神",
  324 + "021600":"伊勢畑",
  325 + "021700":"下雄勝",
  326 + "021800":"上雄勝",
  327 + "021900":"味噌作上",
  328 + "021910":"味噌作下",
  329 + "022000":"船戸",
  330 + "022100":"唐桑",
  331 + "022110":"雄勝",
  332 + "022200":"水浜北",
  333 + "022300":"水浜南",
  334 + "022400":"分浜",
  335 + "022500":"波板",
  336 + "022510":"水浜",
  337 + "030000":"不明1 未使用",
  338 + "031010":"根方",
  339 + "031020":"黒沢",
  340 + "031030":"駅前",
  341 + "031040":"定川",
  342 + "031050":"山崎",
  343 + "032060":"和渕山根",
  344 + "032070":"和渕町上",
  345 + "032080":"和渕町",
  346 + "032090":"笈入",
  347 + "033100":"中山・上谷地",
  348 + "033110":"梅木",
  349 + "033120":"四家",
  350 + "033130":"新田町",
  351 + "033140":"本町",
  352 + "033150":"道的・三軒谷地",
  353 + "033160":"谷地中",
  354 + "033170":"曽波神",
  355 + "034180":"中埣",
  356 + "034190":"山根",
  357 + "034200":"沢田",
  358 + "034210":"舘",
  359 + "034220":"糠塚",
  360 + "034360":"しらさぎ台",
  361 + "035230":"砂押",
  362 + "035240":"柏木",
  363 + "035250":"町下",
  364 + "035260":"町上",
  365 + "035270":"新田",
  366 + "036280":"青木",
  367 + "036290":"大番所",
  368 + "036300":"朝日",
  369 + "036310":"大沢",
  370 + "036320":"箱清水",
  371 + "036330":"表沢",
  372 + "036340":"俵庭",
  373 + "036350":"小崎",
  374 + "040001":"倉埣",
  375 + "040002":"深山・牛田",
  376 + "040003":"寺崎舟場",
  377 + "040004":"寺崎下",
  378 + "040005":"中津山上",
  379 + "040006":"中津山下・四軒",
  380 + "040007":"城内舘下",
  381 + "040008":"城内嶺",
  382 + "040009":"新田上",
  383 + "040010":"新田下",
  384 + "040011":"給人町上",
  385 + "040012":"給人町下",
  386 + "040013":"神取上",
  387 + "040014":"神取下",
  388 + "040015":"高須賀上",
  389 + "040016":"高須賀下",
  390 + "040017":"小池",
  391 + "040018":"太田西",
  392 + "040019":"拾貫",
  393 + "040020":"入沢",
  394 + "040021":"樫崎東・山田",
  395 + "040022":"樫崎西",
  396 + "040023":"永井",
  397 + "040024":"裏永井",
  398 + "040025":"寺崎上",
  399 + "050001":"橋浦本地",
  400 + "050002":"橋浦大須上",
  401 + "050003":"橋浦大須下",
  402 + "050004":"長尾上",
  403 + "050005":"長尾下",
  404 + "050006":"行人前",
  405 + "050007":"釜谷崎",
  406 + "050008":"二丁谷地",
  407 + "050009":"泉沢",
  408 + "050010":"中原",
  409 + "050011":"要害",
  410 + "050012":"大上",
  411 + "050013":"追波上",
  412 + "050014":"追波下",
  413 + "050015":"吉浜",
  414 + "050016":"月浜",
  415 + "050017":"立神",
  416 + "050018":"長塩谷",
  417 + "050019":"白浜",
  418 + "050020":"小室",
  419 + "050021":"大室",
  420 + "050022":"小泊",
  421 + "050023":"相川上",
  422 + "050024":"相川下",
  423 + "050025":"小指",
  424 + "050026":"大指",
  425 + "050027":"小滝",
  426 + "050030":"長尾",
  427 + "050031":"追波",
  428 + "050032":"長塩谷・白浜",
  429 + "050033":"小室・大室・小泊",
  430 + "060001":"鮎川第1行政区",
  431 + "060002":"鮎川第2行政区",
  432 + "060003":"鮎川第3行政区",
  433 + "060004":"鮎川第4行政区",
  434 + "060005":"鮎川第5行政区",
  435 + "060006":"鮎川第6行政区",
  436 + "060007":"金華山行政区",
  437 + "060008":"新山行政区",
  438 + "060009":"長渡中小路行政区",
  439 + "060010":"長渡根組行政区",
  440 + "060011":"網地行政区",
  441 + "060012":"十八成行政区",
  442 + "060013":"小渕行政区",
  443 + "060014":"給分行政区",
  444 + "060015":"大原行政区",
  445 + "060016":"小網倉行政区",
  446 + "060017":"谷川行政区",
  447 + "060018":"大谷川行政区",
  448 + "060019":"鮫浦行政区",
  449 + "060020":"泊行政区",
  450 + "060021":"前網行政区",
  451 + "060022":"寄磯行政区",
  452 + "009999":" ",
  453 + "099999":" "
8 } 454 }
9 } 455 }
@@ -4,6 +4,452 @@ @@ -4,6 +4,452 @@
4 "001012":"石巻", 4 "001012":"石巻",
5 "001021":"石巻", 5 "001021":"石巻",
6 "001022":"石巻", 6 "001022":"石巻",
7 - "001090":"ŹZ‹g" 7 + "001030":"石巻",
  8 + "001040":"石巻",
  9 + "001051":"石巻",
  10 + "001052":"石巻",
  11 + "001061":"石巻",
  12 + "001062":"石巻",
  13 + "001071":"石巻",
  14 + "001072":"石巻",
  15 + "001081":"石巻",
  16 + "001082":"石巻",
  17 + "001090":"住吉",
  18 + "001100":"住吉",
  19 + "001111":"石巻",
  20 + "001112":"石巻",
  21 + "001120":"石巻",
  22 + "001130":"山下",
  23 + "001140":"住吉",
  24 + "001151":"住吉",
  25 + "001152":"住吉",
  26 + "001160":"住吉",
  27 + "001170":"住吉",
  28 + "001181":"住吉",
  29 + "001182":"住吉",
  30 + "001191":"山下",
  31 + "001192":"山下",
  32 + "001201":"住吉",
  33 + "001202":"住吉",
  34 + "001210":"山下",
  35 + "001220":"住吉",
  36 + "001240":"住吉",
  37 + "001251":"住吉",
  38 + "001252":"住吉",
  39 + "001253":"住吉",
  40 + "001254":"住吉",
  41 + "001255":"住吉",
  42 + "001261":"住吉",
  43 + "001262":"住吉",
  44 + "001263":"住吉",
  45 + "001264":"住吉",
  46 + "001265":"住吉",
  47 + "001266":"住吉",
  48 + "001267":"住吉",
  49 + "001268":"住吉",
  50 + "001270":"住吉",
  51 + "001271":"住吉",
  52 + "001290":"住吉",
  53 + "001291":"住吉",
  54 + "001301":"住吉",
  55 + "001305":"住吉",
  56 + "001310":"住吉",
  57 + "001311":"住吉",
  58 + "001321":"住吉",
  59 + "001322":"住吉",
  60 + "001331":"石巻",
  61 + "001332":"石巻",
  62 + "001340":"石巻",
  63 + "001351":"石巻",
  64 + "001352":"石巻",
  65 + "001360":"石巻",
  66 + "001370":"門脇",
  67 + "001381":"門脇",
  68 + "001382":"門脇",
  69 + "001391":"門脇",
  70 + "001392":"門脇",
  71 + "001400":"門脇",
  72 + "001411":"門脇",
  73 + "001412":"門脇",
  74 + "001420":"門脇",
  75 + "001431":"門脇",
  76 + "001432":"門脇",
  77 + "001441":"門脇",
  78 + "001442":"門脇",
  79 + "001451":"門脇",
  80 + "001452":"門脇",
  81 + "001461":"石巻",
  82 + "001462":"門脇",
  83 + "001471":"門脇",
  84 + "001472":"門脇",
  85 + "001480":"石巻",
  86 + "001490":"石巻",
  87 + "001501":"釜・大街道",
  88 + "001502":"釜・大街道",
  89 + "001510":"",
  90 + "001520":"",
  91 + "001530":"",
  92 + "001540":"",
  93 + "001550":"",
  94 + "001561":"釜・大街道",
  95 + "001562":"釜・大街道",
  96 + "001572":"釜・大街道",
  97 + "001573":"釜・大街道",
  98 + "001574":"釜・大街道",
  99 + "001575":"釜・大街道",
  100 + "001576":"釜・大街道",
  101 + "001577":"釜・大街道",
  102 + "001582":"釜・大街道",
  103 + "001583":"釜・大街道",
  104 + "001586":"釜・大街道",
  105 + "001587":"釜・大街道",
  106 + "001588":"釜・大街道",
  107 + "001589":"釜・大街道",
  108 + "001591":"釜・大街道",
  109 + "001593":"釜・大街道",
  110 + "001595":"釜・大街道",
  111 + "001596":"釜・大街道",
  112 + "001597":"釜・大街道",
  113 + "001598":"釜・大街道",
  114 + "001600":"山下",
  115 + "001610":"山下",
  116 + "001621":"山下",
  117 + "001622":"山下",
  118 + "001630":"山下",
  119 + "001640":"山下",
  120 + "001650":"山下",
  121 + "001660":"山下",
  122 + "001671":"山下",
  123 + "001672":"山下",
  124 + "001680":"山下",
  125 + "001690":"山下",
  126 + "001700":"山下",
  127 + "001711":"山下",
  128 + "001712":"山下",
  129 + "002011":"湊",
  130 + "002012":"湊",
  131 + "002020":"湊",
  132 + "002030":"湊",
  133 + "002040":"湊",
  134 + "002050":"湊",
  135 + "002060":"湊",
  136 + "002070":"湊",
  137 + "002080":"湊",
  138 + "002091":"湊",
  139 + "002092":"湊",
  140 + "002100":"湊",
  141 + "002110":"湊",
  142 + "002120":"湊",
  143 + "002130":"湊",
  144 + "002140":"湊",
  145 + "002150":"湊",
  146 + "002160":"湊",
  147 + "002170":"湊",
  148 + "002180":"湊",
  149 + "002190":"湊",
  150 + "002200":"湊",
  151 + "002210":"湊",
  152 + "002220":"湊",
  153 + "002230":"湊",
  154 + "002231":"",
  155 + "002232":"湊",
  156 + "002240":"湊",
  157 + "002242":"湊",
  158 + "002244":"湊",
  159 + "002246":"湊",
  160 + "002248":"湊",
  161 + "002250":"湊",
  162 + "002260":"湊",
  163 + "002500":"田代",
  164 + "002510":"田代",
  165 + "003010":"蛇田",
  166 + "003020":"蛇田",
  167 + "003022":"蛇田",
  168 + "003024":"蛇田",
  169 + "003028":"蛇田",
  170 + "003030":"蛇田",
  171 + "003040":"蛇田",
  172 + "003050":"蛇田",
  173 + "003060":"蛇田",
  174 + "003062":"蛇田",
  175 + "003064":"蛇田",
  176 + "003070":"蛇田",
  177 + "003081":"蛇田",
  178 + "003082":"蛇田",
  179 + "003091":"蛇田",
  180 + "003092":"蛇田",
  181 + "003101":"蛇田",
  182 + "003102":"蛇田",
  183 + "003103":"蛇田",
  184 + "003111":"蛇田",
  185 + "003112":"蛇田",
  186 + "003120":"蛇田",
  187 + "003121":"蛇田",
  188 + "003122":"蛇田",
  189 + "003131":"蛇田",
  190 + "003132":"蛇田",
  191 + "003140":"蛇田",
  192 + "003150":"蛇田",
  193 + "003160":"蛇田",
  194 + "003171":"蛇田",
  195 + "003172":"蛇田",
  196 + "003180":"蛇田",
  197 + "003190":"蛇田",
  198 + "003201":"蛇田",
  199 + "003202":"蛇田",
  200 + "003210":"蛇田",
  201 + "004010":"渡波",
  202 + "004020":"渡波",
  203 + "004030":"渡波",
  204 + "004040":"渡波",
  205 + "004050":"渡波",
  206 + "004060":"渡波",
  207 + "004070":"渡波",
  208 + "004080":"渡波",
  209 + "004090":"渡波",
  210 + "004100":"渡波",
  211 + "004110":"渡波",
  212 + "004120":"渡波",
  213 + "004130":"渡波",
  214 + "004140":"渡波",
  215 + "004150":"渡波",
  216 + "004160":"渡波",
  217 + "004170":"渡波",
  218 + "004181":"渡波",
  219 + "004182":"渡波",
  220 + "004190":"渡波",
  221 + "004191":"渡波",
  222 + "004200":"渡波",
  223 + "004211":"渡波",
  224 + "004212":"渡波",
  225 + "004220":"渡波",
  226 + "004230":"渡波",
  227 + "004240":"渡波",
  228 + "004251":"渡波",
  229 + "004252":"渡波",
  230 + "004260":"渡波",
  231 + "004270":"渡波",
  232 + "004280":"渡波",
  233 + "005010":"稲井",
  234 + "005012":"稲井",
  235 + "005014":"稲井",
  236 + "005020":"稲井",
  237 + "005030":"稲井",
  238 + "005040":"稲井",
  239 + "005050":"稲井",
  240 + "005060":"稲井",
  241 + "005070":"稲井",
  242 + "005080":"稲井",
  243 + "005090":"稲井",
  244 + "005100":"稲井",
  245 + "005110":"稲井",
  246 + "005120":"稲井",
  247 + "005130":"稲井",
  248 + "005140":"稲井",
  249 + "005150":"稲井",
  250 + "005160":"稲井",
  251 + "005170":"稲井",
  252 + "005180":"稲井",
  253 + "006010":"荻浜",
  254 + "006020":"荻浜",
  255 + "006030":"荻浜",
  256 + "006040":"荻浜",
  257 + "006050":"荻浜",
  258 + "006060":"荻浜",
  259 + "006070":"荻浜",
  260 + "006080":"荻浜",
  261 + "006090":"荻浜",
  262 + "006100":"荻浜",
  263 + "006110":"荻浜",
  264 + "006120":"荻浜",
  265 + "011010":"河北",
  266 + "011020":"河北",
  267 + "011030":"河北",
  268 + "011040":"河北",
  269 + "011050":"河北",
  270 + "011060":"河北",
  271 + "011070":"河北",
  272 + "011080":"河北",
  273 + "011090":"河北",
  274 + "011100":"河北",
  275 + "011110":"河北",
  276 + "011120":"河北",
  277 + "011130":"河北",
  278 + "011140":"河北",
  279 + "012150":"河北",
  280 + "012160":"河北",
  281 + "012170":"河北",
  282 + "012180":"河北",
  283 + "012190":"河北",
  284 + "012200":"河北",
  285 + "012210":"河北",
  286 + "012220":"河北",
  287 + "012230":"河北",
  288 + "013240":"河北",
  289 + "013250":"河北",
  290 + "013260":"河北",
  291 + "013270":"河北",
  292 + "013280":"河北",
  293 + "013290":"河北",
  294 + "013300":"河北",
  295 + "013310":"河北",
  296 + "013320":"河北",
  297 + "014330":"河北",
  298 + "014340":"河北",
  299 + "014350":"河北",
  300 + "014360":"河北",
  301 + "014370":"河北",
  302 + "014380":"河北",
  303 + "014390":"河北",
  304 + "014400":"河北",
  305 + "014410":"河北",
  306 + "020100":"雄勝",
  307 + "020200":"雄勝",
  308 + "020210":"雄勝",
  309 + "020300":"雄勝",
  310 + "020400":"雄勝",
  311 + "020410":"雄勝",
  312 + "020500":"雄勝",
  313 + "020600":"雄勝",
  314 + "020700":"雄勝",
  315 + "020800":"雄勝",
  316 + "020900":"雄勝",
  317 + "021000":"雄勝",
  318 + "021100":"雄勝",
  319 + "021200":"雄勝",
  320 + "021300":"雄勝",
  321 + "021310":"雄勝",
  322 + "021400":"雄勝",
  323 + "021500":"雄勝",
  324 + "021600":"雄勝",
  325 + "021700":"雄勝",
  326 + "021800":"雄勝",
  327 + "021900":"雄勝",
  328 + "021910":"雄勝",
  329 + "022000":"雄勝",
  330 + "022100":"雄勝",
  331 + "022110":"雄勝",
  332 + "022200":"雄勝",
  333 + "022300":"雄勝",
  334 + "022400":"雄勝",
  335 + "022500":"雄勝",
  336 + "022510":"雄勝",
  337 + "030000":"",
  338 + "031010":"河南",
  339 + "031020":"河南",
  340 + "031030":"河南",
  341 + "031040":"河南",
  342 + "031050":"河南",
  343 + "032060":"河南",
  344 + "032070":"河南",
  345 + "032080":"河南",
  346 + "032090":"河南",
  347 + "033100":"河南",
  348 + "033110":"河南",
  349 + "033120":"河南",
  350 + "033130":"河南",
  351 + "033140":"河南",
  352 + "033150":"河南",
  353 + "033160":"河南",
  354 + "033170":"河南",
  355 + "034180":"河南",
  356 + "034190":"河南",
  357 + "034200":"河南",
  358 + "034210":"河南",
  359 + "034220":"河南",
  360 + "034360":"河南",
  361 + "035230":"河南",
  362 + "035240":"河南",
  363 + "035250":"河南",
  364 + "035260":"河南",
  365 + "035270":"河南",
  366 + "036280":"河南",
  367 + "036290":"河南",
  368 + "036300":"河南",
  369 + "036310":"河南",
  370 + "036320":"河南",
  371 + "036330":"河南",
  372 + "036340":"河南",
  373 + "036350":"河南",
  374 + "040001":"桃生",
  375 + "040002":"桃生",
  376 + "040003":"桃生",
  377 + "040004":"桃生",
  378 + "040005":"桃生",
  379 + "040006":"桃生",
  380 + "040007":"桃生",
  381 + "040008":"桃生",
  382 + "040009":"桃生",
  383 + "040010":"桃生",
  384 + "040011":"桃生",
  385 + "040012":"桃生",
  386 + "040013":"桃生",
  387 + "040014":"桃生",
  388 + "040015":"桃生",
  389 + "040016":"桃生",
  390 + "040017":"桃生",
  391 + "040018":"桃生",
  392 + "040019":"桃生",
  393 + "040020":"桃生",
  394 + "040021":"桃生",
  395 + "040022":"桃生",
  396 + "040023":"桃生",
  397 + "040024":"桃生",
  398 + "040025":"桃生",
  399 + "050001":"北上",
  400 + "050002":"北上",
  401 + "050003":"北上",
  402 + "050004":"北上",
  403 + "050005":"北上",
  404 + "050006":"北上",
  405 + "050007":"北上",
  406 + "050008":"北上",
  407 + "050009":"北上",
  408 + "050010":"北上",
  409 + "050011":"北上",
  410 + "050012":"北上",
  411 + "050013":"北上",
  412 + "050014":"北上",
  413 + "050015":"北上",
  414 + "050016":"北上",
  415 + "050017":"北上",
  416 + "050018":"北上",
  417 + "050019":"北上",
  418 + "050020":"北上",
  419 + "050021":"北上",
  420 + "050022":"北上",
  421 + "050023":"北上",
  422 + "050024":"北上",
  423 + "050025":"北上",
  424 + "050026":"北上",
  425 + "050027":"北上",
  426 + "050030":"北上",
  427 + "050031":"北上",
  428 + "050032":"北上",
  429 + "050033":"北上",
  430 + "060001":"牡鹿",
  431 + "060002":"牡鹿",
  432 + "060003":"牡鹿",
  433 + "060004":"牡鹿",
  434 + "060005":"牡鹿",
  435 + "060006":"牡鹿",
  436 + "060007":"牡鹿",
  437 + "060008":"牡鹿",
  438 + "060009":"牡鹿",
  439 + "060010":"牡鹿",
  440 + "060011":"牡鹿",
  441 + "060012":"牡鹿",
  442 + "060013":"牡鹿",
  443 + "060014":"牡鹿",
  444 + "060015":"牡鹿",
  445 + "060016":"牡鹿",
  446 + "060017":"牡鹿",
  447 + "060018":"牡鹿",
  448 + "060019":"牡鹿",
  449 + "060020":"牡鹿",
  450 + "060021":"牡鹿",
  451 + "060022":"牡鹿",
  452 + "009999":"その他",
  453 + "099999":"その他"
8 } 454 }
9 } 455 }
Please register or login to post a comment