// // Purpose: openEHR Platform Conformance Test Case // Identifier: tc_dem-arch_val // Description: Test archetype validation of PARTY content // Interface: I_DEMOGRAPHICS_SERVICE // Copyright: openEHR Foundation (c) 2017 // License: CC-BY-SA 3.0 Unported // Reference: // // Get handle to service I_DEMOGRAPHICS_SERVICE dem_svc; UUID a_party_id = dem_svc.create_ehr (); PARTY_REF a_subject_id = new party_ref ("ehr", "PERSON", "5555"); UPDATE_AUDIT an_audit = new update_audit ("openehr::249|creation|", "create_composition test", a_subject_id); // ----------- PASS ------------ // ----------- FAIL: composition_archetype_invalid ------------