Commit 0c379589 authored by Georg Fette's avatar Georg Fette
Browse files

included fhir profiles

fixed absolute path to fhir profiles file
fixed POM
parent 40e53397
......@@ -10,6 +10,8 @@
......@@ -53,5 +55,18 @@
<!-- Needed by junit -->
\ No newline at end of file
package de.uniwue.query.cypher;
import java.util.ArrayList;
import java.util.Arrays;
......@@ -20,7 +19,7 @@ import org.hl7.fhir.r4.model.StructureDefinition;
import org.hl7.fhir.r4.model.StructureDefinition.StructureDefinitionSnapshotComponent;
import ca.uhn.fhir.context.FhirContext;
import de.uniwue.misc.util.FileUtilsUniWue;
import de.uniwue.misc.util.ResourceUtil;
import de.uniwue.query.Expression;
import de.uniwue.query.GraphQuery;
import de.uniwue.query.Graph_2_System_Mapper;
......@@ -76,10 +75,9 @@ public class Graph_2_Cypher_Mapper extends Graph_2_System_Mapper {
private void loadProfiles() {
File file = new File("D:\\tmp\\profiles-resources.json");
String profileString;
try {
profileString = FileUtilsUniWue.file2String(file);
profileString = ResourceUtil.loadFileAsString("classpath:CQL/profiles-resources.json");
} catch (IOException e) {
throw new RuntimeException(e);
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -63,8 +63,8 @@ public class Test_CQL_2_Cypher {
public static void main(String[] args) throws IOException, XMLStreamException, ParseException,
JDOMException, ParserConfigurationException, SAXException {
Test_CQL_2_Cypher test = new Test_CQL_2_Cypher();
// test.testCQL_2_Cypher();
// test.debugTest();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment