You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tighten the loosely-typed query- and view-bearing parameters across the
four data operations so the machine-readable OperationDefinitions match
their stated intent (issue #367).
The query parameters (queryReference, queryResource in $sqlquery-run and
$sqlquery-export) now carry a targetProfile of both the SQLQuery and
SQLView profiles, with the inline parameters typed Library, and their
documentation names both profiles. The view parameters (viewReference
everywhere, and the inline viewResource in both export operations) now
carry a targetProfile of ViewDefinition, with the inline parameters
narrowed from Resource to CanonicalResource to match the existing
$viewdefinition-run viewResource precedent. patient, group and source
are left unchanged.
This is a constraining change (constitution IV): the parameters move
from unconstrained to profiled. Because the documentation always
described a SQLQuery or SQLView Library or a ViewDefinition, and the
guide is pre-publication (2.1.0-pre), no conforming caller is broken.
* parameter[3].documentation = "Inline SQLQuery or SQLView Library resource to execute."
397
404
398
405
* parameter[4].name = #parameters
399
406
* parameter[4].use = #in
@@ -459,7 +466,7 @@ Description: "Export SQLQuery Library results asynchronously using the FHIR Asyn
459
466
* parameter[0].max= "*"
460
467
* parameter[0].scope[0] = #system
461
468
* parameter[0].scope[1] = #type
462
-
* parameter[0].documentation = "One or more SQLQuery Libraries to export. Each repetition identifies a single query. Applies at system and type level only; at instance level the bound Library identified by the request URL is the query source and this parameter does not apply."
469
+
* parameter[0].documentation = "One or more SQLQuery or SQLView Libraries to export. Each repetition identifies a single query. Applies at system and type level only; at instance level the bound Library identified by the request URL is the query source and this parameter does not apply."
463
470
* parameter[0].part[0].name = #name
464
471
* parameter[0].part[0].use = #in
465
472
* parameter[0].part[0].min=0
@@ -471,13 +478,17 @@ Description: "Export SQLQuery Library results asynchronously using the FHIR Asyn
471
478
* parameter[0].part[1].min=0
472
479
* parameter[0].part[1].max= "1"
473
480
* parameter[0].part[1].type = #Reference
474
-
* parameter[0].part[1].documentation = "Reference to a SQLQuery Library stored on the server."
0 commit comments