You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
3.8 KiB
HTML
79 lines
3.8 KiB
HTML
<script>
|
|
$(document).ready(function(){
|
|
layout = {on:{load:{'contact-cli':['www/parser/contact.html']}}}
|
|
bootup.init('{{system.id}}',layout)
|
|
})
|
|
</script>
|
|
<div style="display:grid; grid-template-columns: auto 40%; gap:8px;">
|
|
<div>
|
|
<div class="large-text">Command line interface (CLI)</div>
|
|
<p>
|
|
0. Check that you have the installer, the command below will display all the supported actions.
|
|
<div class="source-code">
|
|
healthcare-io --help
|
|
</div>
|
|
</p>
|
|
<p>
|
|
1. initialize the environment (one-time run), with database parameters. By default this will be using sqlite database
|
|
|
|
<div class="source-code">
|
|
healthcare-io init < your-email >
|
|
|
|
</div>
|
|
<br><b>Note :</b>
|
|
<br><i class="fa-solid fa-minus"></i> To use another database please visit data-transport page to learn about how to create an <b>auth-file</b>, it's a file with database access parameters.
|
|
<br><i class="fa-solid fa-minus"></i> The configuration file will live on <b>$HOME/.healthcareio/config.json</b>
|
|
</p>
|
|
<p>
|
|
2. Parse {x12} files stored in a folder. The output will be stored in a database specified upon initialization.
|
|
<div class="source-code">
|
|
healthcare-io parse < x12_folder >
|
|
</div>
|
|
<br><b>Note :</b>
|
|
<br><i class="fa-solid fa-minus"></i> The data is stored in JSON format in the database specified in <b>$HOME/.healthcareio/config.json</b>
|
|
<br><i class="fa-solid fa-minus"></i> Once stored, it is possible to export them to a relational database supported by data-transport.
|
|
</p>
|
|
|
|
<p>
|
|
<div id="contact-cli" class="contact">
|
|
|
|
</div>
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<div >
|
|
<div class="large-text">Prerequisites</div>
|
|
<ul class="border-left">
|
|
<li type="square">Installed {x12} parser via pip (python 3+)</li>
|
|
<li type="square">Familiarity with terminal commands</li>
|
|
<li type="square">Have {x12} files in a folder<br>Samples {x12} files can be found at https://x12.org/examples</li>
|
|
</ul>
|
|
<p>
|
|
<div class="large-text">Things to know</div>
|
|
<ul class="border-left">
|
|
<li type="square"><b>Plugins</b>
|
|
<div><i class="fa-solid fa-minus"></i> The plugins determine what elements need to be parsed for a given {x12} file, and thus determine relational structure</div>
|
|
<div><i class="fa-solid fa-minus"></i> If no plugins are specified, the default built-in are used </div>
|
|
<div><i class="fa-solid fa-minus"></i> It is possible to develop plugins (in python) for custom parsing or to extend the elements parsed by default.</div>
|
|
</li>
|
|
<li type="square"><b>Parser versions</b>
|
|
<div><i class="fa-solid fa-minus"></i> Add data on existing database if using the same custom plugins across {x12} parser versions. As long as the custom plugins have not changed
|
|
</div>
|
|
<div><i class="fa-solid fa-minus"></i> Do NOT add data on existing database if using default plugins & a newer version of {x12} parser.
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</p>
|
|
<p>
|
|
<div>
|
|
<div class="large-text">System Components</div>
|
|
<p>
|
|
<div class="border-left" style="padding-left:8px">
|
|
<img src="www/parser/_images/activity.png" style="width:90%"/>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
</p>
|
|
</div>
|
|
</div> |