documentation bugs

docker
Steve L. Nyemba 5 years ago
parent de9c8bc2e3
commit 54398a1f98

@ -10,17 +10,13 @@ The claims/outpout can be forwarded to a NoSQL Data store like couchdb and mongo
pip install git+https://hiplab.mc.vanderbilt.edu/git/steve/parse-edi.git pip install git+https://hiplab.mc.vanderbilt.edu/git/steve/parse-edi.git
## Credits
* Steve L. Nyemba <steve.l.nyemba@vanderbilt.edu>
* Khanhly Nguyen <khanhly.t.nguyen@gmail.com>
## Usage ## Usage
**Commandline :** **Commandline :**
python edi --config <path> --folder <path> --store <[mongo|disk|couch]> --<db|path]> <id|path> python edi --config <path> --folder <path> --store <[mongo|disk|couch]> --<db|path]> <id|path>
with : with :
@ -32,7 +28,7 @@ The claims/outpout can be forwarded to a NoSQL Data store like couchdb and mongo
**Embedded in Code :** **Embedded in Code :**
Use parse-edi within your code base as a library Use **parse-edi** within your code base as a library and handle storing data in a data store of choice
import edi.parser import edi.parser
import json import json
@ -48,3 +44,10 @@ Use parse-edi within your code base as a library
filename = os.sep.join([CLAIM_FOLDER,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
## Credits
* Steve L. Nyemba <steve.l.nyemba@vanderbilt.edu>
* Khanhly Nguyen <khanhly.t.nguyen@gmail.com>

@ -7,7 +7,7 @@ import sys
def read(fname): def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read() return open(os.path.join(os.path.dirname(__file__), fname)).read()
args = {"name":"parse-edi","version":"1.0.0","author":"Vanderbilt University Medical Center","license":"MIT","packages":["edi"],"keywords":["healthcare","edi","x12","data","transport","protocol"]} args = {"name":"parse-edi","version":"1.0.0","author":"Vanderbilt University Medical Center","author_email":"steve.l.nyemba@vanderbilt.edu","license":"MIT","packages":["edi"],"keywords":["healthcare","edi","x12","data","transport","protocol"]}
args["install_requires"] = ['data-transport@git+https://dev.the-phi.com/git/steve/data-transport.git','pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'] args["install_requires"] = ['data-transport@git+https://dev.the-phi.com/git/steve/data-transport.git','pymongo','numpy','cloudant','pika','boto','flask-session','smart_open']
args['url'] = 'https://hiplab.mc.vanderbilt.edu' args['url'] = 'https://hiplab.mc.vanderbilt.edu'
if sys.version_info[0] == 2 : if sys.version_info[0] == 2 :

Loading…
Cancel
Save