@medplum/core 4.3.8 → 4.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -374,6 +374,8 @@ export declare function buildElementsContext({ parentContext, path, elements, pr
374
374
 
375
375
  export declare function buildTypeName(components: string[]): string;
376
376
 
377
+ export declare function businessRule(key: string, message: string): OperationOutcome;
378
+
377
379
  /**
378
380
  * Calculates the age in years from the birth date.
379
381
  * @param birthDateStr - The birth date or start date in ISO-8601 format YYYY-MM-DD.
@@ -374,6 +374,8 @@ export declare function buildElementsContext({ parentContext, path, elements, pr
374
374
 
375
375
  export declare function buildTypeName(components: string[]): string;
376
376
 
377
+ export declare function businessRule(key: string, message: string): OperationOutcome;
378
+
377
379
  /**
378
380
  * Calculates the age in years from the birth date.
379
381
  * @param birthDateStr - The birth date or start date in ISO-8601 format YYYY-MM-DD.