diff --git a/healthcareio/healthcare-io.py b/healthcareio/healthcare-io.py index 53f14a1..cd8413a 100644 --- a/healthcareio/healthcare-io.py +++ b/healthcareio/healthcare-io.py @@ -344,13 +344,15 @@ if __name__ == '__main__' : else: msg = """ - CLI Usage - healthcare-io.py --register --store + cli: + + healthcare-io.py --<[signup|init]> --store [--batch ] healthcare-io.py --parse claims --folder [--batch ] healthcare-io.py --parse remits --folder [--batch ] + parameters : --<[signup|init]> signup or get a configuration file from a parsing server - --store data store mongo or sqlite + --store data store mongo or sqlite or mongodb """ print(msg) pass diff --git a/healthcareio/parser.py b/healthcareio/parser.py index f15ae14..f35a999 100644 --- a/healthcareio/parser.py +++ b/healthcareio/parser.py @@ -91,6 +91,12 @@ def format_date(value) : return "-".join([year,month,day]) def format_time(value): return ":".join([value[:2],value[2:] ])[:5] +def sv3_parse(value): + if '>' in value : + terms = value.split('>') + return {'type':terms[0],'code':terms[1]} + + pass def sv2_parse(value): # # @TODO: Sometimes there's a suffix (need to inventory all the variations)