Document​Reference

The Document​Reference F​HI​R resource maps to the Diagnostic​Summary and Diagnostic​SummaryDetail objects in Salesforce​.

F​HI​R V4​.0 - ​Clinical ​Data ​Model ​Mapping 

​Here’s how the fields defined by F​HI​R for Document​Reference map to the fields in Salesforce​.

Document​Reference ​ResourceSalesforce Field​TypeSalesforce ​CardinalityNotes
Master​IdentifierN/​AN/​AN/​ANot supported
identifier​​​IdentifierObject0​.​MThe identifier information for a documentReference is represented as Identifier records that reference the DiagnosticSummary record using their ​​​Identifier​.​Parent​RecordId field​.
status​​Diagnostic​Summary​.StatusPicklist1.1While FHIR defines document​Reference.status as a code, the Salesforce implementation is a picklist.
docStatus​​Diagnostic​Summary​.Document​StagePicklist0.1While FHIR defines document​Reference.docStatus as a code, the Salesforce implementation is a picklist.
type​​Diagnostic​Summary​.Document​Type​CodeIdLookup: CodeSet​Bundle0.1N/A
category​​Diagnostic​Summary​.CategoryMulti-Select Picklist0.MWhile FHIR defines documentReference.category as a codeable concept, the Salesforce implementation is a picklist.
subject​​Diagnostic​Summary​.PatientIdMaste-Detail: Account1.1The Salesforce implementation supports only patients as subjects of a document reference.
date​​Diagnostic​Summary​.Issued​Date​TimeDateTime0.1N/A
author​​Diagnostic​Summary​DetailObject0.MThe author information of a document reference is represented using the DiagnosticSummaryDetail child object. The DetailRecordId field references the author, the DetailTypefield specifies the child record type as Author, and the DiagnosticSummaryId field references the parent DiagnosticSummary record that represents the document reference.
authenticator​​Diagnostic​Summary​.Authenticator​IdLookup: Healthcare Provider, Account, Contact, User0.1The Salesforce implementation doesn’t directly support practitionerRole or HealthcarePractitionerFacility records as authenticators.
custodian​​Diagnostic​Summary​.Custodian​IdLookup: Account0.1N/A
relatesTo​.code​​Diagnostic​Summary​Detail​.Document​Relation​TypePicklist0.MThe related document information of a document reference is represented using the DiagnosticSummaryDetail child object. The DetailRecordId field references the related document, the Document​Relation​Type field specifies the type of relation, the DetailTypefield specifies the child record type as Related Document, and the DiagnosticSummaryId field references the parent DiagnosticSummary record that represents the document reference.
relatesTo​.target​​Diagnostic​Summary​Detail​.Detail​RecordLookup: Diagnostic​Summary0​.MThe related document information of a document reference is represented using the DiagnosticSummaryDetail child object. The DetailRecordId field references the related document, the Document​Relation​Type field specifies the type of relation, the DetailTypefield specifies the child record type as Related Document, and the DiagnosticSummaryId field references the parent DiagnosticSummary record that represents the document reference.
description​​Diagnostic​Summary.​SummaryString0.1While F​HI​R defines document​Reference.status​Reason as a zero-to-many codeable concept, the Salesforce implementation is a zero-to-one picklist​.
security​Label​​Diagnostic​Summary.​Document​Security​CodeLookup: CodeSet​Bundle0.1N/A
content​.attachment​​Diagnostic​Summary​.Report​AttachmentIdLookup: Attachment0.1While FHIR defines documentReference.Content as a one-to-many resource, the Salesforce implementation is zero-to-one.
content​.format​​Diagnostic​Summary.​Document​Format​CodeLookup: CodeSet​0.1N/A
context​.encounter​​Diagnostic​Summary​DetailObject0.MThe encounter context information of a document reference is represented using the DiagnosticSummaryDetail child object. The DetailRecordId field references the clincial encounter record, the DetailTypefield specifies the child record type as Clinical Encounter, and the DiagnosticSummaryId field references the parent DiagnosticSummary record that represents the document reference.
context​.eventN/​AN/​AN/​ANot supported
context​.periodN/​AN/​AN/​ANot supported
context​.facility​TypeN/​AN/​AN/​ANot supported
context​.practice​SettingN/​AN/​AN/​ANot supported
context​.source​Patient​InfoN/​AN/​AN/​ANot supported
context​.relatedN/​AN/​AN/​ANot supported

Sample Record Diagram 

Here’s a diagram that shows an example of how this resource is represented in Salesforce.

A diagram that shows an example of how a document related to the patient Charles Green is represented in Salesforce.