File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
- ## interoperability-app
1
+ ## Go.Data-DHIS2 Interoperability App
2
2
DHIS2 basic app to allow interoperability between DHIS2 and Go.Data instances
3
3
![ Architecture summary] ( ./images/overview.png )
4
4
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " interoperability-app" ,
2
+ "name" : " godata-dhis2- interoperability-app" ,
3
3
"version" : " 0.1.0" ,
4
4
"homepage" : " ." ,
5
5
"private" : true ,
Original file line number Diff line number Diff line change @@ -275,6 +275,15 @@ const Form = () => {
275
275
value = { formData [ "dhis2KeyAttributes" ] . passport }
276
276
onChange = { handleOnChange }
277
277
/>
278
+ < p className = "p" > Default attributes</ p >
279
+ < span className = "subtitle" > First Name:</ span >
280
+ < input
281
+ className = "text-input"
282
+ size = "15"
283
+ name = "attributesDefaults.firstName"
284
+ value = { formData [ "attributesDefaults" ] . firstName }
285
+ onChange = { handleOnChange }
286
+ />
278
287
< p className = "p" > Dhis2 Key Data Elements</ p >
279
288
< span className = "subtitle" > Pregnancy:</ span >
280
289
< input
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ const config = {
19
19
address : 'Home Address' ,
20
20
passport : 'Passport Number'
21
21
} ,
22
+ attributesDefaults : {
23
+ firstName : 'NOT_PROVIDED'
24
+ } ,
22
25
dhis2KeyDataElements : {
23
26
pregnancy : 'Pregnancy' ,
24
27
dateOfOnset : 'Date of symptoms onset' ,
You can’t perform that action at this time.
0 commit comments