Skip to content

Commit dd183db

Browse files
committed
added some examples
1 parent e5028b7 commit dd183db

14 files changed

+762
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
Thumbs.db
3-
/fsh-generated
43
/input-cache
54
/temp
65
/template

fsh-generated/fsh-index.json

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
[
2+
{
3+
"outputFile": "Patient-PatientExample.json",
4+
"fshName": "PatientExample",
5+
"fshType": "Instance",
6+
"fshFile": "patient.fsh",
7+
"startLine": 9,
8+
"endLine": 14
9+
},
10+
{
11+
"outputFile": "Questionnaire-MinimalPSAExample.json",
12+
"fshName": "MinimalPSAExample",
13+
"fshType": "Instance",
14+
"fshFile": "MinimalBeispielSDCQuestionnaire.fsh",
15+
"startLine": 2,
16+
"endLine": 80
17+
},
18+
{
19+
"outputFile": "QuestionnaireResponse-MinimalPSAExampleResponse.json",
20+
"fshName": "MinimalPSAExampleResponse",
21+
"fshType": "Instance",
22+
"fshFile": "MinimalBeispielSDCQuestionnaireResponse.fsh",
23+
"startLine": 1,
24+
"endLine": 21
25+
},
26+
{
27+
"outputFile": "StructureDefinition-MyPatient.json",
28+
"fshName": "MyPatient",
29+
"fshType": "Profile",
30+
"fshFile": "patient.fsh",
31+
"startLine": 4,
32+
"endLine": 7
33+
}
34+
]

fsh-generated/fsh-index.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Output File Name Type FSH File Lines
2+
Patient-PatientExample.json PatientExample Instance patient.fsh 9 - 14
3+
Questionnaire-MinimalPSAExample.json MinimalPSAExample Instance MinimalBeispielSDCQuestionnaire.fsh 2 - 80
4+
QuestionnaireResponse-MinimalPSAExampleResponse.json MinimalPSAExampleResponse Instance MinimalBeispielSDCQuestionnaireResponse.fsh 1 - 21
5+
StructureDefinition-MyPatient.json MyPatient Profile patient.fsh 4 - 7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[MinimalPSAExample]: Questionnaire-MinimalPSAExample.html
2+
[MinimalPSAExampleResponse]: QuestionnaireResponse-MinimalPSAExampleResponse.html
3+
[MyPatient]: StructureDefinition-MyPatient.html
4+
[PatientExample]: Patient-PatientExample.html

fsh-generated/includes/menu.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- menu.xml {% comment %}
2+
*****************************************************************************************************
3+
* WARNING: DO NOT EDIT THIS FILE *
4+
* *
5+
* This file is generated by SUSHI. Any edits you make to this file will be overwritten. *
6+
* *
7+
* To change the contents of this file, edit the "menu" attribute in the tank sushi-config.yaml file *
8+
* or provide your own menu.xml in the input/includes folder *
9+
*****************************************************************************************************
10+
{% endcomment %} -->
11+
12+
<ul xmlns="http://www.w3.org/1999/xhtml" class="nav navbar-nav">
13+
<li>
14+
<a href="index.html">Home</a>
15+
</li>
16+
<li>
17+
<a href="artifacts.html">Artifacts</a>
18+
</li>
19+
</ul>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"resourceType": "ImplementationGuide",
3+
"id": "fhir.example",
4+
"url": "http://example.org/ImplementationGuide/fhir.example",
5+
"version": "0.1.0",
6+
"name": "CRISP",
7+
"status": "draft",
8+
"publisher": "Example Publisher",
9+
"contact": [
10+
{
11+
"name": "Example Publisher",
12+
"telecom": [
13+
{
14+
"system": "url",
15+
"value": "http://example.org/example-publisher"
16+
}
17+
]
18+
}
19+
],
20+
"packageId": "fhir.example",
21+
"fhirVersion": [
22+
"4.0.1"
23+
],
24+
"definition": {
25+
"resource": [
26+
{
27+
"reference": {
28+
"reference": "Questionnaire/MinimalPSAExample"
29+
},
30+
"name": "Example for definition-based extraction",
31+
"exampleBoolean": false
32+
},
33+
{
34+
"reference": {
35+
"reference": "QuestionnaireResponse/MinimalPSAExampleResponse"
36+
},
37+
"name": "MinimalPSAExampleResponse",
38+
"exampleBoolean": false
39+
},
40+
{
41+
"reference": {
42+
"reference": "StructureDefinition/MyPatient"
43+
},
44+
"name": "MyPatient",
45+
"description": "An example profile of the Patient resource.",
46+
"exampleBoolean": false
47+
},
48+
{
49+
"reference": {
50+
"reference": "Patient/PatientExample"
51+
},
52+
"name": "PatientExample",
53+
"description": "An example of a patient with a license to krill.",
54+
"exampleCanonical": "http://example.org/StructureDefinition/MyPatient"
55+
}
56+
],
57+
"page": {
58+
"nameUrl": "toc.html",
59+
"title": "Table of Contents",
60+
"generation": "html",
61+
"page": [
62+
{
63+
"nameUrl": "index.html",
64+
"title": "Example Home",
65+
"generation": "markdown"
66+
},
67+
{
68+
"nameUrl": "workflow.html",
69+
"title": "Workflow",
70+
"generation": "markdown"
71+
}
72+
]
73+
},
74+
"parameter": [
75+
{
76+
"code": "copyrightyear",
77+
"value": "2024+"
78+
},
79+
{
80+
"code": "releaselabel",
81+
"value": "ci-build"
82+
}
83+
]
84+
}
85+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"resourceType": "Patient",
3+
"id": "PatientExample",
4+
"meta": {
5+
"profile": [
6+
"http://example.org/StructureDefinition/MyPatient"
7+
]
8+
},
9+
"name": [
10+
{
11+
"given": [
12+
"James"
13+
],
14+
"family": "Pond"
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)