fhir2.base.template 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/.index.db +0 -0
- package/.github/.index.json +4 -0
- package/.github/workflows/.index.db +0 -0
- package/.github/workflows/.index.json +4 -0
- package/.github/workflows/add_issues.yml +61 -0
- package/.index.db +0 -0
- package/.index.json +4 -0
- package/README.md +4 -0
- package/cache.ini +7 -0
- package/config/.index.db +0 -0
- package/config/.index.json +4 -0
- package/config/_config.yml +6 -0
- package/config.json +390 -0
- package/content/.index.db +0 -0
- package/content/.index.json +4 -0
- package/content/assets/.index.db +0 -0
- package/content/assets/.index.json +4 -0
- package/content/assets/css/.index.db +0 -0
- package/content/assets/css/.index.json +4 -0
- package/content/assets/css/bootstrap-fhir.css +5312 -0
- package/content/assets/css/bootstrap-glyphicons.css +2 -0
- package/content/assets/css/cqf.css +186 -0
- package/content/assets/css/hl7.css +63 -0
- package/content/assets/css/jquery-ui.css +523 -0
- package/content/assets/css/jquery-ui.structure.min.css +5 -0
- package/content/assets/css/jquery-ui.theme.min.css +5 -0
- package/content/assets/css/prism-fhirpath.css +38 -0
- package/content/assets/css/prism.css +143 -0
- package/content/assets/css/project.css +812 -0
- package/content/assets/css/pygments-manni.css +66 -0
- package/content/assets/css/xml.css +2 -0
- package/content/assets/fonts/.index.db +0 -0
- package/content/assets/fonts/.index.json +4 -0
- package/content/assets/fonts/OpenSans-CondBold-webfont.eot +0 -0
- package/content/assets/fonts/OpenSans-CondBold-webfont.svg +1403 -0
- package/content/assets/fonts/OpenSans-CondBold-webfont.ttf +0 -0
- package/content/assets/fonts/OpenSans-CondBold-webfont.woff +0 -0
- package/content/assets/fonts/OpenSans-CondLight-webfont.eot +0 -0
- package/content/assets/fonts/OpenSans-CondLight-webfont.svg +1830 -0
- package/content/assets/fonts/OpenSans-CondLight-webfont.ttf +0 -0
- package/content/assets/fonts/OpenSans-CondLight-webfont.woff +0 -0
- package/content/assets/fonts/glyphiconshalflings-regular.eot +0 -0
- package/content/assets/fonts/glyphiconshalflings-regular.otf +0 -0
- package/content/assets/fonts/glyphiconshalflings-regular.svg +175 -0
- package/content/assets/fonts/glyphiconshalflings-regular.ttf +0 -0
- package/content/assets/fonts/glyphiconshalflings-regular.woff +0 -0
- package/content/assets/ico/.index.db +0 -0
- package/content/assets/ico/.index.json +4 -0
- package/content/assets/ico/favicon.png +0 -0
- package/content/assets/ico/icon-fhir-114.png +0 -0
- package/content/assets/ico/icon-fhir-144.png +0 -0
- package/content/assets/ico/icon-fhir-57.png +0 -0
- package/content/assets/ico/icon-fhir-72.png +0 -0
- package/content/assets/ico/noun_copy to clipboard_1669410.png +0 -0
- package/content/assets/images/.index.db +0 -0
- package/content/assets/images/.index.json +4 -0
- package/content/assets/images/001.svg +269 -0
- package/content/assets/images/download.png +0 -0
- package/content/assets/images/dragon.png +0 -0
- package/content/assets/images/external.png +0 -0
- package/content/assets/images/fcp-logo.png +0 -0
- package/content/assets/images/fhir-logo-www.png +0 -0
- package/content/assets/images/hl7-logo-header.png +0 -0
- package/content/assets/images/icon_arrow_down.png +0 -0
- package/content/assets/images/icon_arrow_up.png +0 -0
- package/content/assets/images/lang-ar.png +0 -0
- package/content/assets/images/lang-de.png +0 -0
- package/content/assets/images/lang-en.png +0 -0
- package/content/assets/images/lang-es.png +0 -0
- package/content/assets/images/lang-fr.png +0 -0
- package/content/assets/images/lang-ja.png +0 -0
- package/content/assets/images/lang-kr.png +0 -0
- package/content/assets/images/lang-nl.png +0 -0
- package/content/assets/images/lang-pt.png +0 -0
- package/content/assets/images/lang-pt_BR.png +0 -0
- package/content/assets/images/lang-ru.png +0 -0
- package/content/assets/images/lang-zh-TW.png +0 -0
- package/content/assets/images/lang-zh.png +0 -0
- package/content/assets/images/link.svg +1 -0
- package/content/assets/images/logo_ansinew.jpg +0 -0
- package/content/assets/images/search.png +0 -0
- package/content/assets/images/stripe.png +0 -0
- package/content/assets/images/target.png +0 -0
- package/content/assets/js/.index.db +0 -0
- package/content/assets/js/.index.json +4 -0
- package/content/assets/js/anchor-hover.js +2 -0
- package/content/assets/js/anchor.min.js +6 -0
- package/content/assets/js/bootstrap.min.js +6 -0
- package/content/assets/js/clipboard-btn.js +30 -0
- package/content/assets/js/clipboard.min.js +7 -0
- package/content/assets/js/direction-management.js +6 -0
- package/content/assets/js/fhir-table-scripts.js +186 -0
- package/content/assets/js/fhir.js +2 -0
- package/content/assets/js/flags.js +7 -0
- package/content/assets/js/html5shiv.js +8 -0
- package/content/assets/js/jquery-3.7.0.min.map +1 -0
- package/content/assets/js/jquery-ui.min.js +6 -0
- package/content/assets/js/jquery.js +2 -0
- package/content/assets/js/lang-redirects.js +14 -0
- package/content/assets/js/mermaid-init.js +12 -0
- package/content/assets/js/mermaid.js +2029 -0
- package/content/assets/js/prism-fhirpath.js +67 -0
- package/content/assets/js/prism.js +238 -0
- package/content/assets/js/readme.txt +1 -0
- package/content/assets/js/respond.min.js +6 -0
- package/content/assets/js/tabs.js +20 -0
- package/content/assets/js/topofpage.js +20 -0
- package/content/assets/js/window-hash.js +5 -0
- package/content/assets/js/xml.js +2 -0
- package/content/searchform.html +141 -0
- package/data/.index.db +0 -0
- package/data/.index.json +4 -0
- package/ig.ini +2 -0
- package/includes/.index.db +0 -0
- package/includes/.index.json +4 -0
- package/includes/fragment-base-navtabs.html +85 -0
- package/includes/fragment-css.html +1 -0
- package/includes/fragment-feedback_form.html +66 -0
- package/includes/fragment-footer.html +4 -0
- package/includes/fragment-header.html +1 -0
- package/includes/fragment-igTable.html +3 -0
- package/includes/fragment-intro.html +15 -0
- package/includes/fragment-language.html +22 -0
- package/includes/fragment-modelType.html +13 -0
- package/includes/fragment-notes.html +14 -0
- package/includes/fragment-pageTable.html +19 -0
- package/includes/fragment-pagebegin.html +141 -0
- package/includes/fragment-pageend.html +78 -0
- package/includes/fragment-profile-navtabs.html +121 -0
- package/includes/fragment-resourceTable.html +116 -0
- package/includes/fragment-simpletable.html +35 -0
- package/includes/template-page-md.html +54 -0
- package/includes/template-page.html +29 -0
- package/layouts/.index.db +0 -0
- package/layouts/.index.json +4 -0
- package/layouts/layout-canonical-testing.html +63 -0
- package/layouts/layout-canonical.html +51 -0
- package/layouts/layout-changehistory.html +19 -0
- package/layouts/layout-codesystem.html +50 -0
- package/layouts/layout-examplescenario.html +54 -0
- package/layouts/layout-ext.html +283 -0
- package/layouts/layout-instance-base.html +42 -0
- package/layouts/layout-instance-format.html +39 -0
- package/layouts/layout-profile-definitions.html +54 -0
- package/layouts/layout-profile-examples.html +42 -0
- package/layouts/layout-profile-format.html +41 -0
- package/layouts/layout-profile-history.html +23 -0
- package/layouts/layout-profile-mappings.html +29 -0
- package/layouts/layout-profile-testing.html +60 -0
- package/layouts/layout-profile.html +418 -0
- package/layouts/layout-questionnaire.html +90 -0
- package/layouts/layout-valueset.html +59 -0
- package/liquid/.index.db +0 -0
- package/liquid/.index.json +4 -0
- package/liquid/ActivityDefinition.liquid +418 -0
- package/liquid/Library.liquid +431 -0
- package/liquid/Measure.liquid +8 -0
- package/liquid/PlanDefinition.liquid +450 -0
- package/liquid/datarequirement.html +42 -0
- package/liquid/default-list.html +3 -0
- package/liquid/default.html +3 -0
- package/liquid/direct-reference-code.html +14 -0
- package/liquid/knowledge-artifact-metadata-extensions.html +22 -0
- package/liquid/knowledge-artifact-metadata.html +22 -0
- package/liquid/logic-definition.html +21 -0
- package/liquid/measure-identifier.html +20 -0
- package/liquid/measure-logic.html +24 -0
- package/liquid/measure-metadata-extensions.html +11 -0
- package/liquid/measure-metadata.html +19 -0
- package/liquid/measure-population-criteria-extensions.html +30 -0
- package/liquid/measure-population-criteria-population.html +59 -0
- package/liquid/measure-population-criteria-stratifier.html +26 -0
- package/liquid/measure-population-criteria.html +14 -0
- package/liquid/measure-supplementaldata.html +38 -0
- package/liquid/narrative-end.html +3 -0
- package/liquid/narrative-start.html +3 -0
- package/liquid/parameter.html +14 -0
- package/liquid/period.html +4 -0
- package/liquid/related-artifact.html +47 -0
- package/liquid/row-content.html +1 -0
- package/liquid/row-end.html +1 -0
- package/liquid/row-header.html +5 -0
- package/liquid/row-new.html +4 -0
- package/liquid/row-start.html +1 -0
- package/liquid/section-header.html +3 -0
- package/liquid/type-primitive.html +0 -0
- package/liquid/version.html +3 -0
- package/package/.index.db +0 -0
- package/package/.index.json +4 -0
- package/package/package.json +10 -0
- package/package-list.json +32 -0
- package/package.json +10 -0
- package/scripts/.index.db +0 -0
- package/scripts/.index.json +4 -0
- package/scripts/ant.xml +231 -0
- package/scripts/createArtifactSummary.xslt +135 -0
- package/scripts/groupings.txt +28 -0
- package/scripts/handleIssues.xslt +44 -0
- package/scripts/onGenerate.data.xslt +31 -0
- package/scripts/onGenerate.final.xslt +153 -0
- package/scripts/onGenerate.genJson.xslt +113 -0
- package/scripts/onGenerate.getVersions.xslt +25 -0
- package/scripts/onGenerate.group.xslt +95 -0
- package/scripts/onGenerate.groupSort.xslt +73 -0
- package/scripts/onGenerate.qa.xslt +33 -0
- package/scripts/onLoad.xslt +466 -0
- package/scripts/plantuml.jar +0 -0
- package/scripts/processPages.xslt +154 -0
- package/translations/.index.db +0 -0
- package/translations/.index.json +4 -0
- package/translations/stringsArtifacts-ar.po +282 -0
- package/translations/stringsArtifacts-es.po +282 -0
- package/translations/stringsArtifacts-fr.po +282 -0
- package/translations/stringsArtifacts-nl.po +282 -0
- package/translations/stringsArtifacts-pt.po +282 -0
- package/translations/stringsArtifacts-ru.po +282 -0
- package/translations/stringsArtifacts.json +60 -0
- package/translations/stringsBase-ar.po +562 -0
- package/translations/stringsBase-es.po +562 -0
- package/translations/stringsBase-fr.po +564 -0
- package/translations/stringsBase-nl.po +564 -0
- package/translations/stringsBase-pt.po +564 -0
- package/translations/stringsBase-ru.po +564 -0
- package/translations/stringsBase.json +116 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{% if include.measure.identifier.exists() or include.measure.version.exists() or include.measure.scoring.exists() or
|
|
2
|
+
include.measure.compositeScoring.exists() or include.measure.type.exists() or include.measure.riskAdjustment.exists() or
|
|
3
|
+
include.measure.rateAggregation.exists() or include.measure.rationale.exists() or include.measure.clinicalRecommendationStatement.exists() or
|
|
4
|
+
include.measure.improvementNotation.exists() or include.measure.definition.exists() or include.measure.guidance.exists() %}
|
|
5
|
+
{%include section-header.html header='Measure Metadata' %}
|
|
6
|
+
{%include measure-identifier.html measure=include.measure %}
|
|
7
|
+
{%include default.html header='Version Number' content=include.measure.version %}
|
|
8
|
+
{%include default.html header='Measure Scoring' content=include.measure.scoring %}
|
|
9
|
+
{%include default.html header='Measure Composite Scoring' content=include.measure.compositeScoring %}
|
|
10
|
+
{%include default-list.html header='Measure Type' content=include.measure.type %}
|
|
11
|
+
{%include default.html header='Risk Adjustment' content=include.measure.riskAdjustment %}
|
|
12
|
+
{%include default.html header='Rate Aggregation' content=include.measure.rateAggregation %}
|
|
13
|
+
{%include default.html header='Rationale' content=include.measure.rationale %}
|
|
14
|
+
{%include default.html header='Clinical Recommendation Statement' content=include.measure.clinicalRecommendationStatement %}
|
|
15
|
+
{%include default.html header='Improvement Notation' content=include.measure.improvementNotation %}
|
|
16
|
+
{%include default.html header='Definition' content=include.measure.definition %}
|
|
17
|
+
{%include default.html header='Guidance' content=include.measure.guidance %}
|
|
18
|
+
{%include measure-metadata-extensions.html measure=include.measure %}
|
|
19
|
+
{% endif %}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{% for populationBasis in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis') %}
|
|
2
|
+
{%include default.html header='Population Basis' content=populationBasis.value %}
|
|
3
|
+
{% endfor %}
|
|
4
|
+
{% for scoring in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring') %}
|
|
5
|
+
{%include default.html header='Scoring' content=scoring.value %}
|
|
6
|
+
{% endfor %}
|
|
7
|
+
{% for scoringUnit in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %}
|
|
8
|
+
{%include default.html header='Scoring Unit' content=scoringUnit.value %}
|
|
9
|
+
{% endfor %}
|
|
10
|
+
{% for scoringPrecision in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringPrecision') %}
|
|
11
|
+
{%include default.html header='Scoring Precision' content=scoringPrecision.value %}
|
|
12
|
+
{% endfor %}
|
|
13
|
+
{% for compositeScoring in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-compositeScoring') %}
|
|
14
|
+
{%include default.html header='Composite Scoring' content=compositeScoring.value %}
|
|
15
|
+
{% endfor %}
|
|
16
|
+
{% if include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component').exists() %}
|
|
17
|
+
{%include related-artifact.html relatedArtifact=include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component').value %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
{% if include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').exists() %}
|
|
20
|
+
{%include default-list.html header='Type' content=include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').value %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
{% for riskAdjustment in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment') %}
|
|
23
|
+
{%include default.html header='Risk Adjustment' content=riskAdjustment.value %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
{% for rateAggregation in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation') %}
|
|
26
|
+
{%include default.html header='Rate Aggregation' content=rateAggregation.value %}
|
|
27
|
+
{% endfor %}
|
|
28
|
+
{% for improvementNotation in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation') %}
|
|
29
|
+
{%include default.html header='Improvement Notation' content=improvementNotation.value %}
|
|
30
|
+
{% endfor %}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{% for population in include.group.population %}
|
|
2
|
+
{% if population.code.exists() and population.code.coding.exists() %}
|
|
3
|
+
<tr>
|
|
4
|
+
{% if population.code.coding.first().display.exists() %}
|
|
5
|
+
{%include row-header.html header=population.code.coding.first().display %}
|
|
6
|
+
{% else %}
|
|
7
|
+
{% if population.code.coding.where(code = 'initial-population') or population.code.coding.where(code = 'numerator') or population.code.coding.where(code = 'numerator-exclusion') or population.code.coding.where(code = 'denominator') or population.code.coding.where(code = 'denominator-exclusion') or population.code.coding.where(code = 'denominator-exception') or population.code.coding.where(code = 'measure-population') or population.code.coding.where(code = 'measure-population-exclusion') or population.code.coding.where(code = 'measure-observation') %}
|
|
8
|
+
{% if population.code.coding.where(code = 'initial-population') %}
|
|
9
|
+
{%include row-header.html header='Initial Population' %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
{% if population.code.coding.where(code = 'numerator') %}
|
|
12
|
+
{%include row-header.html header='Numerator' %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% if population.code.coding.where(code = 'numerator-exclusion') %}
|
|
15
|
+
{%include row-header.html header='Numerator Exclusion' %}
|
|
16
|
+
{% endif %}
|
|
17
|
+
{% if population.code.coding.where(code = 'denominator') %}
|
|
18
|
+
{%include row-header.html header='Denominator' %}
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if population.code.coding.where(code = 'denominator-exclusion') %}
|
|
21
|
+
{%include row-header.html header='Denominator Exclusion' %}
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% if population.code.coding.where(code = 'denominator-exception') %}
|
|
24
|
+
{%include row-header.html header='Denominator Exception' %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
{% if population.code.coding.where(code = 'measure-population') %}
|
|
27
|
+
{%include row-header.html header='Measure Population' %}
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if population.code.coding.where(code = 'measure-population-exclusion') %}
|
|
30
|
+
{%include row-header.html header='Measure Population Exclusion' %}
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if population.code.coding.where(code = 'measure-observation') %}
|
|
33
|
+
{%include row-header.html header='Measure Observation' %}
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% else %}
|
|
36
|
+
{%include row-header.html header='Unknown Population Type' %}
|
|
37
|
+
{% endif %}
|
|
38
|
+
{% endif %}
|
|
39
|
+
<td class="content-container">
|
|
40
|
+
{% if population.id.exists() %}
|
|
41
|
+
<em>ID</em>: {{population.id}}
|
|
42
|
+
<br />
|
|
43
|
+
{% endif %}
|
|
44
|
+
{% if population.description.exists() %}
|
|
45
|
+
<em>Description</em>:
|
|
46
|
+
<p class="tab-one" style="white-space: pre-line">{{population.description}}</p>
|
|
47
|
+
{% else %}
|
|
48
|
+
<em>Description</em>: No description provided
|
|
49
|
+
{% endif %}
|
|
50
|
+
{% if population.criteria.exists() %}
|
|
51
|
+
{% if population.criteria.language.startsWith('text/cql') and population.criteria.expression.exists() and include.library.exists() %}
|
|
52
|
+
{% assign logicDefAnchor = '#' + include.library.first().replaceMatches('.*/Library/', '').lower().replace(' ', '-') + '-' + population.criteria.expression.lower().replace(' ', '-') %}
|
|
53
|
+
<em>Logic Definition</em>: <a href="{{logicDefAnchor}}">{{population.criteria.expression}}</a>
|
|
54
|
+
{% endif %}
|
|
55
|
+
{% endif %}
|
|
56
|
+
</td>
|
|
57
|
+
</tr>
|
|
58
|
+
{% endif %}
|
|
59
|
+
{% endfor %}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{% for stratifier in include.group.stratifier %}
|
|
2
|
+
<tr>
|
|
3
|
+
{%include row-header.html header='Stratifier' %}
|
|
4
|
+
<td class="content-container">
|
|
5
|
+
{% if stratifier.id.exists() %}
|
|
6
|
+
<em>ID</em>: {{stratifier.id}}
|
|
7
|
+
{% if stratifier.code.exists() or stratifier.description.exists() %}
|
|
8
|
+
<br />
|
|
9
|
+
{% endif %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
{% if stratifier.code.exists() %}
|
|
12
|
+
{% if stratifier.code.coding.first().display.exists() %}
|
|
13
|
+
<em>Code</em>: {{stratifier.code.coding.first().display}}
|
|
14
|
+
{% else %}
|
|
15
|
+
<em>Code</em>: {{stratifier.code}}
|
|
16
|
+
{% endif %}
|
|
17
|
+
{% if stratifier.description.exists() %}
|
|
18
|
+
<br />
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% if stratifier.description.exists() %}
|
|
22
|
+
<em>Description</em>: {{stratifier.description}}
|
|
23
|
+
{% endif %}
|
|
24
|
+
</td>
|
|
25
|
+
</tr>
|
|
26
|
+
{% endfor %}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{% for group in include.measure.group %}
|
|
2
|
+
{% if group.id.exists() %}
|
|
3
|
+
{%assign groupid = 'Measure Population Criteria' + ' (ID: ' + group.id + ')' %}
|
|
4
|
+
{%include section-header.html header=groupid %}
|
|
5
|
+
{% else %}
|
|
6
|
+
{%include section-header.html header='Measure Population Criteria' %}
|
|
7
|
+
{% endif %}
|
|
8
|
+
{% if group.description.exists() %}
|
|
9
|
+
{%include default.html header='Summary' content=group.description %}
|
|
10
|
+
{% endif %}
|
|
11
|
+
{%include measure-population-criteria-population.html group=group library=include.measure.library %}
|
|
12
|
+
{%include measure-population-criteria-stratifier.html group=group %}
|
|
13
|
+
{%include measure-population-criteria-extensions.html group=group %}
|
|
14
|
+
{% endfor %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{% if include.measure.supplementalData.exists() %}
|
|
2
|
+
{%include section-header.html header='Supplemental Data Elements' %}
|
|
3
|
+
{% endif %}
|
|
4
|
+
{% for sde in include.measure.supplementalData %}
|
|
5
|
+
<tr>
|
|
6
|
+
{%include row-header.html header='Supplemental Data Element' %}
|
|
7
|
+
<td class="content-container">
|
|
8
|
+
{% if sde.id.exists() %}
|
|
9
|
+
<em>ID</em>: {{sde.id}}
|
|
10
|
+
{% if sde.usage.exists() or sde.description.exists() %}
|
|
11
|
+
<br />
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% endif %}
|
|
14
|
+
{% if sde.usage.exists() %}
|
|
15
|
+
{% for usage in sde.usage %}
|
|
16
|
+
{% if usage.coding.first().display.exists() %}
|
|
17
|
+
<em>Usage Code</em>: {{usage.coding.first().display}}
|
|
18
|
+
{% else %}
|
|
19
|
+
<em>Usage Code</em>: {{usage}}
|
|
20
|
+
{% endif %}
|
|
21
|
+
<br />
|
|
22
|
+
{% endfor %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% if sde.description.exists() %}
|
|
25
|
+
<em>Description</em>: {{sde.description}}
|
|
26
|
+
{% else %}
|
|
27
|
+
<em>Description</em>: No description provided
|
|
28
|
+
{% endif %}
|
|
29
|
+
{% if sde.criteria.exists() %}
|
|
30
|
+
{% if sde.criteria.language.startsWith('text/cql') and sde.criteria.expression.exists() and include.measure.library.exists() %}
|
|
31
|
+
<br />
|
|
32
|
+
{% assign logicDefAnchor = '#' + include.measure.library.first().replaceMatches('.*/Library/', '').lower().replace(' ', '-') + '-' + sde.criteria.expression.lower().replace(' ', '-') %}
|
|
33
|
+
<em>Logic Definition</em>: <a href="{{logicDefAnchor}}">{{sde.criteria.expression}}</a>
|
|
34
|
+
{% endif %}
|
|
35
|
+
{% endif %}
|
|
36
|
+
</td>
|
|
37
|
+
</tr>
|
|
38
|
+
{% endfor %}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<tr>
|
|
2
|
+
{%include row-header.html header=include.header %}
|
|
3
|
+
<td class="content-container">
|
|
4
|
+
<em>Name</em>: {{include.parameter.name}}
|
|
5
|
+
<br />
|
|
6
|
+
<em>Use</em>: {{include.parameter.use}}
|
|
7
|
+
<br />
|
|
8
|
+
<em>Min Cardinality</em>: {{include.parameter.min}}
|
|
9
|
+
<br />
|
|
10
|
+
<em>Max Cardinality</em>: {{include.parameter.max}}
|
|
11
|
+
<br />
|
|
12
|
+
<em>Type</em>: {{include.parameter.type}}
|
|
13
|
+
</td>
|
|
14
|
+
</tr>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{% if include.relatedArtifact.exists() %}
|
|
2
|
+
{% for relatedArtifact in include.relatedArtifact %}
|
|
3
|
+
<tr>
|
|
4
|
+
{% if relatedArtifact.where(type = 'documentation').exists() %}
|
|
5
|
+
{%include row-header.html header='Documentation' %}
|
|
6
|
+
{% endif %}
|
|
7
|
+
{% if relatedArtifact.where(type = 'justification').exists() %}
|
|
8
|
+
{%include row-header.html header='Justification' %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
{% if relatedArtifact.where(type = 'citation').exists() %}
|
|
11
|
+
{%include row-header.html header='Citation' %}
|
|
12
|
+
{% endif %}
|
|
13
|
+
{% if relatedArtifact.where(type = 'depends-on').exists() %}
|
|
14
|
+
{%include row-header.html header='Dependency' %}
|
|
15
|
+
{% endif %}
|
|
16
|
+
<td class="content-container">
|
|
17
|
+
{% if relatedArtifact.display.exists() %}
|
|
18
|
+
<em>Description</em>: {{relatedArtifact.display}}
|
|
19
|
+
{% if relatedArtifact.citation.exists() or relatedArtifact.url.exists() or relatedArtifact.document.exists() or
|
|
20
|
+
relatedArtifact.resource.exists() %}
|
|
21
|
+
<br />
|
|
22
|
+
{% endif %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% if relatedArtifact.citation.exists() %}
|
|
25
|
+
<em>Citation</em>: {{relatedArtifact.citation}}
|
|
26
|
+
{% endif %}
|
|
27
|
+
{% if relatedArtifact.url.exists() %}
|
|
28
|
+
<em>Content URL</em>: {{relatedArtifact.url}}
|
|
29
|
+
{% if relatedArtifact.document.exists() or relatedArtifact.resource.exists() %}
|
|
30
|
+
<br />
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% endif %}
|
|
33
|
+
{% if relatedArtifact.document.exists() %}
|
|
34
|
+
<em>Document</em>: {{relatedArtifact.document}}
|
|
35
|
+
{% if relatedArtifact.citation.resource.exists() %}
|
|
36
|
+
<br />
|
|
37
|
+
{% endif %}
|
|
38
|
+
{% endif %}
|
|
39
|
+
{% if relatedArtifact.resource.exists() %}
|
|
40
|
+
<em>Resource</em>: {{relatedArtifact.resource}}
|
|
41
|
+
<br />
|
|
42
|
+
<em>Canonical URL</em>: <tt>{{relatedArtifact.resource.toString()}}</tt>
|
|
43
|
+
{% endif %}
|
|
44
|
+
</td>
|
|
45
|
+
</tr>
|
|
46
|
+
{% endfor %}
|
|
47
|
+
{% endif %}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<td class="content-container">{{include.content}}</td>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
</tr>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<tr>
|
|
File without changes
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name" : "fhir2.base.template",
|
|
3
|
+
"type" : "fhir.template",
|
|
4
|
+
"license" : "CC0-1.0",
|
|
5
|
+
"description" : "FHIR IG Translated Base Template - foundational for use by anyone",
|
|
6
|
+
"author" : "http://hl7.org/fhir",
|
|
7
|
+
"canonical" : "http://fhir.org/templates/fhir2.base.template",
|
|
8
|
+
"version" : "0.1.0",
|
|
9
|
+
"date" : "20251001140229"
|
|
10
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"package-id" : "fhir2.base.template",
|
|
3
|
+
"title" : "Base language-aware template for FHIR IGs",
|
|
4
|
+
"canonical" : "http://fhir.org/templates/fhir2.base.template",
|
|
5
|
+
"introduction" : "This is the basic language-aware template",
|
|
6
|
+
"list" : [
|
|
7
|
+
{
|
|
8
|
+
"version" : "current",
|
|
9
|
+
"desc" : "Continuous Integration Build (latest in version control)",
|
|
10
|
+
"path" : "https://build.fhir.org/ig/HL7/ig-template-base2",
|
|
11
|
+
"status" : "ci-build",
|
|
12
|
+
"current" : true
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"version" : "0.1.0",
|
|
16
|
+
"desc" : "Initial version for IG use",
|
|
17
|
+
"path" : "http://fhir.org/templates/fhir2.base.template/0.1.0",
|
|
18
|
+
"status" : "release",
|
|
19
|
+
"sequence" : "Publications",
|
|
20
|
+
"current" : true,
|
|
21
|
+
"date" : "2025-07-06"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"version" : "0.0.1",
|
|
25
|
+
"desc" : "First release",
|
|
26
|
+
"path" : "http://fhir.org/templates/hl7.au.base.template/0.1.0",
|
|
27
|
+
"status" : "release",
|
|
28
|
+
"sequence" : "Publications",
|
|
29
|
+
"date" : "2020-07-03"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name" : "fhir2.base.template",
|
|
3
|
+
"type" : "fhir.template",
|
|
4
|
+
"license" : "CC0-1.0",
|
|
5
|
+
"description" : "FHIR IG Translated Base Template - foundational for use by anyone",
|
|
6
|
+
"author" : "http://hl7.org/fhir",
|
|
7
|
+
"canonical" : "http://fhir.org/templates/fhir2.base.template",
|
|
8
|
+
"version" : "0.1.0",
|
|
9
|
+
"date" : "20251001140229"
|
|
10
|
+
}
|
|
Binary file
|
package/scripts/ant.xml
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project name="ProcessIg">
|
|
3
|
+
<property name="folder.input" value="input"/>
|
|
4
|
+
<target name="onLoad.findSpreadsheets">
|
|
5
|
+
<!-- Look in all input folders that might contain spreadsheets and capture the list of spreadsheet XML files as a property -->
|
|
6
|
+
<fileset id="spreadsheet.contents.id" dir="${ig.root}">
|
|
7
|
+
<include name="${folder.input}/examples/*spreadsheet.xml"/>
|
|
8
|
+
<include name="${folder.input}/extensions/*spreadsheet.xml"/>
|
|
9
|
+
<include name="${folder.input}/models/*spreadsheet.xml"/>
|
|
10
|
+
<include name="${folder.input}/profiles/*spreadsheet.xml"/>
|
|
11
|
+
<include name="${folder.input}/resources/*spreadsheet.xml"/>
|
|
12
|
+
<include name="${folder.input}/structures/*spreadsheet.xml"/>
|
|
13
|
+
<include name="${folder.input}/vocabulary/*spreadsheet.xml"/>
|
|
14
|
+
</fileset>
|
|
15
|
+
<property name="prop.spreadsheet.contents" refid="spreadsheet.contents.id"/>
|
|
16
|
+
</target>
|
|
17
|
+
<target name="onLoad.updateIg" depends="onLoad.findSpreadsheets">
|
|
18
|
+
<!-- Supplement the IG file with various standard configuration files, as well as with a list of any found spreadsheets (if they're not already enumerated) -->
|
|
19
|
+
<xslt in="${onLoad.ig.source}xml" out="${onLoad.ig.dest}xml" style="${ig.scripts}/onLoad.xslt">
|
|
20
|
+
<param name="spreadsheetList" expression="${prop.spreadsheet.contents}"/>
|
|
21
|
+
</xslt>
|
|
22
|
+
</target>
|
|
23
|
+
<extension-point name="onLoad.extend" depends="onLoad.updateIg"/>
|
|
24
|
+
<target name="onLoad" depends="onLoad.extend">
|
|
25
|
+
<concat destfile="${ig.template}/onLoad-validation.json" encoding="UTF-8" outputencoding="UTF-8">
|
|
26
|
+
<header>{"resourceType":"OperationOutcome","issue":[

|
|
27
|
+
</header>
|
|
28
|
+
<footer>]}

|
|
29
|
+
</footer>
|
|
30
|
+
<filterchain>
|
|
31
|
+
<tailfilter lines="-1" skip="1"/>
|
|
32
|
+
</filterchain>
|
|
33
|
+
<fileset dir="${ig.template}" includes="onLoad-validation*.json"/>
|
|
34
|
+
</concat>
|
|
35
|
+
</target>
|
|
36
|
+
<macrodef name="getSchemas">
|
|
37
|
+
<attribute name="version"/>
|
|
38
|
+
<attribute name="url"/>
|
|
39
|
+
<sequential>
|
|
40
|
+
<mkdir dir="${dir.schemas}/@{version}"/>
|
|
41
|
+
<get src="@{url}fhir-single.xsd" dest="${dir.schemas}/@{version}" usetimestamp="true" ignoreerrors="true"/>
|
|
42
|
+
<get src="@{url}fhir-xhtml.xsd" dest="${dir.schemas}/@{version}" usetimestamp="true" ignoreerrors="true"/>
|
|
43
|
+
<get src="@{url}xml.xsd" dest="${dir.schemas}/@{version}" usetimestamp="true" ignoreerrors="true"/>
|
|
44
|
+
<get src="@{url}xmldsig-core-schema.xsd" dest="${dir.schemas}/@{version}" usetimestamp="true" ignoreerrors="true"/>
|
|
45
|
+
</sequential>
|
|
46
|
+
</macrodef>
|
|
47
|
+
<target name="onGenerate.checkVersions">
|
|
48
|
+
<xslt in="${onGenerate.ig.source}xml" out="${ig.template}/versions.txt" style="${ig.scripts}/onGenerate.getVersions.xslt"/>
|
|
49
|
+
<loadproperties srcfile="${ig.template}/versions.txt"/>
|
|
50
|
+
<condition property="dir.schemas" value="${ig.root}/../schemas" else="${ig.root}/input-cache/schemas">
|
|
51
|
+
<available file="${ig.root}/../schemas" type="dir"/>
|
|
52
|
+
</condition>
|
|
53
|
+
<mkdir dir="${dir.schemas}"/>
|
|
54
|
+
</target>
|
|
55
|
+
<target name="onGenerate.data">
|
|
56
|
+
<xslt in="${onGenerate.ig.source}xml" out="${ig.temp}/_data/artifacts.json" style="${ig.scripts}/onGenerate.data.xslt"/>
|
|
57
|
+
</target>
|
|
58
|
+
<target name="onGenerate.r5-schemas" depends="onGenerate.checkVersions" if="R5">
|
|
59
|
+
<getSchemas version="R5" url="http://build.fhir.org/"/>
|
|
60
|
+
</target>
|
|
61
|
+
<target name="onGenerate.r4-schemas" depends="onGenerate.checkVersions" if="R4">
|
|
62
|
+
<getSchemas version="R4" url="http://hl7.org/fhir/R4/"/>
|
|
63
|
+
</target>
|
|
64
|
+
<target name="onGenerate.r3-schemas" depends="onGenerate.checkVersions" if="R3">
|
|
65
|
+
<getSchemas version="R3" url="http://hl7.org/fhir/STU3/"/>
|
|
66
|
+
</target>
|
|
67
|
+
<target name="onGenerate.r2b-schemas" depends="onGenerate.checkVersions" if="R2B">
|
|
68
|
+
<getSchemas version="R2B" url="http://hl7.org/fhir/2016May/"/>
|
|
69
|
+
</target>
|
|
70
|
+
<target name="onGenerate.r2-schemas" depends="onGenerate.checkVersions" if="R2">
|
|
71
|
+
<getSchemas version="R2" url="http://hl7.org/fhir/DSTU2/"/>
|
|
72
|
+
</target>
|
|
73
|
+
<target name="onGenerate.schemas" depends="onGenerate.r5-schemas,onGenerate.r4-schemas,onGenerate.r3-schemas,onGenerate.r2b-schemas,onGenerate.r2-schemas"/>
|
|
74
|
+
<target name="onGenerate.setup">
|
|
75
|
+
<property name="dir.input" value="${ig.root}/${folder.input}"/>
|
|
76
|
+
<property name="dir.temp.includes" value="${ig.temp}/_includes" relative="yes"/>
|
|
77
|
+
<property name="dir.template.includes" value="${ig.template}/includes" relative="yes"/>
|
|
78
|
+
<property name="dir.template.translations" value="${ig.template}/translations" relative="yes"/>
|
|
79
|
+
<loadfile property="groupings" srcFile="${ig.scripts}/groupings.txt" encoding="UTF-8"/>
|
|
80
|
+
<loadfile property="translations" srcFile="${dir.template.translations}/stringsBase.xml" encoding="UTF-8">
|
|
81
|
+
<filterchain>
|
|
82
|
+
<headfilter lines="-1" skip="1"/>
|
|
83
|
+
</filterchain>
|
|
84
|
+
</loadfile>
|
|
85
|
+
</target>
|
|
86
|
+
<target name="check-plantumlfiles">
|
|
87
|
+
<condition property="ig.plantumlfiles.exist">
|
|
88
|
+
<and>
|
|
89
|
+
<available type="dir" file="${basedir}/${folder.input}/images-source"/>
|
|
90
|
+
<resourcecount when="greater" count="0">
|
|
91
|
+
<fileset file="${basedir}/${folder.input}/images-source/**.plantuml"/>
|
|
92
|
+
</resourcecount>
|
|
93
|
+
</and>
|
|
94
|
+
</condition>
|
|
95
|
+
<condition property="template.plantumlfiles.exist">
|
|
96
|
+
<and>
|
|
97
|
+
<available type="dir" file="${ig.template}/images-source"/>
|
|
98
|
+
<resourcecount when="greater" count="0">
|
|
99
|
+
<fileset file="${ig.template}/images-source/**.plantuml"/>
|
|
100
|
+
</resourcecount>
|
|
101
|
+
</and>
|
|
102
|
+
</condition>
|
|
103
|
+
</target>
|
|
104
|
+
<target name="onGenerate.plantUml.ig" depends="check-plantumlfiles" if="ig.plantumlfiles.exist">
|
|
105
|
+
<java jar="${ig.scripts}/plantuml.jar" fork="true" failonerror="true">
|
|
106
|
+
<jvmarg line="-Dfile.encoding=UTF-8"/>
|
|
107
|
+
<arg line="-nometadata -failfast2 -tsvg -o "${basedir}/${dir.temp.includes}" "${basedir}/${folder.input}/images-source/**.plantuml""/>
|
|
108
|
+
</java>
|
|
109
|
+
</target>
|
|
110
|
+
<target name="onGenerate.plantUml.template" depends="check-plantumlfiles" if="template.plantumlfiles.exist">
|
|
111
|
+
<java jar="${ig.scripts}/plantuml.jar" fork="true" failonerror="true">
|
|
112
|
+
<jvmarg line="-Dfile.encoding=UTF-8"/>
|
|
113
|
+
<arg line="-nometadata -failfast2 -tsvg -o "${basedir}/${dir.temp.includes}" "${ig.template}/images-source/**.plantuml""/>
|
|
114
|
+
</java>
|
|
115
|
+
</target>
|
|
116
|
+
<target name="onGenerate.plantUml" depends="onGenerate.plantUml.ig,onGenerate.plantUml.template"/>
|
|
117
|
+
<target name="onGenerate.infoFile" depends="onGenerate.setup">
|
|
118
|
+
<xslt in="${onGenerate.ig.source}xml" out="${ig.temp}/_data/info.json" style="${ig.scripts}/onGenerate.genJson.xslt"/>
|
|
119
|
+
</target>
|
|
120
|
+
<target name="onGenerate.processIg">
|
|
121
|
+
<xslt in="${onGenerate.ig.source}xml" out="${onGenerate.ig.source}1.xml" style="${ig.scripts}/onGenerate.group.xslt"/>
|
|
122
|
+
<replace file="${onGenerate.ig.source}1.xml" token="<!--TEMPLATE_GROUPS_HERE-->" value="${groupings}"/>
|
|
123
|
+
<replace file="${onGenerate.ig.source}1.xml" token="<!--TRANSLATIONS_HERE-->" value="${translations}"/>
|
|
124
|
+
<xslt in="${onGenerate.ig.source}1.xml" out="${onGenerate.ig.source}2.xml" style="${ig.scripts}/onGenerate.groupSort.xslt"/>
|
|
125
|
+
<xslt in="${onGenerate.ig.source}2.xml" out="${onGenerate.ig.dest}xml" style="${ig.scripts}/onGenerate.final.xslt"/>
|
|
126
|
+
</target>
|
|
127
|
+
<!-- <target name="onGenerate.processIncludes" depends="onGenerate.processIncludes.simple, onGenerate.processIncludes.langs">-->
|
|
128
|
+
<target name="onGenerate.processIncludes">
|
|
129
|
+
<copy todir="${dir.temp.includes}">
|
|
130
|
+
<fileset dir="${dir.template.includes}" includes="*"/>
|
|
131
|
+
</copy>
|
|
132
|
+
</target>
|
|
133
|
+
<!-- <target name="onGenerate.processIncludes.simple" unless="langs">
|
|
134
|
+
<copy todir="${dir.temp.includes}">
|
|
135
|
+
<fileset dir="${dir.template.includes}" includes="*"/>
|
|
136
|
+
</copy>
|
|
137
|
+
</target>
|
|
138
|
+
<target name="onGenerate.processIncludes.langs" if="langs">
|
|
139
|
+
<copy todir="${dir.temp.includes}">
|
|
140
|
+
<fileset dir="${dir.template.includes}" includes="*"/>
|
|
141
|
+
</copy>
|
|
142
|
+
<script language="javascript">
|
|
143
|
+
<![CDATA[
|
|
144
|
+
langstring = project.getProperty( "langs" );
|
|
145
|
+
langs = langstring.split(";");
|
|
146
|
+
for (i=0;i<langs.length;i++) {
|
|
147
|
+
if (langs[i]!="") {
|
|
148
|
+
self.project.setProperty("lang", langs[i]);
|
|
149
|
+
self.project.executeTarget("onGenerate.processIncludes.lang");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
]]>
|
|
153
|
+
</script>
|
|
154
|
+
</target>
|
|
155
|
+
<target name="onGenerate.processIncludes.lang">
|
|
156
|
+
<copy todir="${dir.temp.includes}/${lang}">
|
|
157
|
+
<fileset dir="${dir.template.includes}" includes="*"/>
|
|
158
|
+
</copy>
|
|
159
|
+
</target>-->
|
|
160
|
+
<target name="onGenerate.igQa" depends="onGenerate.processIg">
|
|
161
|
+
<xslt in="${onGenerate.ig.dest}xml" out="${ig.template}/ongenerate-validation-igqa.json" style="${ig.scripts}/onGenerate.qa.xslt"/>
|
|
162
|
+
</target>
|
|
163
|
+
<target name="onGenerate.artifactList" depends="onGenerate.checkVersions,onGenerate.igQa,onGenerate.setup">
|
|
164
|
+
<xslt in="${onGenerate.ig.dest}xml" out="${dir.temp.includes}/artifacts.xml" style="${ig.scripts}/createArtifactSummary.xslt">
|
|
165
|
+
<param name="globals" expression="${globals}"/>
|
|
166
|
+
</xslt>
|
|
167
|
+
<fileset id="onGenerate.artifacts.id" dir="${ig.root}">
|
|
168
|
+
<include name="${dir.temp.includes}/artifacts.xml"/>
|
|
169
|
+
<include name="${dir.temp.includes}/*.svg"/>
|
|
170
|
+
</fileset>
|
|
171
|
+
<property name="onGenerate.artifacts.files" refid="onGenerate.artifacts.id"/>
|
|
172
|
+
<property name="onGenerate.files" value="${onGenerate.artifacts.files}"/>
|
|
173
|
+
</target>
|
|
174
|
+
<extension-point name="onGenerate.extend" depends="onGenerate.schemas,onGenerate.data,onGenerate.infoFile,onGenerate.processIncludes,onGenerate.artifactList,onGenerate.plantUml, onGenerate.copyDataFiles"/>
|
|
175
|
+
<target name="onGenerate" depends="onGenerate.extend">
|
|
176
|
+
<!-- <resources id="onGenerate.files.id">
|
|
177
|
+
<fileset refid="onGenerate.artifacts.id"/>
|
|
178
|
+
</resources>
|
|
179
|
+
<property name="onGenerate.files" refid="onGenerate.files.id"/>-->
|
|
180
|
+
<echo file="${ig.template}/onGenerate-validation.json" message="{"resourceType":"OperationOutcome","issue":[
"/>
|
|
181
|
+
<concat destfile="${ig.template}/onGenerate-validation.json" encoding="UTF-8" outputencoding="UTF-8" append="yes">
|
|
182
|
+
<fileset dir="${ig.template}" includes="ongenerate-validation*.json" />
|
|
183
|
+
<filterchain>
|
|
184
|
+
<tailfilter lines="-1" skip="0"/>
|
|
185
|
+
<!-- <tailfilter lines="-1" skip="1"/>-->
|
|
186
|
+
</filterchain>
|
|
187
|
+
</concat>
|
|
188
|
+
<echo file="${ig.template}/onGenerate-validation.json" message="]}
" append="yes"/>
|
|
189
|
+
<replace file="${ig.template}/onGenerate-validation.json" token=",]}" value="]}"/>
|
|
190
|
+
</target>
|
|
191
|
+
<scriptdef name="appendArtifacts" language="javascript" description="Adds additional values to the to the onGenerate.files list">
|
|
192
|
+
<attribute name="files"/>
|
|
193
|
+
self.project.setProperty("onGenerate.files", self.project.getProperty("onGenerate.files").concat(";").concat(attributes.get("files")));
|
|
194
|
+
</scriptdef>
|
|
195
|
+
|
|
196
|
+
<target name="onGenerate.copyDataFiles">
|
|
197
|
+
<!-- Jekyll data files from IG (input/data) or from template -->
|
|
198
|
+
<copy todir="${ig.temp}/_data" failonerror="false">
|
|
199
|
+
<fileset dir="${ig.template}/data"/>
|
|
200
|
+
</copy>
|
|
201
|
+
<copy todir="${ig.temp}/_data" failonerror="false">
|
|
202
|
+
<!-- TODO: Replace this copy with something that will default missing translations to English -->
|
|
203
|
+
<fileset dir="${ig.template}/translations" includes="*.json"/>
|
|
204
|
+
</copy>
|
|
205
|
+
<!-- input/data already works, no need to add (commenting out in case we need to revisit due to conflicts and overlaps ) -->
|
|
206
|
+
<!--
|
|
207
|
+
<copy todir="${ig.temp}/_data" failonerror="false">
|
|
208
|
+
<fileset dir="${dir.input}/data"/>
|
|
209
|
+
</copy>
|
|
210
|
+
-->
|
|
211
|
+
</target>
|
|
212
|
+
|
|
213
|
+
<extension-point name="onCheck.extend"/>
|
|
214
|
+
<target name="onCheck" depends="onCheck.extend">
|
|
215
|
+
<echo file="${ig.template}/onCheck-validation.json" message="{"resourceType":"OperationOutcome","issue":[
"/>
|
|
216
|
+
<concat destfile="${ig.template}/onCheck-validation.json" encoding="UTF-8" outputencoding="UTF-8" append="yes">
|
|
217
|
+
<fileset dir="${ig.template}" includes="oncheck-validation*.json"/>
|
|
218
|
+
<fileset dir="${ig.template}" includes="**/*.oncheck-validation.json"/>
|
|
219
|
+
<filterchain>
|
|
220
|
+
<tailfilter lines="-1" skip="0"/>
|
|
221
|
+
</filterchain>
|
|
222
|
+
</concat>
|
|
223
|
+
<echo file="${ig.template}/onCheck-validation.json" message="]}
" append="yes"/>
|
|
224
|
+
<replace file="${ig.template}/onCheck-validation.json" token=",]}" value="]}"/>
|
|
225
|
+
</target>
|
|
226
|
+
<scriptdef name="appendArtifacts" language="javascript" description="Adds additional values to the to the onGenerate.files list">
|
|
227
|
+
<attribute name="files"/>
|
|
228
|
+
self.project.setProperty("onGenerate.files", self.project.getProperty("onGenerate.files").concat(";").concat(attributes.get("files")));
|
|
229
|
+
</scriptdef>
|
|
230
|
+
|
|
231
|
+
</project>
|