documentation, code comment

docker
Steve L. Nyemba 5 years ago
parent f98d2ee336
commit de9c8bc2e3

@ -40,11 +40,11 @@ Use parse-edi within your code base as a library
ROOT = 'data' ROOT = 'data'
CLAIMS_FOLDER = os.sep.join([ROOT,'837']) CLAIMS_FOLDER = os.sep.join([ROOT,'837']) #-- data/837 contains all 837 formatted files
CONFIG_FOLDER = os.sep.join([ROOT,'config']) CONFIG_FOLDER = os.sep.join([ROOT,'config'])#-- data/config contains 837.json or 835.json
files = os.listdir(CLAIMS_FOLDER) 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()) conf = json.loads(open( os.sep.join([CONFIG_FOLDER,'837.json']) ).read())
info = edi.parser.get_content(file,conf) #-- array of objects claims/remits info = edi.parser.get_content(file,conf) #-- array of objects claims/remits

Loading…
Cancel
Save