core.medplumclient.createdocumentreference
Home > @medplum/core > MedplumClient > createDocumentReference
MedplumClient.createDocumentReference() method
Creates a FHIR DocumentReference resource with the provided data content.
Signature:
createDocumentReference(createDocumentReferenceOptions: CreateDocumentReferenceOptions, requestOptions?: MedplumRequestOptions): Promise<DocumentReference>;
Parameters
Parameter | Type | Description |
---|---|---|
createDocumentReferenceOptions | The document reference creation options. See | |
requestOptions | (Optional) Optional fetch options. |
Returns:
Promise<DocumentReference>
The new document reference resource.