Newer Version Available
DocumentReference
The DocumentReference FHIR resource maps to
the DiagnosticSummary and DiagnosticSummaryDetail objects in Salesforce.
FHIR V4.0 - Clinical Data Model Mapping
Here’s how the fields defined by FHIR for DocumentReference map to the fields in Salesforce.
| DocumentReference Resource | Salesforce Field | Type | Salesforce Cardinality | Notes |
|---|---|---|---|---|
| MasterIdentifier | N/A | N/A | N/A | Not supported |
| identifier | Identifier | Object | 0.M | The identifier information for a documentReference is represented as Identifier records that reference the DiagnosticSummary record using their Identifier.ParentRecordId field. |
| status | DiagnosticSummary.Status | Picklist | 1.1 | While FHIR defines documentReference.status as a code, the Salesforce implementation is a picklist. |
| docStatus | DiagnosticSummary.DocumentStage | Picklist | 0.1 | While FHIR defines documentReference.docStatus as a code, the Salesforce implementation is a picklist. |
| type | DiagnosticSummary.DocumentTypeCodeId | Lookup: CodeSetBundle | 0.1 | N/A |
| category | DiagnosticSummary.Category | Multi-Select Picklist | 0.M | While FHIR defines documentReference.category as a codeable concept, the Salesforce implementation is a picklist. |
| subject | DiagnosticSummary.PatientId | Maste-Detail: Account | 1.1 | The Salesforce implementation supports only patients as subjects of a document reference. |
| date | DiagnosticSummary.IssuedDateTime | DateTime | 0.1 | N/A |
| author | DiagnosticSummaryDetail | Object | 0.M | The 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 | DiagnosticSummary.AuthenticatorId | Lookup: Healthcare Provider, Account, Contact, User | 0.1 | The Salesforce implementation doesn’t directly support practitionerRole or HealthcarePractitionerFacility records as authenticators. |
| custodian | DiagnosticSummary.CustodianId | Lookup: Account | 0.1 | N/A |
| relatesTo.code | DiagnosticSummaryDetail.DocumentRelationType | Picklist | 0.M | The related document information of a document reference is represented using the DiagnosticSummaryDetail child object. The DetailRecordId field references the related document, the DocumentRelationType 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 | DiagnosticSummaryDetail.DetailRecord | Lookup: DiagnosticSummary | 0.M | |
| description | DiagnosticSummary.Summary | String | 0.1 | While FHIR defines documentReference.statusReason as a zero-to-many codeable concept, the Salesforce implementation is a zero-to-one picklist. |
| securityLabel | DiagnosticSummary.DocumentSecurityCode | Lookup: CodeSetBundle | 0.1 | N/A |
| content.attachment | DiagnosticSummary.ReportAttachmentId | Lookup: Attachment | 0.1 | While FHIR defines documentReference.Content as a one-to-many resource, the Salesforce implementation is zero-to-one. |
| content.format | DiagnosticSummary.DocumentFormatCode | Lookup: CodeSet | 0.1 | N/A |
| context.encounter | DiagnosticSummary��Detail | Object | 0.M | The 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.event | N/A | N/A | N/A | Not supported |
| context.period | N/A | N/A | N/A | Not supported |
| context.facilityType | N/A | N/A | N/A | Not supported |
| context.practiceSetting | N/A | N/A | N/A | Not supported |
| context.sourcePatientInfo | N/A | N/A | N/A | Not supported |
| context.related | N/A | N/A | N/A | Not supported |
Sample Record Diagram
Here's a diagram that shows an example of how this resource is represented in Salesforce.