Sha256: 97f3b5060ec739b48c32c5df5d8697e7f0dec5049919712915a8e51ae48ac075

Contents?: true

Size: 766 Bytes

Versions: 6

Compression:

Stored size: 766 Bytes

Contents

vocabulary ORMModel1;

/*
 * Value Types
 */
Accuracy Level is written as Signed Integer(32);
Party Id is written as Auto Counter;
Party Name is written as String;
ymd is written as Date;

/*
 * Entity Types
 */
Accuracy is identified by its Level restricted to {1..5};

Event Date is identified by ymd where
	Event Date has one ymd,
	ymd is of at most one Event Date;

Party is independent identified by its Id;

Party Moniker is where
	Party is called one Party Name;
Party Moniker has one Accuracy;

Person is a kind of Party;

Birth is where
	Person was born on one Event Date;

Death is where
	Person died;
Death occurred on at most one death-Event Date;

Doctor is a kind of Person;
Birth was assisted by at most one attending-Doctor,
	Doctor attended Birth;

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activefacts-0.8.18 examples/CQL/Tests.Test5.Load.cql
activefacts-0.8.16 examples/CQL/Tests.Test5.Load.cql
activefacts-0.8.15 examples/CQL/Tests.Test5.Load.cql
activefacts-0.8.13 examples/CQL/Tests.Test5.Load.cql
activefacts-0.8.12 examples/CQL/Tests.Test5.Load.cql
activefacts-0.8.10 examples/CQL/Tests.Test5.Load.cql