-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(test) O3-3937 Add test coverage around form readonly mode
- Loading branch information
1 parent
29071e5
commit 557e72f
Showing
2 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"name": "Test read only", | ||
"pages": [ | ||
{ | ||
"label": "1", | ||
"sections": [ | ||
{ | ||
"label": "1", | ||
"isExpanded": "true", | ||
"questions": [ | ||
{ | ||
"label": "Visit type", | ||
"type": "obs", | ||
"required": false, | ||
"id": "visitType", | ||
"readonly": "true", | ||
"questionOptions": { | ||
"rendering": "select", | ||
"concept": "164181AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"conceptMappings": [ | ||
{ | ||
"relationship": "SAME-AS", | ||
"type": "CIEL", | ||
"value": "164181" | ||
} | ||
], | ||
"answers": [ | ||
{ | ||
"concept": "164180AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "New visit" | ||
}, | ||
{ | ||
"concept": "160530AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"label": "Return visit type" | ||
} | ||
] | ||
}, | ||
"validators": [] | ||
}, | ||
{ | ||
"label": "Visit punctuality", | ||
"type": "obs", | ||
"required": false, | ||
"id": "visitPunctuality", | ||
"readonly": "true", | ||
"questionOptions": { | ||
"rendering": "text", | ||
"concept": "160632AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | ||
"conceptMappings": [ | ||
{ | ||
"relationship": "SAME-AS", | ||
"type": "CIEL", | ||
"value": "160632" | ||
}, | ||
{ | ||
"relationship": "SAME-AS", | ||
"type": "AMPATH", | ||
"value": "1915" | ||
}, | ||
{ | ||
"relationship": "BROADER-THAN", | ||
"type": "LOINC", | ||
"value": "48767-8" | ||
} | ||
] | ||
}, | ||
"validators": [] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"processor": "EncounterFormProcessor", | ||
"encounterType": "", | ||
"referencedForms": [], | ||
"uuid": "", | ||
"description": "Test read only" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters