From ebe9ae074c7ea313b429a3ceb75e8ed7fc650c39 Mon Sep 17 00:00:00 2001 From: Michael Lawley Date: Tue, 28 Nov 2023 14:30:13 +1000 Subject: [PATCH] Update validate-inactive-3a-response-parameters.json Support optional `code` and `system` values and more precise issue location --- .../validate-inactive-3a-response-parameters.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tx/inactive/validate-inactive-3a-response-parameters.json b/tx/inactive/validate-inactive-3a-response-parameters.json index 34b49232..1e9dc93f 100644 --- a/tx/inactive/validate-inactive-3a-response-parameters.json +++ b/tx/inactive/validate-inactive-3a-response-parameters.json @@ -1,6 +1,11 @@ -{ +{ "resourceType" : "Parameters", "parameter" : [{ + "$optional$" : true, + "name" : "code", + "valueCode" : "codeRetired" + }, + { "$optional$" : true, "name" : "inactive", "valueBoolean" : true @@ -15,7 +20,7 @@ "details" : { "text" : "$external:1:http://hl7.org/fhir/test/ValueSet/inactive-all-active|5.0.0$" }, - "location" : ["Coding"] + "location" : ["$choice:Coding|Coding.code$"] }] } }, @@ -32,6 +37,11 @@ "name" : "status", "valueString" : "retired" }, + { + "$optional$" : true, + "name" : "system", + "valueUri" : "http://hl7.org/fhir/test/CodeSystem/inactive" + }, { "name" : "version", "valueString" : "0.1.0"