add binary test

This commit is contained in:
Grahame Grieve 2020-04-04 14:22:28 +11:00
parent f6546ef566
commit a59787c02c
4 changed files with 32 additions and 0 deletions

1
input/cql/binary.cql Normal file
View File

@ -0,0 +1 @@
this is some example cql

View File

@ -0,0 +1,5 @@
{
"resourceType" : "Binary",
"id" : "example",
"data" : "ig-loader-binary.cql"
}

View File

@ -0,0 +1,15 @@
{
"resourceType" : "Library",
"url" : "http://somewhere.org/fhir/uv/myig/Library/example",
"version" : "1.0.0",
"status" : "draft",
"type" : {
"coding" : [{
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
"code" : "logic-library"
]}
},
"content" : [{
"id" : "ig-loader-binary.cql"
}]
}

View File

@ -55,6 +55,13 @@
<description value="A simple example showing how examples are defined and referenced"/> <description value="A simple example showing how examples are defined and referenced"/>
<exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/> <exampleCanonical value="http://somewhere.org/fhir/uv/myig/StructureDefinition/mypatient"/>
</resource> </resource>
<!-- <resource>
<reference>
<reference value="Library/example"/>
</reference>
<name value="Simple library example"/>
<description value="A simple example showing how library is pre-loaded"/>
</resource> -->
<page> <page>
<!-- The root will always be toc.html - the template will force it if you don't do it --> <!-- The root will always be toc.html - the template will force it if you don't do it -->
<nameUrl value="toc.html"/> <nameUrl value="toc.html"/>
@ -100,6 +107,10 @@
<code value="find-other-resources"/> <code value="find-other-resources"/>
<value value="true"/> <value value="true"/>
</parameter> </parameter>
<parameter>
<code value="path-binary"/>
<value value="input\cql"/>
</parameter>
<!-- Uncomment one or more of these if you want to limit which syntaxes are supported or want to disable the display of mappings <!-- Uncomment one or more of these if you want to limit which syntaxes are supported or want to disable the display of mappings
<parameter> <parameter>
<code value="excludexml"/> <code value="excludexml"/>