add validator test for duplicate properties in json

This commit is contained in:
Grahame Grieve 2019-08-23 14:57:30 +10:00
parent 3d7f701b00
commit c794c9393b
2 changed files with 14 additions and 0 deletions

View File

@ -157,6 +157,10 @@
"errorCount": 0, "errorCount": 0,
"warningCount": 0 "warningCount": 0
}, },
"patient-duplicate.json": {
"errorCount": 1,
"warningCount": 0
},
"patient-lang1.json": { "patient-lang1.json": {
"errorCount": 0, "errorCount": 0,
"warningCount": 1 "warningCount": 1

View File

@ -0,0 +1,10 @@
{
"resourceType" : "Patient",
"id" : "pat-good",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n some text in no particular language\n </div>"
},
"active" : false,
"active" : true
}