Main
patients
patients
set "patients" first or abstain errors propagate policy "Change Resource Example (1/3)" permit action.java.name == "getPatients"; time.secondOf(<time.now>) < 20; obligation { "type" : "filterJsonContent", "actions" : [ { "type" : "blacken", "path" : "$.icd11Code", "discloseLeft": 2 }, { "type" : "delete", "path" : "$.diagnosis" } ] } policy "Change Resource Example (2/3)" permit action.java.name == "getPatients"; time.secondOf(<time.now>) < 40; obligation { "type" : "filterJsonContent", "actions" : [ { "type" : "blacken", "path" : "$.icd11Code", "replacement": "*" }, { "type" : "replace", "path" : "$.diagnosis", "replacement" : "[DIAGNOSIS HIDDEN]" } ] } policy "Change Resource Example (3/3)" permit action.java.name == "getPatients";