Closed galen211 closed 2 years ago
solution: add 'Place of Service' to domain_destination_file_list
, line 227 in CMS_SynPuf_ETL_CDM_v5.py
:
'Place of Service' : DESTINATION_FILE_VISIT
It seems the vocabulary is evolving. I got Key Error: 'Meas Value'.
Is the following patch appropriate?
- 'Visit' : DESTINATION_FILE_VISIT
+ 'Visit' : DESTINATION_FILE_VISIT,
+ 'Place of Service' : DESTINATION_FILE_VISIT,
+ 'Meas Value' : DESTINATION_FILE_MEASUREMENT,
@galen211
How do you know which destination file e.g. condition, procedure, measurement, visit, etc a new key should be added to?
I downloaded the SNOMED, ICD9CM, ICD9Proc, CPT4, HCPCS, LOINC, RxNorm, and NDC CDMv5 Vocabularies from Athena following the instructions in
/python_etl/README.md
(step 3). When I run a test of the ETL process usingpython CMS_SynPuf_ETL_CDM_v5.py 0
, I get the following error after awhile:Below is the referenced
concept_debug_log.txt
concept_debug_log.txt