beda-software / fhir-client-testing-tool

2 stars 0 forks source link

Use workspaces to organize virtual packages structure #7

Closed ir4y closed 4 days ago

ir4y commented 4 weeks ago

For example here should be import from validator package https://github.com/beda-software/fhir-client-testing-tool/blob/main/src/suites/1.0.0-ballot/patients.spec.ts#L5 instead of relative import.

Check https://github.com/medplum/medplum as a reference

projkov commented 1 week ago

Now all independent modules are stored in the packages/*

ir4y commented 1 week ago

We need the following packages structure:

projkov commented 6 days ago

Try to use tests without export

projkov commented 6 days ago

Remove helpers

projkov commented 6 days ago

await isResourceValid(request.requestBody as Patient))

Use guard

projkov commented 6 days ago

function checkAvailableParams(availableParams: string[], combo: boolean, requests: Request[])

check subset and superset