jay_stark
09/20/2023, 6:35 PMrahul1
09/20/2023, 7:15 PMjay_stark
09/21/2023, 12:27 PMjay_stark
09/21/2023, 12:28 PMrahul1
09/21/2023, 7:20 PMPlanDefinition (Wellness vs. Wellness+)
- Single activity definition, with a single code, with all 6 Observation definitions, as shown with the electrolyte panel here (https://www.medplum.com/docs/careplans/diagnostic-catalog)
- In the client that consumes lab results, check which PlanDefinition is being fulfilled, and create the appropriate DiagnosticReport resource with links to the appropriate Observations
This approach simplifies your lab operations, and keeps your consumer facing business logic co-located
-- Option 2 --
- Two PlanDefinition (Wellness vs. Wellness+)
- Two ActivityDefinitions, with a shared code (indicating the shared procedure). One activity definition links to 3 Observation definitions, and the other links to all 6
This approach is more data-driven, but presents some duplication across activity definitions. There will have to be some logic on your lab operations that will need to filter out results produced by the lab based on the activity definitionjay_stark
09/22/2023, 9:32 AMrahul1
09/22/2023, 6:51 PMjay_stark
09/22/2023, 9:09 PMrahul1
09/23/2023, 1:22 AMjay_stark
09/23/2023, 6:32 AM