Sha256: ece14b013c290ac036701467c561133e0476930258fb756c75b0abe9e2f2aeb2

Contents?: true

Size: 776 Bytes

Versions: 1

Compression:

Stored size: 776 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 identified by its Id [independent];

Party Moniker is where
	Party is called at most 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

1 entries across 1 versions & 1 rubygems

Version Path
activefacts-0.8.8 examples/CQL/Tests.Test5.Load.cql