core.gettypedpropertyvaluewithoutschema
Home > @medplum/core > getTypedPropertyValueWithoutSchema
getTypedPropertyValueWithoutSchema() function
Returns the value of the property and the property type using a type schema. Note that because the type schema is not available, this function may be inaccurate. In some cases, that is the desired behavior.
Signature:
export declare function getTypedPropertyValueWithoutSchema(typedValue: TypedValue, path: string): TypedValue[] | TypedValue | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
typedValue | The base context (FHIR resource or backbone element). | |
path | string | The property path. |
Returns:
TypedValue[] | TypedValue | undefined
The value of the property and the property type.