I have been trying to import a csv file that is causing problems. I have included the debug info below. I have tested it with a 1000 line csv file and a 2 line csv file. The 2 line csv file was one that had all of the information in the two rows (with a header row) but only one column was imported.
The import does not error out - zero errors occurred. In fact, when previewing the import the data appears properly formatted in the preview, and downloading the rows shows that node_import actually thinks that the data makes its way in.
Any ideas where to start looking to fix? Node_import is a centrepiece of what I am doing (building an electronic health record) so I am hoping to get this fixed.
------------------------------------------------------------
Drupal and PHP version:
------------------------------------------------------------
Drupal version: 6.13 (6.x)
PHP version: 5.2.9
------------------------------------------------------------
Enabled modules and versions:
------------------------------------------------------------
advanced_help 6.x-1.2 (advanced_help)
autocomplete_widgets 6.x-1.2 (autocomplete_widgets)
backup_migrate 6.x-1.2 (backup_migrate)
block 6.13 (drupal)
color 6.13 (drupal)
composite 6.x-1.0-beta7 (composite)
composite_cck 6.x-1.0-beta7 (composite)
computed_field 6.x-1.0-beta3 (computed_field)
contemplate 6.x-1.1 (contemplate)
content 6.x-2.5 (cck)
content_complete 6.x-1.1 (content_complete)
content_taxonomy 6.x-1.0-rc2 (content_taxonomy)
content_taxonomy_autocomplete 6.x-1.0-rc2 (content_taxonomy)
content_taxonomy_options 6.x-1.0-rc2 (content_taxonomy)
content_taxonomy_tree 6.x-1.0-rc2 (content_taxonomy)
ctools 6.x-1.0 (ctools)
custom_pagers 6.x-1.10-beta1 (custom_pagers)
date 6.x-2.3 (date)
date_api 6.x-2.3 (date)
date_locale 6.x-2.3 (date)
date_popup 6.x-2.3 (date)
date_timezone 6.x-2.3 (date)
date_tools 6.x-2.3 (date)
db_maintenance 6.x-2.0-beta2 (db_maintenance)
dblog 6.13 (drupal)
dhtml_menu 6.x-3.5 (dhtml_menu)
fckeditor 6.x-1.3 (fckeditor)
fieldgroup 6.x-2.5 (cck)
fieldset_helper 6.x-1.0 (fieldset_helper)
filefield 6.x-3.1 (filefield)
filter 6.13 (drupal)
help 6.13 (drupal)
help_example 6.x-1.2 (advanced_help)
image 6.x-1.0-alpha5 (image)
image_attach 6.x-1.0-alpha5 (image)
image_fupload 6.x-3.0-rc2 (image_fupload)
image_fupload_image 6.x-3.0-rc2 (image_fupload)
image_fupload_imagefield 6.x-3.0-rc2 (image_fupload)
image_gallery 6.x-1.0-alpha5 (image)
image_import 6.x-1.0-alpha5 (image)
imageapi 6.x-1.6 (imageapi)
imageapi_gd 6.x-1.6 (imageapi)
imagecache 6.x-2.0-beta10 (imagecache)
imagecache_ui 6.x-2.0-beta10 (imagecache)
imagefield 6.x-3.1 (imagefield)
importexportapi 6.x-1.x-dev (importexportapi)
importexportui 6.x-1.x-dev (importexportapi)
jquery_ui 6.x-1.3 (jquery_ui)
libraries 6.x-1.x-dev (libraries)
locale 6.13 (drupal)
menu 6.13 (drupal)
mimedetect 6.x-1.2 (mimedetect)
modalframe 6.x-1.3 (modalframe)
modalframe_example 6.x-1.3 (modalframe)
node 6.13 (drupal)
node_import 6.x-1.0-rc4 (node_import)
nodereference 6.x-2.5 (cck)
nodereference_explorer 6.x-1.1-beta5 (nodereference_explorer)
nodereference_views 6.x-1.1 (nodereference_views)
nodereferrer 6.x-1.0-beta1 (nodereferrer)
noderelationships 6.x-1.1 (noderelationships)
number 6.x-2.5 (cck)
optionwidgets 6.x-2.5 (cck)
print 6.x-1.8 (print)
print_mail 6.x-1.8 (print)
print_pdf 6.x-1.8 (print)
sbp_nodes 6.x-1.2 (search_by_page)
sbp_users 6.x-1.2 (search_by_page)
schema 6.x-1.5 (schema)
search 6.13 (drupal)
search_by_page 6.x-1.2 (search_by_page)
statistics 6.13 (drupal)
supercron 6.x-1.3 (supercron)
syslog 6.13 (drupal)
system 6.13 (drupal)
taxonomy 6.13 (drupal)
taxonomy_block 6.x-1.0-beta2 (taxonomy_block)
taxonomy_manager 6.x-2.0 (taxonomy_manager)
text 6.x-2.5 (cck)
timeline 6.x-2.0-beta2 (timeline)
token 6.x-1.12 (token)
tokenSTARTER 6.x-1.12 (token)
token_actions 6.x-1.12 (token)
transformations 6.x-1.0-beta1 (transformations)
transformations_ui 6.x-1.0-beta1 (transformations)
transformations_xml 6.x-1.0-beta1 (transformations_xml)
tw 6.x-1.1 (tw)
tw_import_delimited 6.x-1.1 (tw)
update 6.13 (drupal)
user 6.13 (drupal)
viewfield 6.x-1.x-dev (viewfield)
views 6.x-2.6 (views)
views_attach 6.x-2.1 (views_attach)
views_ui 6.x-2.6 (views)
------------------------------------------------------------
User permissions:
------------------------------------------------------------
User #1 has all privileges.
------------------------------------------------------------
Task details:
------------------------------------------------------------
$task = array(18) {
["taskid"]=>
string(2) "20"
["name"]=>
string(27) "2008 One patient import.csv"
["uid"]=>
string(1) "1"
["created"]=>
string(10) "1251825278"
["changed"]=>
string(10) "1251825279"
["fid"]=>
string(2) "70"
["has_headers"]=>
string(1) "1"
["file_options"]=>
array(11) {
["file_format"]=>
string(3) "csv"
["record separator"]=>
string(9) ""
["other record separator"]=>
string(0) ""
["field separator"]=>
string(1) ","
["other field separator"]=>
string(0) ""
["text delimiter"]=>
string(1) """
["other text delimiter"]=>
string(0) ""
["escape character"]=>
string(1) """
["other escape character"]=>
string(0) ""
["title"]=>
string(22) "Comma Separated Values"
["mime"]=>
string(27) "text/comma-separated-values"
}
["headers"]=>
array(9) {
[0]=>
string(3) "MRN"
[1]=>
string(8) "Reg Date"
[2]=>
string(12) "New Dis Date"
[3]=>
string(10) "Ref to Med"
[4]=>
string(10) "Ref to Rad"
[5]=>
string(6) "DxDate"
[6]=>
string(9) "Surg Only"
[7]=>
string(18) "Referring Hospital"
[8]=>
string(19) "Diagnosing Hospital"
}
["type"]=>
string(13) "node:referral"
["map"]=>
array(17) {
["title"]=>
string(1) "0"
["cck:field_referred_med:value"]=>
string(1) "3"
["cck:field_detection_method:value"]=>
string(0) ""
["cck:field_diag_hosp:value"]=>
string(1) "8"
["cck:field_referred_rad:value"]=>
string(1) "4"
["cck:field_new_disease_date:value"]=>
string(1) "2"
["cck:field_detection_date:value"]=>
string(0) ""
["cck:field_diagnosis_date:value"]=>
string(1) "5"
["cck:field_ref_hosp:value"]=>
string(1) "7"
["cck:field_reg_date:value"]=>
string(1) "1"
["cck:field_reg_year:value"]=>
string(0) ""
["cck:field_surgery_only:value"]=>
string(1) "6"
["uid"]=>
string(0) ""
["created"]=>
string(0) ""
["status"]=>
string(0) ""
["sticky"]=>
string(0) ""
["promote"]=>
string(0) ""
}
["defaults"]=>
array(8) {
["uid"]=>
string(12) "Sean Hopkins"
["created"]=>
string(0) ""
["log"]=>
string(33) "
Imported with node_import.
"
["status"]=>
string(1) "1"
["promote"]=>
string(1) "0"
["sticky"]=>
string(1) "0"
["type"]=>
string(8) "referral"
["revision"]=>
string(1) "1"
}
["options"]=>
array(5) {
["cck:field_referred_med:value"]=>
array(3) {
["timezone"]=>
string(16) "America/Montreal"
["date_format"]=>
string(6) "custom"
["date_custom"]=>
string(5) "d/m/Y"
}
["cck:field_referred_rad:value"]=>
array(3) {
["timezone"]=>
string(16) "America/Montreal"
["date_format"]=>
string(6) "custom"
["date_custom"]=>
string(5) "d/m/Y"
}
["cck:field_new_disease_date:value"]=>
array(3) {
["timezone"]=>
string(16) "America/Montreal"
["date_format"]=>
string(6) "custom"
["date_custom"]=>
string(5) "d/m/Y"
}
["cck:field_diagnosis_date:value"]=>
array(3) {
["timezone"]=>
string(16) "America/Montreal"
["date_format"]=>
string(6) "custom"
["date_custom"]=>
string(5) "d/m/Y"
}
["cck:field_reg_date:value"]=>
array(3) {
["timezone"]=>
string(16) "America/Montreal"
["date_format"]=>
string(6) "custom"
["date_custom"]=>
string(5) "d/m/Y"
}
}
["offset"]=>
string(3) "354"
["row_done"]=>
string(1) "2"
["row_error"]=>
string(1) "0"
["status"]=>
string(1) "2"
["file"]=>
object(stdClass)#21 (8) {
["fid"]=>
string(2) "70"
["uid"]=>
string(1) "1"
["filename"]=>
string(27) "2008 One patient import.csv"
["filepath"]=>
string(55) "sites/default/files/imports/2008 One patient import.csv"
["filemime"]=>
string(8) "text/csv"
["filesize"]=>
string(3) "354"
["status"]=>
string(1) "1"
["timestamp"]=>
string(10) "1251825206"
}
}
$fields = array(20) {
["title"]=>
array(18) {
["title"]=>
string(8) "Referral"
["group"]=>
string(0) ""
["module"]=>
string(4) "node"
["weight"]=>
int(-5)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(true)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(0) ""
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["cck:field_referred_med:value"]=>
array(22) {
["title"]=>
string(33) "Date Referred to Medical Oncology"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(18) "field_referred_med"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(18) "field_referred_med"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "33"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-50:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(33) "Date Referred to Medical Oncology"
["weight"]=>
string(2) "33"
["description"]=>
string(16) "From CSV extract"
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_detection_method:value"]=>
array(20) {
["title"]=>
string(19) "Method of Detection"
["group"]=>
string(0) ""
["module"]=>
string(4) "text"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(1) {
[0]=>
string(24) "node_import_check_values"
}
["allowed_values"]=>
array(5) {
["Incidental"]=>
string(10) "Incidental"
["Physician"]=>
string(9) "Physician"
["Screening"]=>
string(9) "Screening"
["Self"]=>
string(4) "Self"
["N/A"]=>
string(3) "N/A"
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(22) "field_detection_method"
["cck:fieldinfo"]=>
array(17) {
["field_name"]=>
string(22) "field_detection_method"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "41"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "text"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "text"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(4) "text"
["size"]=>
string(3) "big"
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["text_processing"]=>
string(1) "0"
["max_length"]=>
string(0) ""
["allowed_values"]=>
string(43) "Incidental
Physician
Screening
Self
N/A"
["allowed_values_php"]=>
string(0) ""
["widget"]=>
array(7) {
["default_value"]=>
array(1) {
[0]=>
array(1) {
["value"]=>
NULL
}
}
["default_value_php"]=>
NULL
["label"]=>
string(19) "Method of Detection"
["weight"]=>
string(2) "41"
["description"]=>
string(0) ""
["type"]=>
string(21) "optionwidgets_buttons"
["module"]=>
string(13) "optionwidgets"
}
}
}
["cck:field_diag_hosp:value"]=>
array(20) {
["title"]=>
string(19) "Diagnosing Hospital"
["group"]=>
string(0) ""
["module"]=>
string(4) "text"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(15) "field_diag_hosp"
["cck:fieldinfo"]=>
array(17) {
["field_name"]=>
string(15) "field_diag_hosp"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "40"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "text"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "text"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(4) "text"
["size"]=>
string(3) "big"
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["text_processing"]=>
int(0)
["max_length"]=>
string(0) ""
["allowed_values"]=>
string(0) ""
["allowed_values_php"]=>
string(0) ""
["widget"]=>
array(9) {
["size"]=>
string(2) "60"
["autocomplete_match"]=>
string(8) "contains"
["default_value"]=>
array(1) {
[0]=>
array(2) {
["value"]=>
string(0) ""
["_error_element"]=>
string(47) "default_value_widget][field_diag_hosp][0][value"
}
}
["default_value_php"]=>
NULL
["label"]=>
string(19) "Diagnosing Hospital"
["weight"]=>
string(2) "40"
["description"]=>
string(0) ""
["type"]=>
string(28) "autocomplete_widgets_flddata"
["module"]=>
string(20) "autocomplete_widgets"
}
}
}
["cck:field_referred_rad:value"]=>
array(22) {
["title"]=>
string(35) "Date Referred to Radiation Oncology"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(18) "field_referred_rad"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(18) "field_referred_rad"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "34"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-50:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(35) "Date Referred to Radiation Oncology"
["weight"]=>
string(2) "34"
["description"]=>
string(0) ""
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_new_disease_date:value"]=>
array(22) {
["title"]=>
string(16) "New Disease Date"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(22) "field_new_disease_date"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(22) "field_new_disease_date"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "36"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-50:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(16) "New Disease Date"
["weight"]=>
string(2) "36"
["description"]=>
string(0) ""
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_detection_date:value"]=>
array(22) {
["title"]=>
string(17) "Date of Detection"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(20) "field_detection_date"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(20) "field_detection_date"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "42"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-15:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(17) "Date of Detection"
["weight"]=>
string(2) "42"
["description"]=>
string(0) ""
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_diagnosis_date:value"]=>
array(22) {
["title"]=>
string(14) "Diagnosis Date"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(20) "field_diagnosis_date"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(20) "field_diagnosis_date"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "37"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-50:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(14) "Diagnosis Date"
["weight"]=>
string(2) "37"
["description"]=>
string(0) ""
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_ref_hosp:value"]=>
array(20) {
["title"]=>
string(18) "Referring Hospital"
["group"]=>
string(0) ""
["module"]=>
string(4) "text"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(14) "field_ref_hosp"
["cck:fieldinfo"]=>
array(17) {
["field_name"]=>
string(14) "field_ref_hosp"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "39"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "text"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "text"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(4) "text"
["size"]=>
string(3) "big"
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["text_processing"]=>
int(0)
["max_length"]=>
string(0) ""
["allowed_values"]=>
string(0) ""
["allowed_values_php"]=>
string(0) ""
["widget"]=>
array(9) {
["size"]=>
string(2) "60"
["autocomplete_match"]=>
string(8) "contains"
["default_value"]=>
array(1) {
[0]=>
array(2) {
["value"]=>
string(0) ""
["_error_element"]=>
string(46) "default_value_widget][field_ref_hosp][0][value"
}
}
["default_value_php"]=>
NULL
["label"]=>
string(18) "Referring Hospital"
["weight"]=>
string(2) "39"
["description"]=>
string(0) ""
["type"]=>
string(28) "autocomplete_widgets_flddata"
["module"]=>
string(20) "autocomplete_widgets"
}
}
}
["cck:field_reg_date:value"]=>
array(22) {
["title"]=>
string(24) "Date Registered at TOHCC"
["group"]=>
string(0) ""
["module"]=>
string(4) "date"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(14) "field_reg_date"
["cck:fieldinfo"]=>
array(20) {
["field_name"]=>
string(14) "field_reg_date"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "35"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "date"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "date"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(7) "varchar"
["length"]=>
int(20)
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["granularity"]=>
array(3) {
["year"]=>
string(4) "year"
["month"]=>
string(5) "month"
["day"]=>
string(3) "day"
}
["timezone_db"]=>
string(0) ""
["tz_handling"]=>
string(4) "none"
["todate"]=>
string(0) ""
["repeat"]=>
int(0)
["repeat_collapsed"]=>
string(0) ""
["default_format"]=>
string(6) "medium"
["widget"]=>
array(15) {
["default_value"]=>
string(5) "blank"
["default_value_code"]=>
string(0) ""
["default_value2"]=>
string(4) "same"
["default_value_code2"]=>
string(0) ""
["input_format"]=>
string(13) "M j Y - H:i:s"
["input_format_custom"]=>
string(0) ""
["increment"]=>
string(1) "1"
["text_parts"]=>
array(1) {
[0]=>
string(4) "year"
}
["year_range"]=>
string(6) "-50:+3"
["label_position"]=>
string(6) "within"
["label"]=>
string(24) "Date Registered at TOHCC"
["weight"]=>
string(2) "35"
["description"]=>
string(0) ""
["type"]=>
string(11) "date_select"
["module"]=>
string(4) "date"
}
}
["date_format"]=>
string(5) "array"
["output_format"]=>
string(4) "date"
}
["cck:field_reg_year:value"]=>
array(20) {
["title"]=>
string(17) "Registration Year"
["group"]=>
string(0) ""
["module"]=>
string(6) "number"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(14) "field_reg_year"
["cck:fieldinfo"]=>
array(19) {
["field_name"]=>
string(14) "field_reg_year"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(6) {
["label"]=>
array(2) {
["format"]=>
string(5) "above"
["exclude"]=>
int(0)
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(14) "number_integer"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(6) "number"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(3) {
["type"]=>
string(3) "int"
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
}
}
["prefix"]=>
string(0) ""
["suffix"]=>
string(0) ""
["min"]=>
string(0) ""
["max"]=>
string(0) ""
["allowed_values"]=>
string(0) ""
["allowed_values_php"]=>
string(0) ""
["widget"]=>
array(9) {
["size"]=>
string(1) "4"
["autocomplete_match"]=>
string(8) "contains"
["default_value"]=>
array(1) {
[0]=>
array(2) {
["value"]=>
string(0) ""
["_error_element"]=>
string(46) "default_value_widget][field_reg_year][0][value"
}
}
["default_value_php"]=>
NULL
["label"]=>
string(17) "Registration Year"
["weight"]=>
string(2) "43"
["description"]=>
string(0) ""
["type"]=>
string(6) "number"
["module"]=>
string(6) "number"
}
}
}
["cck:field_surgery_only:value"]=>
array(20) {
["title"]=>
string(12) "Surgery Only"
["group"]=>
string(0) ""
["module"]=>
string(4) "text"
["weight"]=>
int(0)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
string(1) "0"
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(1) {
[0]=>
string(24) "node_import_check_values"
}
["allowed_values"]=>
array(2) {
["Y"]=>
string(1) "Y"
["N"]=>
string(1) "N"
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
string(1) "0"
["is_checkboxes"]=>
bool(false)
["cck:fieldname"]=>
string(18) "field_surgery_only"
["cck:fieldinfo"]=>
array(17) {
["field_name"]=>
string(18) "field_surgery_only"
["type_name"]=>
string(8) "referral"
["display_settings"]=>
array(8) {
["weight"]=>
string(2) "38"
["parent"]=>
string(0) ""
["label"]=>
array(1) {
["format"]=>
string(6) "inline"
}
["teaser"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
["full"]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[4]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[2]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
[3]=>
array(2) {
["format"]=>
string(7) "default"
["exclude"]=>
int(0)
}
}
["widget_active"]=>
string(1) "1"
["type"]=>
string(4) "text"
["required"]=>
string(1) "0"
["multiple"]=>
string(1) "0"
["db_storage"]=>
string(1) "1"
["module"]=>
string(4) "text"
["active"]=>
string(1) "1"
["locked"]=>
string(1) "0"
["columns"]=>
array(1) {
["value"]=>
array(5) {
["type"]=>
string(4) "text"
["size"]=>
string(3) "big"
["not null"]=>
bool(false)
["sortable"]=>
bool(true)
["views"]=>
bool(true)
}
}
["text_processing"]=>
string(1) "0"
["max_length"]=>
string(0) ""
["allowed_values"]=>
string(4) "Y
N"
["allowed_values_php"]=>
string(0) ""
["widget"]=>
array(7) {
["default_value"]=>
array(1) {
[0]=>
array(1) {
["value"]=>
string(0) ""
}
}
["default_value_php"]=>
NULL
["label"]=>
string(12) "Surgery Only"
["weight"]=>
string(2) "38"
["description"]=>
string(0) ""
["type"]=>
string(21) "optionwidgets_buttons"
["module"]=>
string(13) "optionwidgets"
}
}
}
["type"]=>
array(18) {
["title"]=>
string(12) "Content type"
["group"]=>
string(0) ""
["module"]=>
string(4) "node"
["weight"]=>
int(0)
["is_mappable"]=>
bool(false)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(8) "referral"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["revision"]=>
array(18) {
["title"]=>
string(19) "Create new revision"
["group"]=>
string(20) "Revision information"
["module"]=>
string(4) "node"
["weight"]=>
int(20)
["is_mappable"]=>
bool(false)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(1) "1"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["uid"]=>
array(18) {
["title"]=>
string(11) "Authored by"
["group"]=>
string(21) "Authoring information"
["module"]=>
string(4) "node"
["weight"]=>
int(20)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(14) "user_reference"
["preprocess"]=>
array(1) {
[0]=>
string(32) "node_import_check_user_reference"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(1) "1"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["log"]=>
array(18) {
["title"]=>
string(11) "Log message"
["group"]=>
string(20) "Revision information"
["module"]=>
string(4) "node"
["weight"]=>
int(20)
["is_mappable"]=>
bool(false)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(0) ""
["preprocess"]=>
array(0) {
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(0) ""
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["created"]=>
array(19) {
["title"]=>
string(11) "Authored on"
["group"]=>
string(21) "Authoring information"
["module"]=>
string(4) "node"
["weight"]=>
int(20)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(4) "date"
["preprocess"]=>
array(1) {
[0]=>
string(22) "node_import_check_date"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
NULL
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
["output_format"]=>
string(9) "datestamp"
}
["status"]=>
array(18) {
["title"]=>
string(9) "Published"
["group"]=>
string(18) "Publishing options"
["module"]=>
string(4) "node"
["weight"]=>
int(25)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(7) "boolean"
["preprocess"]=>
array(1) {
[0]=>
string(25) "node_import_check_boolean"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(1) "1"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["sticky"]=>
array(18) {
["title"]=>
string(22) "Sticky at top of lists"
["group"]=>
string(18) "Publishing options"
["module"]=>
string(4) "node"
["weight"]=>
int(25)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(7) "boolean"
["preprocess"]=>
array(1) {
[0]=>
string(25) "node_import_check_boolean"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(1) "0"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
["promote"]=>
array(18) {
["title"]=>
string(22) "Promoted to front page"
["group"]=>
string(18) "Publishing options"
["module"]=>
string(4) "node"
["weight"]=>
int(25)
["is_mappable"]=>
bool(true)
["map_required"]=>
bool(false)
["has_multiple"]=>
bool(false)
["multiple_separator"]=>
string(2) "||"
["has_hierarchy"]=>
bool(false)
["hierarchy_separator"]=>
string(2) ">>"
["hierarchy_reverse"]=>
bool(false)
["input_format"]=>
string(7) "boolean"
["preprocess"]=>
array(1) {
[0]=>
string(25) "node_import_check_boolean"
}
["allowed_values"]=>
array(0) {
}
["default_value"]=>
string(1) "0"
["allow_empty"]=>
bool(false)
["is_required"]=>
bool(false)
["is_checkboxes"]=>
bool(false)
}
}
------------------------------------------------------------
Errors and data from last 5 rows with errors:
------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | node_import-node_referral-20.txt | 56.07 KB | sphopkins |
Comments
Comment #1
sphopkins commentedIt did not like the text I had included... here it is again (maybe a copy/paste of the debug info is a bad idea;-) ).
I have been trying to import a csv file that is causing problems. I have included the debug info below. I have tested it with a 1000 line csv file and a 2 line csv file. The 2 line csv file was one that had all of the information in the two rows (with a header row) but only one column was imported.
The import does not error out - zero errors occurred. In fact, when previewing the import the data appears properly formatted in the preview, and downloading the rows shows that node_import actually thinks that the data makes its way in.
Any ideas where to start looking to fix? Node_import is a centrepiece of what I am doing (building an electronic health record) so I am hoping to get this fixed.
Comment #2
sphopkins commentedHere is a structure of a csv that presents the problems:
"MRN","Reg Date","New Dis Date","Ref to Med","Ref to Rad","DxDate","Surg Only","Referring Hospital","Diagnosing Hospital"
9999999,25/09/08,25/09/08,,07/01/08,07/01/08,"N","Quebec All Acute Care Facilities","TOH - Civic Campus AM"
9999999,16/09/08,,16/09/08,07/01/07,07/11/07,"N","Quebec All Acute Care Facilities","TOH - Civic Campus AM"
Here is what node import lets me download:
"Errors","Object","MRN","Reg Date","New Dis Date","Ref to Med","Ref to Rad","DxDate","Surg Only","Referring Hospital","Diagnosing Hospital"
"","108503","9999999","25/09/08","25/09/08","","07/01/08","07/01/08","N","Quebec All Acute Care Facilities","TOH - Civic Campus AM"
"","108504","9999999","16/09/08","","16/09/08","07/01/07","07/11/07","N","Quebec All Acute Care Facilities","TOH - Civic Campus AM"
Node 108504 displays the following in Drupal (with the correct title 9999999):
Date Referred to Medical Oncology: September 16, 2008
Date Referred to Radiation Oncology: January 7, 2007
Date Registered at TOHCC: September 16, 2008
Node 108503 displays nothing (no content at all) in Drupal (with the correct title 9999999)
Any ideas ?
Comment #3
lunk rat commentedI have a similar issue:
Import preview: looks perfect, all data maps correctly.
During import: no errors, all lines import properly.
Imported nodes: blank fields all over the place, only some fields have values.
Any ideas?
Comment #4
sphopkins commentedHave not found out how to fix node_import. I "solved" it by ensuring that the fields were filled with information... not a real fix but it allowed the actual data to make its way in.
Comment #5
lunk rat commentedHow did you do this? Do you mean that you placed a "dummy" character into each empty cell of the CSV file?
I noticed that when I first ran the import, it only placed data into the CCK fields that were "required" fields. Does this have anything to do with it?
Please, node_import, why do you have to be such a tease? You show me these beautiful previews and then you give me blank, blank, blank.
Comment #6
sphopkins commentedBasically, yes I added "dummy data" into the cells that were empty, and then had the "dummy data" deleted after import directly from the database.
I am unsure as to what the pattern of good vs bad import is - have noticed that dates cause problems for me as this is not fully "supported" by node_import.