Fix FHIR metadata for operation routes
This commit is contained in:
@@ -537,6 +537,8 @@ def metadata(request: Request, domain: Domain) -> Response:
|
||||
system = [{"code": "batch"}, {"code": "transaction"}]
|
||||
continue
|
||||
_, kind, *rest = path.split("/")
|
||||
if rest and rest[-1].startswith("$"): # an operation (the experimental NCI one), not a
|
||||
continue # read or a search: its parameters are not search parameters
|
||||
if kind == "metadata" or (kind != "Measure" and kind != "MeasureReport"
|
||||
and not clinical): # fmt: skip
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user