// // Purpose: openEHR Platform Conformance Test Case // Identifier: tc_def-opt14_prov // Description: OPT 1.4 Provisioning - upload an ADL 1.4 OPT // Interface: I_DEFINITION_ADL14 // Copyright: openEHR Foundation (c) 2017 // License: CC-BY-SA 3.0 Unported // Reference: // // Get handle to service I_DEFINITION_ADL14 svc; // ----------- PASS ------------ OPT opt = create_test_adl_14_opt ("test_opt_1"); assert (not svc.has_opt (opt.id)); svc.upload_opt (opt); assert (svc.has_opt (opt.id)); List all_opt_ids = svc.list_all_opts (1, 10); assert (all_opt_ids.has(opt.id)); // ----------- FAIL ------------