-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (24 loc) · 1.12 KB
/
Makefile
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
26
27
28
29
30
31
.PHONY: synthea mapping_script clean-previous-runs
validate-results:
java -jar validator_cli.jar results/ -ig hl7.fhir.au.core#1.0.0-preview -tx https://tx.dev.hl7.org.au/fhir -hintAboutNonMustSupport
clean-previous-runs:
rm -rf results/*
rm -rf au-fhir-test-data/testdata-csv/*
rm -rf au-fhir-test-data/generated/*
make -C mapping_script cleanup-source
make -C mapping_script cleanup-results
make -C synthea cleanup
generate-basic-synthea-data:
make -C synthea build
make -C synthea up
copy-synthea-generated-data-to-mapping-script-folder:
cp -rf synthea/output/csv/* mapping_script/csv_source/
run-mapping-scripts:
make -C mapping_script clean-csv
make -C mapping_script run
run-csv-2-fhir-script:
cp -rf ./mapping_script/mapping_results/*.csv ./au-fhir-test-data/testdata-csv/
cp ./Csv2FhirMapping-linux-x64-binaries/Csv2Fhir ./au-fhir-test-data/Sparked.Csv2FhirMapping/
- ./mapping-script.sh; false
cp au-fhir-test-data/generated/* ./results/
pipeline-local: clean-previous-runs generate-basic-synthea-data copy-synthea-generated-data-to-mapping-script-folder run-mapping-scripts run-csv-2-fhir-script validate-results