prc_identifiers

Titleprc_identifiers
TypeCalculated
DescriptionPerson-level identifiers
ColumnFormatNullableDescriptionDefinitionComments
idinteger, primary key(error)Row identifierautoincrement 
person_idinteger, foreign key(error)Person this identifier is attached toprc_persons:id 
standardized_identifier_idinteger, foreign key(tick)SOR identifier associated with this identiferprs_identifiers:id(question) Unclear if this has the same relation as other pr[cs] table pairs
identifiervarchar(100)(error)Identifier  
identifier_tinteger, foreign key(error)Identifier type

ctx_data_types:id

data_type=IDENTIFIER

identifier_status_tinteger, foreign key(error)Identifier statusctx_data_types:iddata_type=STATUS
primary_identifierboolean(tick)Whether this is the "primary" identifier of this type for this person  

 

Migration Notes From OR 1

  • changeable dropped (should be an aspect of the identifier type, not copied to each identifier; this may imply separation from ctx_data_types) ( ORII-78 - Getting issue details... STATUS )
  • change_expiration_date dropped (need use case) ( ORII-78 - Getting issue details... STATUS )
  • standardized_identifier_id added ( ORII-79 - Getting issue details... STATUS )
  • creation_date dropped (should review for more general applicability) ( ORII-78 - Getting issue details... STATUS )
  • is_deleted replaced with identifier_status_t ( ORII-80 - Getting issue details... STATUS )

  • deleted_date dropped (need use case) ( ORII-78 - Getting issue details... STATUS )
  • notification_date dropped (need use case) ( ORII-78 - Getting issue details... STATUS )
  • is_primary renamed primary_identifier ( ORII-81 - Getting issue details... STATUS )