Skip to content

Commit b570fb1

Browse files
committed
headers file not working
1 parent 7b13a69 commit b570fb1

File tree

5 files changed

+98
-7
lines changed

5 files changed

+98
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div>
2+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/assets/lib/zone.min.js"></script>
3+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/scripts.js"></script>
4+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/runtime-es5.js"></script>
5+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/polyfills-es5.js"></script>
6+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/main-es5.js"></script>
7+
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/30.0.0/fhir/R4/lformsFHIR.min.js"></script>
8+
</div>
9+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<head>
3+
<link rel="shortcut icon" type="image/x-icon" href="/lforms-examples/img/nachc-favico.png">
4+
<link href="/lforms-examples/lib/lforms-30.0.0/webcomponent/styles.css" media="screen" rel="stylesheet" />
5+
</head>
6+
</html>

WebContent/pages/questionnaire/test/basic/BasicQuestionnaire-working.html

+11-7
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@
77
</head>
88

99
<body>
10+
<div id="lformScripts">
11+
<div>
12+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/assets/lib/zone.min.js"></script>
13+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/scripts.js"></script>
14+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/runtime-es5.js"></script>
15+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/polyfills-es5.js"></script>
16+
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/main-es5.js"></script>
17+
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/30.0.0/fhir/R4/lformsFHIR.min.js"></script>
18+
</div>
19+
</div>
20+
1021
<h1>Basic Questionnaire Example</h1>
1122

12-
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/assets/lib/zone.min.js"></script>
13-
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/scripts.js"></script>
14-
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/runtime-es5.js"></script>
15-
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/polyfills-es5.js"></script>
16-
<script src="/lforms-examples/lib/lforms-30.0.0/webcomponent/main-es5.js"></script>
17-
<script src="https://clinicaltables.nlm.nih.gov/lforms-versions/30.0.0/fhir/R4/lformsFHIR.min.js"></script>
18-
1923
<div id="formContainer"></div>
2024

2125
<script>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<html>
2+
3+
<head>
4+
<script src="/lforms-examples/lib/jquery-1.11.3/jquery.min.js"></script>
5+
<script>$.get('/lforms-examples/pages/header-footer/ComponentHeader.html', function(data) {$('head').append(data);});
6+
</script>
7+
</head>
8+
9+
<body>
10+
<div id="lformsScripts"></div>
11+
<script>$("#lformsScripts").load("/lforms-examples/pages/header-footer/ComponentBodyHeader.html");</script>
12+
<h1>Basic Questionnaire Example Using Header</h1>
13+
</body>
14+
15+
</html>
16+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"resourceType": "Questionnaire",
3+
"id": "NACHCA0",
4+
"extension": [ {
5+
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability",
6+
"valueCode": "shareable"
7+
}, {
8+
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability",
9+
"valueCode": "computable"
10+
}, {
11+
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability",
12+
"valueCode": "publishable"
13+
}, {
14+
"url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel",
15+
"valueCode": "structured"
16+
} ],
17+
"url": "http://fhir.org/guides/nachc/hiv-cds/Questionnaire/NACHCA0",
18+
"name": "NACHCA0",
19+
"title": "NACHC.A0 Contact & Profile",
20+
"status": "active",
21+
"experimental": false,
22+
"description": "TODO: description goes here",
23+
"useContext": [ {
24+
"code": {
25+
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
26+
"code": "task",
27+
"display": "Workflow Task"
28+
},
29+
"valueCodeableConcept": {
30+
"coding": [ {
31+
"system": "http://fhir.org/guides/nachc/hiv-cds/CodeSystem/activity-codes",
32+
"code": "NACHC.A0",
33+
"display": "Contact & Profile"
34+
} ]
35+
}
36+
} ],
37+
"item": [ {
38+
"linkId": "1",
39+
"definition": "http://fhir.org/guides/nachc/hiv-cds/StructureDefinition/hiv-encounter#Encounter.type",
40+
"text": "The type of patient encounter",
41+
"type": "choice",
42+
"answerValueSet": "https://nachc-cad.github.io/hiv-cds/resources/hiv-cds/vocabulary/valueset/generated/valueset-nachc-a0-de2.json"
43+
}, {
44+
"linkId": "2",
45+
"definition": "http://fhir.org/guides/nachc/hiv-cds/StructureDefinition/sexual-orientation#Observation.code",
46+
"text": "Concepts Associated with Sexual Orientation Elements",
47+
"type": "choice",
48+
"answerValueSet": "https://nachc-cad.github.io/hiv-cds/resources/hiv-cds/vocabulary/valueset/generated/valueset-nachc-a0-de49.json"
49+
}, {
50+
"linkId": "3",
51+
"definition": "http://fhir.org/guides/nachc/hiv-cds/StructureDefinition/gender-identity#Observation.code",
52+
"text": "Concepts Associated with Gender Identity Elements",
53+
"type": "choice",
54+
"answerValueSet": "https://nachc-cad.github.io/hiv-cds/resources/hiv-cds/vocabulary/valueset/generated/valueset-nachc-a0-de56.json"
55+
} ]
56+
}

0 commit comments

Comments
 (0)