core.getreferencestring
Home > @medplum/core > getReferenceString
getReferenceString() function
Returns a reference string for a resource.
Signature:
export declare function getReferenceString(input: Reference | Resource): string;
Parameters
Parameter | Type | Description |
---|---|---|
input | Reference | Resource | The FHIR resource or reference. |
Returns:
string
A reference string of the form resourceType/id.