Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4ec4c655 authored by Achraf Achkari's avatar Achraf Achkari
Browse files

Adapt Doc

parent 14c5871c
No related branches found
No related tags found
No related merge requests found
......@@ -314,12 +314,12 @@ This section is just an alternative way to regenerate the validator when the fun
without re-running GOC, but just from the generated ```model.uml``` file.
```bash
> cd /home/mylap/Documents/GOC-OUTPUT/[validator-name]-validator-jar/model/[validator-name].uml
> cd /home/mylap/Documents/GOC-OUTPUT/validator/[validator-name]-validator-jar/model/[validator-name].uml
```
for example for epsos5
```bash
> cd /home/mylap/Documents/GOC-OUTPUT/epsos5-validator-jar/model/epsos5.uml
> cd /home/mylap/Documents/GOC-OUTPUT/validator/epsos5-validator-jar/model/epsos5.uml
```
Then you can edit it with a Text Editor, or a dedicated modeling tool (ex: TopCased).
......@@ -328,7 +328,7 @@ Then you can edit it with a Text Editor, or a dedicated modeling tool (ex: TopCa
Go to GOC-OUTPUT/epsos5-validator-jar and do the following:
```bash
> cd /home/mylap/Documents/GOC-OUTPUT/epsos5-validator-jar
> cd /home/mylap/Documents/GOC-OUTPUT/validator/epsos5-validator-jar
> mvn exec:exec@generateValidator -DmvnPath="/opt/apache-maven-3.5.4/bin/mvn" -DcdaProps="cdaepsos" -DprojectName="epsos5"
> mvn clean package
```
......@@ -359,7 +359,6 @@ Now you can refer to [Section 8](#validateCDA) to Validate a CDA document with y
Now we are going to use the generated validator.<br>
We will suppose we generated a validator with a BBR containing the following version: epsos5-.<br>
_We didn't use the SEQUOIA's BBR because the validator needs a hack (access to SVS) before it could be used_
Open the following directory:
```bash
......@@ -370,6 +369,23 @@ Open the following directory:
> ./validator.sh -path <Path_to_CDA.xml> -out <Path_To_output_result.xml>
```
For SEQUOIA with version ccda21, you need to adapt it to SVS first, and for that we have a generation script that handle all of that automatically:
```bash
> cd gazelle-objects-checker/hl7templates/hl7templates-packager-jar/target
> ./SEQUOIAGeneration.sh
# or just for adapting SVS you can use the SEQUOIASVSAdaptation.sh
```
Then:
```bash
> cd <Path_To_Output>/ccda21-validator-jar/target/appassembler/bin
> chmod +x validator.sh #if on linux
> ./validator.sh -path <Path_to_CDA.xml> -out <Path_To_output_result.xml>
```
Here is a summary of possible parameters for the validator:
<table>
<thead>
......@@ -482,6 +498,5 @@ You can find some previous made documentation here _(belong the old GOC, and cou
#### Next released documentation
- Functional description of GOC
- Prepare validator for SEQUOIA
- Use interactive scripts for generation
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment