Storing FHIR Data in the Packaged EHR Data Model

The FHIR (Fast Healthcare Interoperability Resources) specification is offered as a consistent, easy to implement, and rigorous mechanism for exchanging data between healthcare applications. It can be used as a stand-alone data exchange standard or in combination with other standards, such as HL7.

FHIR Patient Resource to Salesforce Account Object 

The Patient resource in FHIR maps to the Account object and the EhrPatient object in Salesforce. This table shows the target fields in the Account object.

FHIR FieldSalesforce FieldNotes
name.givenFirstNameIn the FHIR name object, filter for use=official.
name.familyLastNameIn the FHIR name object, filter for use=official.
activeActive__c 
genderGender__pc 
maritalStatus.coding..displayMarital_Status__pc 
birthDatePersonBirthdate 
telecom.valuePersonHomePhoneFilter for use=home and then for use=mobile.
identifier.valueMedicalRecordNumber__cIn the FHIR Identifier object, filter for type.coding.code=MR.
identifier.valueSourceSystemId__cIn the FHIR Identifier object, filter for type.coding.code=MR.
address.linePersonMailingStreetIn the FHIR address object, filter for type=both or type=postal.
address.cityPersonMailingCityIn the FHIR address object, filter for type=both or type=postal.
address.statePersonMailingStateIn the FHIR address object, filter for type=both or type=postal.
address.postalCodePersonMailingPostalCodeIn the FHIR address object, filter for type=both or type=postal.
address.countryPersonMailingCountryIn the FHIR address object, filter for type=both or type=postal.

See Also

FHIR Patient Resource to Salesforce EhrPatient Object 

The Patient resource in FHIR maps to the EhrPatient object and the Account object in Salesforce. This table shows the target fields in the EhrPatient object.

FHIR FieldSalesforce FieldNotes
name.givenGivenName1__cIn the FHIR name object, filter for use=official.
name.familyFamilyName1__cIn the FHIR name object, filter for use=official.
genderGenderLabel__cIn the FHIR name object, filter for use=official.
deceasedBooleanDeceased__cIn the FHIR name object, filter for use=official.
birthDateBirthDate__cIn the FHIR name object, filter for use=official.
maritalStatus.coding.displayMaritalStatusLabel__cIn the FHIR name object, filter for use=official.
identifier.valueMedicalRecordNumber__cIn the FHIR identifier object, filter for type.coding.code=MR.
identifier.valueSourceSystemId__cIn the FHIR identifier object, filter for type.coding.code=MR.
identifier.systemSourceSystem__cIn the FHIR identifier object, filter for type.coding.code=MR.
address.lineAddress1Line1__cIn the FHIR address object, filter for type=both or type=postal.
address.cityAddress1City__cIn the FHIR address object, filter for type=both or type=postal.
address.stateAddress1State__cIn the FHIR address object, filter for type=both or type=postal.
address.postalCodeAddress1PostalCode__cIn the FHIR address object, filter for type=both or type=postal.
address.countryAddress1Country__cIn the FHIR address object, filter for type=both or type=postal.
telecom.systemTelecom[ind]System__cIn the FHIR telecom object, the destination field contains an integer that is the index to the telecom record.
telecom.useTelecom[ind]Use__cIn the FHIR telecom object, the destination field contains an integer that is the index to the telecom record.
telecom.valueTelecom[ind]Value__cIn the FHIR telecom object, the destination field contains an integer that is the index to the telecom record.

See Also

FHIR Condition Resource to Salesforce EhrCondition Object 

The FHIR Condition resource maps to the Salesforce EhrCondition object.

FHIR FieldSalesforce FieldNotes
idIdA lookup in Health Cloud is done to verify that this exists.
subject.referenceAccount__cSplit this value on / and take the part to the right.
category.coding.codeCategoryCode__c 
category.coding.systemCategorySystem__c 
category.coding.codeCode__c 
category.coding.displayCodeLabel__c 
category.coding.systemCodeSystem__c 
stage.summary.codingStage__c 
identifier.valueSourceSystemId__c 
clinicalStatus.coding.codeStatusCode__cIn the FHIR Coding object, filter for code=active.
clinicalStatus.coding.displayStatusLabel__cIn the FHIR Coding object, filter for code=active.
clinicalStatus.coding.systemStatusSystem__cIn the FHIR Coding object, filter for code=active.
severity.codeSeverityCode__c 
severity.displaySeverityLabel__c 
severity.systemSeveritySystem__c 
evidence.codeEvidenceCode__c 
evidence.displayEvidenceDetail__c 
evidence.displayEvidenceLabel__c 
evidence.systemEvidenceSystem__c 

See Also

FHIR Observation Resource to Salesforce EhrObservation Object 

Map the Observation resource in FHIR to the EhrObservation object in Salesforce.

FHIR FieldSalesforce FieldNotes
idIdA lookup in Health Cloud is done to verify this exists.
identifier.valueSourceSystemId__cSplit this value on / and take the part to the right.
statusStatus__c 
bodySite.coding.codeBodySiteCode__c 
bodySite.coding.displayBodySiteLabel__c 
bodySite.coding.systemBodySiteSystem__c 
noteComments__c 
interpretation.coding.codeInterpretationCode__c 
interpretation.coding.displayInterpretationLabel__c 
interpretation.coding.systemInterpretationSystem__c 
method.coding.codeMethodCode__c 
method.coding.displayMethodLabel__c 
method.coding.systemMethodSystem__c 
valueCodeableConcept.coding.codeValueCode__c 
valueStringValueLabel__c 
valuePeriod.endValuePeriodEndDate__c 
valuePeriod.startValuePeriodStartDate__c 
valueQuantity.valueValueQuantity__c 
valueQuantity.unitValueQuantityUnit__c 

See Also

FHIR AllergyIntolerance Resource to Salesforce EhrAllergyIntolerance Object 

The AllergyIntolerance resource in FHIR maps to the EhrAllergyIntolerance object in Salesforce.

FHIR FieldSalesforce FieldNotes
idIdA lookup in Health Cloud is done to verify that this exists.
subject.referenceAccount__cSplit this value on / and take the part to the right.
criticalityCriticalityCode__c 
reaction.manifestation.coding.code/displayReaction255__cCode is concatenated for display and is limited to 255 characters.
reaction.manifestation.coding.displayReaction__c 
identifier.valueSourceSystemId__c 
code.coding.codeSubstanceCode__c 
code.coding.displaySubstance255__c 
criticalityCriticalityLabel__c 
verificationStatus.coding.codeStatusLabel__c 

See Also