documentation, code comment

This commit is contained in:
Steve Nyemba 2019-11-07 01:30:38 -06:00
parent f98d2ee336
commit de9c8bc2e3
1 changed files with 3 additions and 3 deletions

View File

@ -40,11 +40,11 @@ Use parse-edi within your code base as a library
ROOT = 'data'
CLAIMS_FOLDER = os.sep.join([ROOT,'837'])
CONFIG_FOLDER = os.sep.join([ROOT,'config'])
CLAIMS_FOLDER = os.sep.join([ROOT,'837']) #-- data/837 contains all 837 formatted files
CONFIG_FOLDER = os.sep.join([ROOT,'config'])#-- data/config contains 837.json or 835.json
files = os.listdir(CLAIMS_FOLDER)
filename = os.sep.join([ROOT,files[0]]) #-- selecting the first file in the folder (it's an example)
filename = os.sep.join([CLAIM_FOLDER,files[0]]) #-- selecting the first file in the folder (it's an example)
conf = json.loads(open( os.sep.join([CONFIG_FOLDER,'837.json']) ).read())
info = edi.parser.get_content(file,conf) #-- array of objects claims/remits