Additional updates to template and library example
This commit is contained in:
parent
a37abbda58
commit
837a69e037
@ -3,13 +3,22 @@
|
||||
"id": "example",
|
||||
"url" : "http://somewhere.org/fhir/uv/myig/Library/example",
|
||||
"version" : "1.0.0",
|
||||
"name": "example",
|
||||
"title": "Example CQL Library",
|
||||
"status" : "draft",
|
||||
"experimental": true,
|
||||
"type" : {
|
||||
"coding" : [{
|
||||
"system" : "http://terminology.hl7.org/CodeSystem/library-type",
|
||||
"code" : "logic-library"
|
||||
}]
|
||||
},
|
||||
"subject": {
|
||||
"coding": [{
|
||||
"system": "hl7.org/fhir/resource-types",
|
||||
"code": "Patient"
|
||||
}]
|
||||
},
|
||||
"content" : [{
|
||||
"id" : "ig-loader-example.cql"
|
||||
}]
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
<td style="padding-left: 25px;">{{Library.version}}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for identifier in Library %}
|
||||
{% for identifier in Library.identifier %}
|
||||
<tr>
|
||||
<th scope="row"><b>Identifier: </b></th>
|
||||
<td style="padding-left: 25px;">
|
||||
@ -291,7 +291,15 @@
|
||||
<tr>
|
||||
<table>
|
||||
<tr><th><b>Content: </b> {{c.contentType}}</th></tr>
|
||||
<tr><pre><code>{{c.data.decode('base64').escape('html')}}</code></pre></tr>
|
||||
<tr><td><pre><code>{{c.data.decode('base64').escape('html')}}</code></pre></td></tr>
|
||||
</table>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% if c.contentType != 'text/cql' %}
|
||||
<tr>
|
||||
<table>
|
||||
<tr><th><b>Content: </b> {{c.contentType}}</th></tr>
|
||||
<tr><td><pre><code>{{'Encoded data (' + c.data.length().toString() + ' characters)'}}</code></pre></td></tr>
|
||||
</table>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user