sdc-qrf 0.3.17 → 0.3.19
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/dist/components.js +20 -64
- package/dist/components.js.map +1 -1
- package/dist/converter/extensions.js +8 -6
- package/dist/converter/extensions.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaire/index.js +4 -5
- package/dist/converter/fceToFhir/questionnaire/index.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaire/processExtensions.d.ts.map +1 -1
- package/dist/converter/fceToFhir/questionnaire/processExtensions.js +11 -3
- package/dist/converter/fceToFhir/questionnaire/processExtensions.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaire/processItems.js +9 -13
- package/dist/converter/fceToFhir/questionnaire/processItems.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaire/processMeta.js +4 -2
- package/dist/converter/fceToFhir/questionnaire/processMeta.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaireResponse/index.js +2 -4
- package/dist/converter/fceToFhir/questionnaireResponse/index.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaireResponse/processAnswers.js +3 -5
- package/dist/converter/fceToFhir/questionnaireResponse/processAnswers.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaireResponse/processMeta.js +2 -1
- package/dist/converter/fceToFhir/questionnaireResponse/processMeta.js.map +1 -1
- package/dist/converter/fceToFhir/questionnaireResponse/processReference.js +8 -16
- package/dist/converter/fceToFhir/questionnaireResponse/processReference.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaire/index.js +4 -11
- package/dist/converter/fhirToFce/questionnaire/index.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaire/processExtensions.d.ts +1 -0
- package/dist/converter/fhirToFce/questionnaire/processExtensions.d.ts.map +1 -1
- package/dist/converter/fhirToFce/questionnaire/processExtensions.js +45 -28
- package/dist/converter/fhirToFce/questionnaire/processExtensions.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaire/processItems.js +15 -20
- package/dist/converter/fhirToFce/questionnaire/processItems.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaire/processMeta.js +3 -6
- package/dist/converter/fhirToFce/questionnaire/processMeta.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaireResponse/index.js +2 -4
- package/dist/converter/fhirToFce/questionnaireResponse/index.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaireResponse/processAnswers.js +5 -6
- package/dist/converter/fhirToFce/questionnaireResponse/processAnswers.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaireResponse/processMeta.js +4 -3
- package/dist/converter/fhirToFce/questionnaireResponse/processMeta.js.map +1 -1
- package/dist/converter/fhirToFce/questionnaireResponse/processReference.js +5 -4
- package/dist/converter/fhirToFce/questionnaireResponse/processReference.js.map +1 -1
- package/dist/converter/fhirToFce/utils.js +4 -3
- package/dist/converter/fhirToFce/utils.js.map +1 -1
- package/dist/converter/index.js +11 -33
- package/dist/converter/index.js.map +1 -1
- package/dist/converter/utils.js +2 -4
- package/dist/converter/utils.js.map +1 -1
- package/dist/index.js +6 -19
- package/dist/index.js.map +1 -1
- package/dist/utils.js +74 -103
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
- package/src/converter/__tests__/resources/questionnaire_fce/allergies.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/beverages.json +67 -66
- package/src/converter/__tests__/resources/questionnaire_fce/choice_answer_option.json +49 -48
- package/src/converter/__tests__/resources/questionnaire_fce/consent.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/constraint.json +2 -2
- package/src/converter/__tests__/resources/questionnaire_fce/cqf-examples.json +59 -63
- package/src/converter/__tests__/resources/questionnaire_fce/enable_when.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/encounter_create.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/gad_7.json +6 -14
- package/src/converter/__tests__/resources/questionnaire_fce/immunization.json +6 -14
- package/src/converter/__tests__/resources/questionnaire_fce/medication.json +165 -164
- package/src/converter/__tests__/resources/questionnaire_fce/multiple_type_launch_context.json +5 -12
- package/src/converter/__tests__/resources/questionnaire_fce/patient_create.json +78 -77
- package/src/converter/__tests__/resources/questionnaire_fce/patient_edit.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/phq_2_phq_9.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/physicalexam.json +381 -380
- package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create.json +79 -78
- package/src/converter/__tests__/resources/questionnaire_fce/practitioner_create_structure_map.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/practitioner_edit.json +127 -126
- package/src/converter/__tests__/resources/questionnaire_fce/practitioner_role_create.json +35 -34
- package/src/converter/__tests__/resources/questionnaire_fce/public_appointment.json +3 -4
- package/src/converter/__tests__/resources/questionnaire_fce/review_of_systems.json +384 -383
- package/src/converter/__tests__/resources/questionnaire_fce/source_queries.json +31 -30
- package/src/converter/__tests__/resources/questionnaire_fce/unit-option.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fce/vitals.json +1 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/allergies.json +7 -8
- package/src/converter/__tests__/resources/questionnaire_fhir/beverages.json +96 -90
- package/src/converter/__tests__/resources/questionnaire_fhir/choice_answer_option.json +49 -43
- package/src/converter/__tests__/resources/questionnaire_fhir/consent.json +4 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/constraint.json +6 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/cqf-examples.json +87 -86
- package/src/converter/__tests__/resources/questionnaire_fhir/enable_when.json +6 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/encounter_create.json +4 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/gad_7.json +7 -8
- package/src/converter/__tests__/resources/questionnaire_fhir/immunization.json +7 -8
- package/src/converter/__tests__/resources/questionnaire_fhir/medication.json +203 -199
- package/src/converter/__tests__/resources/questionnaire_fhir/multiple_type_launch_context.json +387 -383
- package/src/converter/__tests__/resources/questionnaire_fhir/patient_create.json +92 -88
- package/src/converter/__tests__/resources/questionnaire_fhir/patient_edit.json +6 -4
- package/src/converter/__tests__/resources/questionnaire_fhir/phq_2_phq_9.json +565 -561
- package/src/converter/__tests__/resources/questionnaire_fhir/physicalexam.json +540 -536
- package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create.json +78 -74
- package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_create_structure_map.json +4 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_edit.json +176 -172
- package/src/converter/__tests__/resources/questionnaire_fhir/practitioner_role_create.json +45 -41
- package/src/converter/__tests__/resources/questionnaire_fhir/public_appointment.json +6 -4
- package/src/converter/__tests__/resources/questionnaire_fhir/review_of_systems.json +364 -358
- package/src/converter/__tests__/resources/questionnaire_fhir/source_queries.json +37 -33
- package/src/converter/__tests__/resources/questionnaire_fhir/unit-option.json +6 -0
- package/src/converter/__tests__/resources/questionnaire_fhir/vitals.json +4 -0
- package/src/converter/fceToFhir/questionnaire/processExtensions.ts +8 -1
- package/src/converter/fhirToFce/questionnaire/processExtensions.ts +21 -15
|
@@ -1,189 +1,190 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
"launchContext": [
|
|
10
|
-
{
|
|
11
|
-
"name": {
|
|
12
|
-
"code": "Patient",
|
|
13
|
-
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
|
|
14
|
-
},
|
|
15
|
-
"type": ["Patient"]
|
|
2
|
+
"subjectType": ["Encounter", "Patient"],
|
|
3
|
+
"meta": {
|
|
4
|
+
"profile": ["https://beda.software/beda-emr-questionnaire"],
|
|
5
|
+
"lastUpdated": "2023-04-10T03:43:34.792167Z",
|
|
6
|
+
"createdAt": "2023-04-05T05:22:35.752466Z",
|
|
7
|
+
"versionId": "694"
|
|
16
8
|
},
|
|
17
|
-
|
|
18
|
-
"name": {
|
|
19
|
-
"code": "Author",
|
|
20
|
-
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
|
|
21
|
-
},
|
|
22
|
-
"type": ["Resource"]
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"name": "Medication",
|
|
26
|
-
"item": [
|
|
27
|
-
{
|
|
28
|
-
"text": "DateTime",
|
|
29
|
-
"type": "dateTime",
|
|
30
|
-
"hidden": true,
|
|
31
|
-
"linkId": "dateTime",
|
|
32
|
-
"initialExpression": {
|
|
33
|
-
"language": "text/fhirpath",
|
|
34
|
-
"expression": "now()"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"text": "EncounterId",
|
|
39
|
-
"type": "string",
|
|
40
|
-
"hidden": true,
|
|
41
|
-
"linkId": "encounterId",
|
|
42
|
-
"initialExpression": {
|
|
43
|
-
"language": "text/fhirpath",
|
|
44
|
-
"expression": "%Encounter.id"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"text": "PatientId",
|
|
49
|
-
"type": "string",
|
|
50
|
-
"hidden": true,
|
|
51
|
-
"linkId": "patientId",
|
|
52
|
-
"required": true,
|
|
53
|
-
"initialExpression": {
|
|
54
|
-
"language": "text/fhirpath",
|
|
55
|
-
"expression": "%Patient.id"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"text": "PatientName",
|
|
60
|
-
"type": "string",
|
|
61
|
-
"hidden": true,
|
|
62
|
-
"linkId": "patientName",
|
|
63
|
-
"initialExpression": {
|
|
64
|
-
"language": "text/fhirpath",
|
|
65
|
-
"expression": "%Patient.name.given[0] + ' ' + %Patient.name.family"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"text": "Medication name",
|
|
70
|
-
"type": "choice",
|
|
71
|
-
"linkId": "medication",
|
|
72
|
-
"required": true,
|
|
73
|
-
"answerOption": [
|
|
9
|
+
"launchContext": [
|
|
74
10
|
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
}
|
|
11
|
+
"name": {
|
|
12
|
+
"code": "Patient",
|
|
13
|
+
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
|
|
14
|
+
},
|
|
15
|
+
"type": ["Patient"]
|
|
82
16
|
},
|
|
83
17
|
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
18
|
+
"name": {
|
|
19
|
+
"code": "Author",
|
|
20
|
+
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
|
|
21
|
+
},
|
|
22
|
+
"type": ["Resource"]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"name": "Medication",
|
|
26
|
+
"item": [
|
|
27
|
+
{
|
|
28
|
+
"text": "DateTime",
|
|
29
|
+
"type": "dateTime",
|
|
30
|
+
"hidden": true,
|
|
31
|
+
"linkId": "dateTime",
|
|
32
|
+
"initialExpression": {
|
|
33
|
+
"language": "text/fhirpath",
|
|
34
|
+
"expression": "now()"
|
|
89
35
|
}
|
|
90
|
-
}
|
|
91
36
|
},
|
|
92
37
|
{
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
38
|
+
"text": "EncounterId",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"hidden": true,
|
|
41
|
+
"linkId": "encounterId",
|
|
42
|
+
"initialExpression": {
|
|
43
|
+
"language": "text/fhirpath",
|
|
44
|
+
"expression": "%Encounter.id"
|
|
98
45
|
}
|
|
99
|
-
}
|
|
100
46
|
},
|
|
101
47
|
{
|
|
102
|
-
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
48
|
+
"text": "PatientId",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"hidden": true,
|
|
51
|
+
"linkId": "patientId",
|
|
52
|
+
"required": true,
|
|
53
|
+
"initialExpression": {
|
|
54
|
+
"language": "text/fhirpath",
|
|
55
|
+
"expression": "%Patient.id"
|
|
107
56
|
}
|
|
108
|
-
}
|
|
109
57
|
},
|
|
110
58
|
{
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
59
|
+
"text": "PatientName",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"hidden": true,
|
|
62
|
+
"linkId": "patientName",
|
|
63
|
+
"initialExpression": {
|
|
64
|
+
"language": "text/fhirpath",
|
|
65
|
+
"expression": "%Patient.name.given[0] + ' ' + %Patient.name.family"
|
|
116
66
|
}
|
|
117
|
-
}
|
|
118
67
|
},
|
|
119
68
|
{
|
|
120
|
-
|
|
121
|
-
"
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
69
|
+
"text": "Medication name",
|
|
70
|
+
"type": "choice",
|
|
71
|
+
"linkId": "medication",
|
|
72
|
+
"required": true,
|
|
73
|
+
"answerOption": [
|
|
74
|
+
{
|
|
75
|
+
"value": {
|
|
76
|
+
"Coding": {
|
|
77
|
+
"code": "261000",
|
|
78
|
+
"system": "http://snomed.info/sct",
|
|
79
|
+
"display": "Codeine phosphate"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"value": {
|
|
85
|
+
"Coding": {
|
|
86
|
+
"code": "2336001",
|
|
87
|
+
"system": "http://snomed.info/sct",
|
|
88
|
+
"display": "Fibrinogen Tokyo II"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"value": {
|
|
94
|
+
"Coding": {
|
|
95
|
+
"code": "363000",
|
|
96
|
+
"system": "http://snomed.info/sct",
|
|
97
|
+
"display": "Fibrinogen San Juan"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"value": {
|
|
103
|
+
"Coding": {
|
|
104
|
+
"code": "519005",
|
|
105
|
+
"system": "http://snomed.info/sct",
|
|
106
|
+
"display": "Free protein S"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"value": {
|
|
112
|
+
"Coding": {
|
|
113
|
+
"code": "585007",
|
|
114
|
+
"system": "http://snomed.info/sct",
|
|
115
|
+
"display": "SP - Substance P"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"value": {
|
|
121
|
+
"Coding": {
|
|
122
|
+
"code": "693002",
|
|
123
|
+
"system": "http://snomed.info/sct",
|
|
124
|
+
"display": "Trichothecene"
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"value": {
|
|
130
|
+
"Coding": {
|
|
131
|
+
"code": "698006",
|
|
132
|
+
"system": "http://snomed.info/sct",
|
|
133
|
+
"display": "Erythromycin lactobionate"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"value": {
|
|
139
|
+
"Coding": {
|
|
140
|
+
"code": "699003",
|
|
141
|
+
"system": "http://snomed.info/sct",
|
|
142
|
+
"display": "Coal tar extract"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"value": {
|
|
148
|
+
"Coding": {
|
|
149
|
+
"code": "747006",
|
|
150
|
+
"system": "http://snomed.info/sct",
|
|
151
|
+
"display": "Oxamniquine"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
]
|
|
127
156
|
},
|
|
128
157
|
{
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
"display": "Erythromycin lactobionate"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
158
|
+
"text": "Dosage",
|
|
159
|
+
"type": "string",
|
|
160
|
+
"linkId": "dosage",
|
|
161
|
+
"required": true
|
|
136
162
|
},
|
|
137
163
|
{
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
|
|
141
|
-
"system": "http://snomed.info/sct",
|
|
142
|
-
"display": "Coal tar extract"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
164
|
+
"text": "Start Date",
|
|
165
|
+
"type": "date",
|
|
166
|
+
"linkId": "start-date"
|
|
145
167
|
},
|
|
146
168
|
{
|
|
147
|
-
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
169
|
+
"text": "Stop Date",
|
|
170
|
+
"type": "date",
|
|
171
|
+
"linkId": "stop-date"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"text": "Notes",
|
|
175
|
+
"type": "string",
|
|
176
|
+
"linkId": "notes"
|
|
154
177
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"text": "Stop Date",
|
|
170
|
-
"type": "date",
|
|
171
|
-
"linkId": "stop-date"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"text": "Notes",
|
|
175
|
-
"type": "string",
|
|
176
|
-
"linkId": "notes"
|
|
177
|
-
}
|
|
178
|
-
],
|
|
179
|
-
"mapping": [
|
|
180
|
-
{
|
|
181
|
-
"id": "medication-statement-extract",
|
|
182
|
-
"resourceType": "Mapping"
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
"resourceType": "Questionnaire",
|
|
186
|
-
"status": "active",
|
|
187
|
-
"id": "medication",
|
|
188
|
-
"url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/medication"
|
|
178
|
+
],
|
|
179
|
+
"mapping": [
|
|
180
|
+
{
|
|
181
|
+
"id": "medication-statement-extract",
|
|
182
|
+
"resourceType": "Mapping"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"resourceType": "Questionnaire",
|
|
186
|
+
"status": "active",
|
|
187
|
+
"assembledFrom": "medication",
|
|
188
|
+
"id": "medication",
|
|
189
|
+
"url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/medication"
|
|
189
190
|
}
|
package/src/converter/__tests__/resources/questionnaire_fce/multiple_type_launch_context.json
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"subjectType": [
|
|
3
|
-
"Encounter",
|
|
4
|
-
"Patient"
|
|
5
|
-
],
|
|
2
|
+
"subjectType": ["Encounter", "Patient"],
|
|
6
3
|
"meta": {
|
|
7
|
-
"profile": [
|
|
8
|
-
"https://beda.software/beda-emr-questionnaire"
|
|
9
|
-
],
|
|
4
|
+
"profile": ["https://beda.software/beda-emr-questionnaire"],
|
|
10
5
|
"lastUpdated": "2023-04-10T03:43:34.792167Z",
|
|
11
6
|
"createdAt": "2023-04-05T05:22:35.752466Z",
|
|
12
7
|
"versionId": "694"
|
|
@@ -17,10 +12,7 @@
|
|
|
17
12
|
"code": "LaunchPatient",
|
|
18
13
|
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext"
|
|
19
14
|
},
|
|
20
|
-
"type": [
|
|
21
|
-
"Patient",
|
|
22
|
-
"Resource"
|
|
23
|
-
]
|
|
15
|
+
"type": ["Patient", "Resource"]
|
|
24
16
|
}
|
|
25
17
|
],
|
|
26
18
|
"name": "Allergies",
|
|
@@ -401,6 +393,7 @@
|
|
|
401
393
|
],
|
|
402
394
|
"resourceType": "Questionnaire",
|
|
403
395
|
"status": "active",
|
|
396
|
+
"assembledFrom": "multiple-type-launch-context",
|
|
404
397
|
"id": "allergies",
|
|
405
398
|
"url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/allergies"
|
|
406
|
-
}
|
|
399
|
+
}
|
|
@@ -1,84 +1,85 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
"name": "patient-create",
|
|
9
|
-
"item": [
|
|
10
|
-
{
|
|
11
|
-
"text": "patientId",
|
|
12
|
-
"type": "string",
|
|
13
|
-
"hidden": true,
|
|
14
|
-
"linkId": "patient-id"
|
|
2
|
+
"meta": {
|
|
3
|
+
"profile": ["https://beda.software/beda-emr-questionnaire"],
|
|
4
|
+
"lastUpdated": "2023-04-10T03:43:34.792167Z",
|
|
5
|
+
"createdAt": "2023-04-05T05:22:35.752466Z",
|
|
6
|
+
"versionId": "694"
|
|
15
7
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"linkId": "birth-date"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"text": "Gender",
|
|
40
|
-
"type": "choice",
|
|
41
|
-
"linkId": "gender",
|
|
42
|
-
"answerOption": [
|
|
8
|
+
"name": "patient-create",
|
|
9
|
+
"item": [
|
|
10
|
+
{
|
|
11
|
+
"text": "patientId",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"hidden": true,
|
|
14
|
+
"linkId": "patient-id"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"text": "Last name",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"linkId": "last-name",
|
|
20
|
+
"required": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"text": "First name",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"linkId": "first-name",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
43
28
|
{
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
29
|
+
"text": "Middle name",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"linkId": "middle-name"
|
|
47
32
|
},
|
|
48
33
|
{
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
34
|
+
"text": "Birth date",
|
|
35
|
+
"type": "date",
|
|
36
|
+
"linkId": "birth-date"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"text": "Gender",
|
|
40
|
+
"type": "choice",
|
|
41
|
+
"linkId": "gender",
|
|
42
|
+
"answerOption": [
|
|
43
|
+
{
|
|
44
|
+
"value": {
|
|
45
|
+
"string": "male"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"value": {
|
|
50
|
+
"string": "female"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"text": "SSN",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"linkId": "ssn"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"text": "Phone number",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"linkId": "mobile",
|
|
64
|
+
"itemControl": {
|
|
65
|
+
"coding": [
|
|
66
|
+
{
|
|
67
|
+
"code": "phoneWidget"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
52
71
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
{
|
|
67
|
-
"code": "phoneWidget"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"mapping": [
|
|
74
|
-
{
|
|
75
|
-
"id": "patient-create",
|
|
76
|
-
"resourceType": "Mapping"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"resourceType": "Questionnaire",
|
|
80
|
-
"title": "Patient create",
|
|
81
|
-
"status": "active",
|
|
82
|
-
"id": "patient-create",
|
|
83
|
-
"url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/patient-create"
|
|
72
|
+
],
|
|
73
|
+
"mapping": [
|
|
74
|
+
{
|
|
75
|
+
"id": "patient-create",
|
|
76
|
+
"resourceType": "Mapping"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"resourceType": "Questionnaire",
|
|
80
|
+
"title": "Patient create",
|
|
81
|
+
"status": "active",
|
|
82
|
+
"assembledFrom": "patient-create",
|
|
83
|
+
"id": "patient-create",
|
|
84
|
+
"url": "https://aidbox.emr.beda.software/ui/console#/entities/Questionnaire/patient-create"
|
|
84
85
|
}
|