Skip to content

Commit

Permalink
Make changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qaziabubakar-vd committed Jun 27, 2022
1 parent 1e75b18 commit 0852184
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 48 deletions.
37 changes: 17 additions & 20 deletions opensrp-chw/src/crvs/assets/json.form/birth_certification.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,22 @@
}
}
},
{
"key": "birth_cert_num",
"openmrs_entity_parent": "",
"openmrs_entity": "concept",
"openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"openmrs_data_type": "text",
"type": "label",
"text": "{{birth_certification.step1.birth_cert_num.hint}}",
"relevance": {
"rules-engine": {
"ex-rules": {
"rules-file": "birth_certification_relevance.yml"
}
}
}
},
{
"key": "birth_cert_num_acte",
"openmrs_entity_parent": "",
Expand Down Expand Up @@ -208,26 +224,7 @@
}

},
{
"key": "birth_cert_num",
"openmrs_entity_parent": "",
"openmrs_entity": "concept",
"openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"openmrs_data_type": "text",
"type": "edit_text",
"hint": "{{birth_certification.step1.birth_cert_num.hint}}",
"v_required": {
"value": "true",
"err": "{{birth_certification.step1.birth_cert_num.v_required.err}}"
},
"relevance": {
"rules-engine": {
"ex-rules": {
"rules-file": "birth_certification_relevance.yml"
}
}
}
},

{
"key": "birth_notification",
"openmrs_entity_parent": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,8 @@
"openmrs_entity": "concept",
"openmrs_entity_id": "162052AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"openmrs_data_type": "text",
"type": "edit_text",
"hint": "{{birth_certification_changed.step1.birth_cert_num.hint}}",
"v_required": {
"value": "true",
"err": "{{birth_certification_changed.step1.birth_cert_num.v_required.err}}"
},
"type": "label",
"text": "{{birth_certification_changed.step1.birth_cert_num.hint}}",
"relevance": {
"rules-engine": {
"ex-rules": {
Expand Down
4 changes: 0 additions & 4 deletions opensrp-chw/src/crvs/assets/json.form/child_enrollment.json
Original file line number Diff line number Diff line change
Expand Up @@ -696,10 +696,6 @@
},
"min_date": "today-120y",
"max_date": "today-10y",
"v_required": {
"value": true,
"err": "{{child_enrollment.step1.father_age_entered.v_required.error}}"
},
"relevance": {
"rules-engine": {
"ex-rules": {
Expand Down
13 changes: 2 additions & 11 deletions opensrp-chw/src/crvs/assets/json.form/death_certification.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,8 @@
"openmrs_entity_parent": "",
"openmrs_entity": "concept",
"openmrs_entity_id": "deathCertificationNumber",
"label": "{{death_certification.step1.death_certificate_number.label}}",
"hint": "{{death_certification.step1.death_certificate_number.hint}}",
"type": "edit_text",
"v_numeric": {
"value": "true",
"err": "{{death_certification.step1.death_certificate_number.v_numeric.err}}"
},
"v_required": {
"value": "true",
"err": "{{death_certification.step1.mandatory_field.v_required.err}}"
},
"text": "{{death_certification.step1.death_certificate_number.hint}}",
"type": "label",
"relevance": {
"step1:received_death_certificate": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -690,13 +690,8 @@
"openmrs_entity_parent": "",
"openmrs_entity": "concept",
"openmrs_entity_id": "deathCertificationNumber",
"label": "{{out_of_area_death_form.step1.death_certificate_number.label}}",
"hint": "{{out_of_area_death_form.step1.death_certificate_number.hint}}",
"type": "edit_text",
"v_numeric": {
"value": "true",
"err": "{{out_of_area_death_form.step1.death_certificate_number.v_numeric.err}}"
},
"text": "{{out_of_area_death_form.step1.death_certificate_number.hint}}",
"type": "label",
"relevance": {
"step1:received_death_certificate": {
"type": "string",
Expand Down

0 comments on commit 0852184

Please sign in to comment.