|
@@ -41,7 +41,7 @@ public class FIRP03083 extends QCCatalogue {
|
|
|
if (inputInfo.getFirstPageRecordDoc().getStructureMap() != null) {
|
|
|
Map<String, Object> firstpageStructureMap = inputInfo.getFirstPageRecordDoc().getStructureExtMap();
|
|
|
JSONArray out_diag = (JSONArray) firstpageStructureMap.get("出院诊断");
|
|
|
- if (out_diag.size() > 0) {
|
|
|
+ if (out_diag != null && out_diag.size() > 0) {
|
|
|
for (int i = 0; i < out_diag.size(); i++) {
|
|
|
List<String> disList = Arrays.asList(strings);
|
|
|
JSONObject jsonObject = out_diag.getJSONObject(i);
|