Skip to content

Complete order-sign and order-select CDS hook model and data generator implementations #31

@jenniferjiangkells

Description

@jenniferjiangkells

order-sign and order-select require additional required fields of draftOrders and selections which have not been implemented yet.

draftOrders: A Bundle of FHIR request resources with a draft status, representing orders that aren't yet signed from the current ordering session.

selections: The FHIR id of the newly selected order(s). The selections field references FHIR resources in the draftOrders Bundle. For example, MedicationRequest/103.

Steps required to complete this task:

  • Implement data generator methods for MedicationRequest, ProcedureRequest, ServiceRequest FHIR resources
  • Implement data generator logic for order-sign and order-select workflows
  • Implement validation logic for selections field in OrderSignHookContext Pydantic model
  • Test this against Epic FHIR sandbox

Metadata

Metadata

Labels

Component: GatewayIssue/PR that handles connections, API gateways

Type

Projects

Status

In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions