diff --git a/README.md b/README.md index 51aa555..933e329 100644 --- a/README.md +++ b/README.md @@ -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