loefsys.events.models package
Module containing the models related to events.
- class loefsys.events.models.Event(*args, **kwargs)
Bases:
Model Extensions
,Model Extensions
Model for an event.
An event is an activity that people can sign up for. This can be a sail training, a cantus, or any other activity that is organized for the association. Events have many properties, such as a start and end date, a category, a price, a location, and more.
- created
The timestamp of the creation of the model, automatically generated upon creation.
- Type:
- modified
The timestamp of last modification of this model, automatically generated upon update.
- Type:
- picture
The picture for an event.
- Type:
ImageFieldFile
- category
The category of the event.
- Type:
- capacity
The maximum number of participants if there is one
- Type:
Integer
- location
The location of the event.
We might want to include a Google Maps widget showing the location. django-google-maps might be useful for this.
- Type:
- send_cancel_email
Flag to determine if an email should be sent if a participant deregisters
- Type:
~bool
- eventregistration_set
A manager of registrations for this event.
It is the one-to-many relationship to
EventRegistration
.- Type:
- event_picture_upload_path(_)
Return the upload path for the event picture.
- picture
Just like the FileDescriptor, but for ImageFields. The only difference is assigning the width/height to the width_field/height_field, if appropriate.
- start
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- end
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- registration_start
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- registration_deadline
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- cancelation_deadline
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- category
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- capacity
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- price
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- fine
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- location
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- is_open_event
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- published
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- send_cancel_email
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- property has_form_fields: bool
Check if the event has associated form fields.
- Returns:
True
if the event has form fields, otherwiseFalse
.- Return type:
- eventregistration_set: EventRegistrationManager
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <loefsys.events.models.managers.EventManager object>
- get_absolute_url()
Return the detail page url for this registration.
- mandatory_registration() bool
Check whether this event has mandatory registration.
- Returns:
A boolean that defines whether registration is mandatory.
- Return type:
- registrations_open() bool
Determine whether it is possible for users to register for this event.
- Returns:
A boolean that defines whether registrations are open.
- Return type:
- max_capacity_reached() bool
Check whether the max capacity for this event is reached.
- Returns:
True
when the event is full andFalse
if there are places available.- Return type:
- fine_on_cancellation() bool
Check whether the cancellation of a registration will result in a fine.
- Returns:
True
when a fine will be applied andFalse
when cancellation is free of charge.- Return type:
- process_cancellation() None
Process the side effects for an event of a cancellation.
- Return type:
None
- registration_window_open() bool
Determine whether it is possible for users to register for this event.
For events with required registration, registration is only possible when the event is published and in the registration window defined by
start
andend
.- Returns:
A boolean that defines whether registrations are in the registration window.
- Return type:
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- eventorganizer
Accessor to the related object on the reverse side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Place.restaurant
is aReverseOneToOneDescriptor
instance.
- get_category_display(*, field=<django.db.models.fields.PositiveSmallIntegerField: category>)
- get_next_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=True, **kwargs)
- get_next_by_end(*, field=<django.db.models.fields.DateTimeField: end>, is_next=True, **kwargs)
- get_next_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=True, **kwargs)
- get_next_by_start(*, field=<django.db.models.fields.DateTimeField: start>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=False, **kwargs)
- get_previous_by_end(*, field=<django.db.models.fields.DateTimeField: end>, is_next=False, **kwargs)
- get_previous_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=False, **kwargs)
- get_previous_by_start(*, field=<django.db.models.fields.DateTimeField: start>, is_next=False, **kwargs)
- get_registrationformfield_order()
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- modified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- registrationformfield_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- set_registrationformfield_order(id_list, using=None)
- slug
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- title
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- class loefsys.events.models.EventOrganizer(*args, **kwargs)
Bases:
Model Extensions
Utility model collecting the organizers for an event.
- created
The timestamp of the creation of the model, automatically generated upon creation.
- Type:
- modified
The timestamp of last modification of this model, automatically generated upon update.
- Type:
- groups
The groups organizing this event.
- Type:
- event
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- groups
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- user
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- event_id
- get_next_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=True, **kwargs)
- get_next_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=False, **kwargs)
- get_previous_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=False, **kwargs)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- modified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- class loefsys.events.models.EventRegistration(*args, **kwargs)
Bases:
Model Extensions
Registration model for an event.
Registering for an event lets you claim a spot in the event. If an event is full, the registration is put in a queue. The registration can be also be cancelled, with a possible fine if it is cancelled late. Registrations can also come with a price.
- contact
The contact that the registration is for.
- Type:
Contact
- status
The status is active, in the queue, or cancelled, either with or without fine.
- Type:
- event
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- contact
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- status
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- price_at_registration
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- fine_at_registration
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- costs
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- costs_paid
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- property form_fields
Get form fields and their values on the registration form.
- objects = <loefsys.events.models.managers.EventRegistrationManager object>
- save(**kwargs: Any) None
Save the model to the database.
When creating a new registration, the attributes
price_at_registration
andfine_at_registration
are copied from the :attr`.event`.- Return type:
None
- Parameters:
kwargs (Any)
- costs_to_pay() Decimal
Calculate the amount needed to be paid by the registration contact.
TODO See if this function can be converted into a GeneratedField as well.
- Returns:
The amount of money in Euro’s.
- Return type:
- cancel() None
Cancel a registration.
Upon cancellation, it is calculated whether a fine will be applied. The status of the registration is then either changed to
loefsys.events.models.choices.RegistrationStatus.CANCELLED_FINE
orloefsys.events.models.choices.RegistrationStatus.CANCELLED_NOFINE
. Afterwards, the event is notified to potentially activate a registration in the queue.- Return type:
None
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- booleanregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- contact_id
- created
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- datetimeregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- event_id
- get_next_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=True, **kwargs)
- get_next_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=True, **kwargs)
- get_previous_by_created(*, field=<django_extensions.db.fields.CreationDateTimeField: created>, is_next=False, **kwargs)
- get_previous_by_modified(*, field=<django_extensions.db.fields.ModificationDateTimeField: modified>, is_next=False, **kwargs)
- get_status_display(*, field=<django.db.models.fields.PositiveSmallIntegerField: status>)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- integerregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- modified
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- textregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- class loefsys.events.models.FeedToken(*args, **kwargs)
Bases:
Model
Used to personalize the ical Feed.
- user
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.place
is aForwardOneToOneDescriptor
instance.
- token
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- save(**kwargs)
Save the current instance. Override this in a subclass if you want to control the saving process.
The ‘force_insert’ and ‘force_update’ parameters can be used to insist that the “save” must be an SQL insert or update (or equivalent for non-SQL backends), respectively. Normally, they should not be set.
- static get_user(token)
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>
- user_id
- class loefsys.events.models.RegistrationFormField(*args, **kwargs)
Bases:
Model
Represents a registration form for events.
This model stores the subject, response, and associated event for a registration.
- BOOLEAN_FIELD = 'boolean'
- INTEGER_FIELD = 'integer'
- TEXT_FIELD = 'text'
- DATETIME_FIELD = 'datetime'
- FIELD_TYPES = [('boolean', 'Boolean'), ('integer', 'Geheel getal'), ('text', 'Tekst'), ('datetime', 'Datetime')]
- event
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parent
is aForwardManyToOneDescriptor
instance.
- type
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- subject
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- description
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- required
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- property default
Get default value for registration form field based on its type.
- get_value_for(registration)
Get value for registration form field based on registration.
- set_value_for(registration, value)
Set value for registration form field based on registration and value.
- exception DoesNotExist
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned
Bases:
MultipleObjectsReturned
- booleanregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- datetimeregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- event_id
- get_next_in_order(*, is_next=True)
- get_previous_in_order(*, is_next=False)
- get_type_display(*, field=<django.db.models.fields.CharField: type>)
- id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- integerregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
- objects = <django.db.models.manager.Manager object>
- textregistrationinformation_set
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
Submodules
- loefsys.events.models.choices module
- loefsys.events.models.event module
OverwriteStorage
Event
Event.created
Event.modified
Event.title
Event.description
Event.picture
Event.slug
Event.start
Event.end
Event.registration_start
Event.registration_deadline
Event.cancelation_deadline
Event.category
Event.capacity
Event.price
Event.fine
Event.location
Event.is_open_event
Event.published
Event.send_cancel_email
Event.eventregistration_set
Event.event_picture_upload_path()
Event.picture
Event.start
Event.end
Event.registration_start
Event.registration_deadline
Event.cancelation_deadline
Event.category
Event.capacity
Event.price
Event.fine
Event.location
Event.is_open_event
Event.published
Event.send_cancel_email
Event.has_form_fields
Event.eventregistration_set
Event.objects
Event.url
Event.get_absolute_url()
Event.mandatory_registration()
Event.registrations_open()
Event.max_capacity_reached()
Event.fine_on_cancellation()
Event.process_cancellation()
Event.registration_window_open()
Event.DoesNotExist
Event.MultipleObjectsReturned
Event.created
Event.description
Event.eventorganizer
Event.get_category_display()
Event.get_next_by_created()
Event.get_next_by_end()
Event.get_next_by_modified()
Event.get_next_by_start()
Event.get_previous_by_created()
Event.get_previous_by_end()
Event.get_previous_by_modified()
Event.get_previous_by_start()
Event.get_registrationformfield_order()
Event.id
Event.modified
Event.registrationformfield_set
Event.set_registrationformfield_order()
Event.slug
Event.title
EventOrganizer
EventOrganizer.created
EventOrganizer.modified
EventOrganizer.event
EventOrganizer.groups
EventOrganizer.user
EventOrganizer.event
EventOrganizer.groups
EventOrganizer.user
EventOrganizer.DoesNotExist
EventOrganizer.MultipleObjectsReturned
EventOrganizer.created
EventOrganizer.event_id
EventOrganizer.get_next_by_created()
EventOrganizer.get_next_by_modified()
EventOrganizer.get_previous_by_created()
EventOrganizer.get_previous_by_modified()
EventOrganizer.id
EventOrganizer.modified
EventOrganizer.objects
- loefsys.events.models.feed_token module
- loefsys.events.models.managers module
- loefsys.events.models.registration module
EventRegistration
EventRegistration.created
EventRegistration.modified
EventRegistration.event
EventRegistration.contact
EventRegistration.status
EventRegistration.price_at_registration
EventRegistration.fine_at_registration
EventRegistration.costs
EventRegistration.costs_paid
EventRegistration.event
EventRegistration.contact
EventRegistration.status
EventRegistration.price_at_registration
EventRegistration.fine_at_registration
EventRegistration.costs
EventRegistration.costs_paid
EventRegistration.form_fields
EventRegistration.objects
EventRegistration.save()
EventRegistration.costs_to_pay()
EventRegistration.cancel()
EventRegistration.DoesNotExist
EventRegistration.MultipleObjectsReturned
EventRegistration.booleanregistrationinformation_set
EventRegistration.contact_id
EventRegistration.created
EventRegistration.datetimeregistrationinformation_set
EventRegistration.event_id
EventRegistration.get_next_by_created()
EventRegistration.get_next_by_modified()
EventRegistration.get_previous_by_created()
EventRegistration.get_previous_by_modified()
EventRegistration.get_status_display()
EventRegistration.id
EventRegistration.integerregistrationinformation_set
EventRegistration.modified
EventRegistration.textregistrationinformation_set
- loefsys.events.models.registration_form_field module
RegistrationFormField
RegistrationFormField.BOOLEAN_FIELD
RegistrationFormField.INTEGER_FIELD
RegistrationFormField.TEXT_FIELD
RegistrationFormField.DATETIME_FIELD
RegistrationFormField.FIELD_TYPES
RegistrationFormField.event
RegistrationFormField.type
RegistrationFormField.subject
RegistrationFormField.description
RegistrationFormField.required
RegistrationFormField.default
RegistrationFormField.get_value_for()
RegistrationFormField.set_value_for()
RegistrationFormField.DoesNotExist
RegistrationFormField.MultipleObjectsReturned
RegistrationFormField.booleanregistrationinformation_set
RegistrationFormField.datetimeregistrationinformation_set
RegistrationFormField.event_id
RegistrationFormField.get_next_in_order()
RegistrationFormField.get_previous_in_order()
RegistrationFormField.get_type_display()
RegistrationFormField.id
RegistrationFormField.integerregistrationinformation_set
RegistrationFormField.objects
RegistrationFormField.textregistrationinformation_set
AbstractRegistrationInformation
AbstractRegistrationInformation.registration
AbstractRegistrationInformation.field
AbstractRegistrationInformation.changed
AbstractRegistrationInformation.Meta
AbstractRegistrationInformation.field_id
AbstractRegistrationInformation.get_next_by_changed()
AbstractRegistrationInformation.get_previous_by_changed()
AbstractRegistrationInformation.registration_id
BooleanRegistrationInformation
BooleanRegistrationInformation.value
BooleanRegistrationInformation.DoesNotExist
BooleanRegistrationInformation.MultipleObjectsReturned
BooleanRegistrationInformation.changed
BooleanRegistrationInformation.field
BooleanRegistrationInformation.field_id
BooleanRegistrationInformation.get_next_by_changed()
BooleanRegistrationInformation.get_previous_by_changed()
BooleanRegistrationInformation.id
BooleanRegistrationInformation.objects
BooleanRegistrationInformation.registration
BooleanRegistrationInformation.registration_id
TextRegistrationInformation
TextRegistrationInformation.value
TextRegistrationInformation.DoesNotExist
TextRegistrationInformation.MultipleObjectsReturned
TextRegistrationInformation.changed
TextRegistrationInformation.field
TextRegistrationInformation.field_id
TextRegistrationInformation.get_next_by_changed()
TextRegistrationInformation.get_previous_by_changed()
TextRegistrationInformation.id
TextRegistrationInformation.objects
TextRegistrationInformation.registration
TextRegistrationInformation.registration_id
IntegerRegistrationInformation
IntegerRegistrationInformation.value
IntegerRegistrationInformation.DoesNotExist
IntegerRegistrationInformation.MultipleObjectsReturned
IntegerRegistrationInformation.changed
IntegerRegistrationInformation.field
IntegerRegistrationInformation.field_id
IntegerRegistrationInformation.get_next_by_changed()
IntegerRegistrationInformation.get_previous_by_changed()
IntegerRegistrationInformation.id
IntegerRegistrationInformation.objects
IntegerRegistrationInformation.registration
IntegerRegistrationInformation.registration_id
DatetimeRegistrationInformation
DatetimeRegistrationInformation.value
DatetimeRegistrationInformation.DoesNotExist
DatetimeRegistrationInformation.MultipleObjectsReturned
DatetimeRegistrationInformation.changed
DatetimeRegistrationInformation.field
DatetimeRegistrationInformation.field_id
DatetimeRegistrationInformation.get_next_by_changed()
DatetimeRegistrationInformation.get_next_by_value()
DatetimeRegistrationInformation.get_previous_by_changed()
DatetimeRegistrationInformation.get_previous_by_value()
DatetimeRegistrationInformation.id
DatetimeRegistrationInformation.objects
DatetimeRegistrationInformation.registration
DatetimeRegistrationInformation.registration_id