generated from ansforge/IG-modele
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Validation.bat
executable file
·25 lines (21 loc) · 2.53 KB
/
Validation.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@ECHO OFF
rem java -jar validator_cli.jar output/Patient-ExamplefrPatient001.json -version 4.0 -profile Patient
@REM ECHO 3. Third example shows how to validate against a profile in an implementation guide:
@REM ECHO a. get an example to validate
@REM wget http://hl7.org/fhir/observation-example-heart-rate.xml -O obs-ex.xml
@REM ECHO b. validate it. note that you have to tell the validator where to get the implementation guide information
rem java -jar validator_cli.jar output\Observation-ExampleMesFrObservationBodyWeight001.json -version 4.0 -ig C:\Users\adml_nar\Documents\GitHub\MesuresDeSante\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-fr-observation-body-weight
rem java -jar validator_cli.jar output\Observation-ExampleMesFrObservationBodyHeight001.json -version 4.0 -ig C:\Users\adml_nar\Documents\GitHub\MesuresDeSante\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-fr-observation-bodyheight
rem java -jar validator_cli.jar output\Observation-ExampleMesFrObservationBmi001.json -version 4.0 -ig C:\Users\adml_nar\Documents\GitHub\MesuresDeSante\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-fr-observation-bmi
rem java -jar validator_cli.jar output\Observation-ExampleMesFrObservationBodyTemperature001.json -version 4.0 -ig C:\Users\adml_nar\Documents\GitHub\MesuresDeSante\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-fr-observation-body-temperature
rem java -jar validator_cli.jar output\Observation-ExampleMesFrObservationBP001.json -version 4.0 -ig C:\Users\adml_nar\Documents\GitHub\MesuresDeSante\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-fr-observation-bp
ECHO ""
ECHO "---- Steps by Day ---"
ECHO ""
java -jar validator_cli.jar fsh-generated\resources\Observation-ExampleMesObservationStepsByDay001.json -version 4.0 -ig C:\Users\adml_nar\Documents\___ATELIER\FHIR\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-observation-steps-by-day
ECHO ""
ECHO "---- Pain Severity ---"
ECHO ""
java -jar validator_cli.jar fsh-generated\resources\Observation-ExampleMesObservationPainSeverity001.json -version 4.0 -ig C:\Users\adml_nar\Documents\___ATELIER\FHIR\FIG_ans-ig-mesures\output -profile http://interop.esante.gouv.fr/fhir/mesures/StructureDefinition/mes-observation-pain-severity
ECHO Press Any Key to Close
pause