Skip to content

Commit

Permalink
fix lab-results test
Browse files Browse the repository at this point in the history
  • Loading branch information
Twiineenock committed Dec 19, 2024
1 parent 79e51c1 commit 938572d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface OrderDiscontinuationPayload {
encounter: string;
patient: string;
concept: string;
orderer: string;
orderer: { uuid: string };
}

export function useOrderConceptByUuid(uuid: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const LabResultsForm: React.FC<LabResultsFormProps> = ({
encounter: order.encounter.uuid,
patient: order.patient.uuid,
concept: order.concept.uuid,
orderer: order.orderer.uuid,
orderer: { uuid: order.orderer.uuid },
};
const resultsStatusPayload = {
fulfillerStatus: 'COMPLETED',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ describe('LabResultsForm', () => {
careSetting: 'care-setting-uuid',
concept: 'concept-uuid',
encounter: 'encounter-uuid',
orderer: mockOrder.orderer,
orderer: { uuid: mockOrder.orderer.uuid },
patient: 'patient-uuid',
previousOrder: 'order-uuid',
type: 'testorder',
Expand Down

0 comments on commit 938572d

Please sign in to comment.