EhrPatientContact__c to ContactContactRelation__c
Fields in EhrPatientContact__c map to Account and Contact (Person Accounts)
through ContactContactRelation__c in the Clinical data model. EhrRelatedPerson__c is
also mapped this way.
Mapping
| Field | Details | Clinical Data Model Field | Notes |
|---|---|---|---|
| Address{1-5}City__c |
|
ContactPointAddress | The address information for a patient’s contact person is represented as ContactPointAddress records that reference the patient contact person’s record using their ContactPointAddress.ParentId field. The EHR data model could store only five address values, while the Clinical data model supports a much higher number. |
| Address{1-5}Country__c |
|
||
| Address{1-5}EndDate__c |
|
||
| Address{1-5}Line1__c |
|
||
| Address{1-5}Line2__c |
|
||
| Address{1-5}PostalCode__c |
|
||
| Address{1-5}StartDate__c |
|
||
| Address{1-5}State__c |
|
||
| Address{1-5}Text__c |
|
||
| Address{1-5}Use__c |
|
||
| GenderCode__c |
|
Contact.Gender | This code value is implemented as a picklist in the Clinical data model. |
| GenderLabel__c |
|
||
| GenderSystem__c |
|
||
| GivenName{1-5}__c |
|
PersonName | The name information for a patient’s contact person is represented as PersonName records that reference the patient contact person’s record using their PersonName.ParentRecordId field. |
| FamilyName{1-3}__c |
|
||
| Name__c |
|
||
| PrefixName{1-3}__c |
|
||
| SuffixName{1-3}__c |
|
||
| IsRestricted__c |
|
Not supported | N/A |
| IsVisibleOnPatientCard__c |
|
Not supported | N/A |
| Name |
|
Identifier | The identifier information for a patient’s contact person is represented as Identifier records that reference the patient contact person’s account record using their Identifier.ParentRecordId field. |
| Organization255__c |
|
AccountContactRelation.AccountId | Use the AccountContactRelation junction object to connect the patient contact person’s person account record to their organization’s business account record. |
| Organization__c |
|
||
| Patient__c |
|
ContactRelation__c.Contact__c | Contact persons are connected to patients using the ContactContactRelation__c junction object. The ContactContactRelation__c.Contact__c field references the contact record of the patient’s person account, and the ContactContactRelation__c.RelatedContact__c field references the contact record of the contact person’s person account. |
| PeriodEnd__c |
|
ContactContactRelation__c.EndDate__c | N/A |
| PeriodStart__c |
|
ContactContactRelation__c.StartDate__c | N/A |
| RelationshipCode__c |
|
ContactContactRelation__c.Role__c | While the EHR data model defines relationship as a code, the Clinical data model implementation is a reference to ReicprocalRole__c. |
| RelationshipLabel__c |
|
||
| RelationshipSystem__c |
|
||
| SourceSystem__c |
|
Account.SourceSystem | The source system information is recorded on the parent patient record. |
| SourceSystemId__c |
|
Account.SourceSystemIdentifier | |
| SourceSystemModified__c |
|
Account.SourceSystemModified | |
| Telecom{1-5}PeriodEndDate__c |
|
ContactPointPhone | The telecom information for a patient’s contact person is represented as ContactPointPhone records that reference the patient contact person’s account record using their ContactPointPhone.ParentId field. |
| Telecom{1-5}PeriodStartDate__c |
|
||
| Telecom{1-5}System__c |
|
||
| Telecom{1-5}Use__c |
|
||
| Telecom{1-5}Value__c |
|