// // Purpose: openEHR Platform Conformance Test Case // Identifier: tc_ehr-create // Description: Create new EHR; system assigns Uid. // Interface: I_EHR_SERVICE // Copyright: openEHR Foundation (c) 2017 // License: CC-BY-SA 3.0 Unported // Reference: // // Get handle to service and an authorisation token I_EHR_SERVICE svc; UUID an_ehr_id = svc.create_ehr(); // ----------- PASS ------------ EHR_SUMMARY ehr_summary = svc.get_ehr(an_ehr_id); assert (ehr_summary.ehr_status.is_queryable); assert (ehr_summary.ehr_status.is_modifiable);