Skip to content

Commit

Permalink
Add test for form_metadata model
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel authored and Maria Lorena Rodriguez Viruel committed Oct 20, 2023
1 parent 77d71fd commit 6ae98d8
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions models/brac/views/views.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,24 @@ models:
- not_null
- accepted_values:
values: [pregnancy]
- name: pncview_actual_enrollments
- name: form_metadata
columns:
- name: patient_id
- name: uuid
tests:
- not_null
- unique
- relationships:
to: ref('couchdb')
field: doc ->> '_id'
- name: reported_by
tests:
- not_null
- name: chw
tests:
- not_null
- name: form
tests:
- not_null
- name: formname
tests:
- not_null

0 comments on commit 6ae98d8

Please sign in to comment.