Companion
object Companion
Functions
Link copied to clipboard
fun of(repository: Repository, resource: CPGCommunicationEvent): ActivityFlow<CPGCommunicationRequest, CPGCommunicationEvent>
Create flow for the Send Message activity with the CPGCommunicationEvent.
fun of(repository: Repository, resource: CPGOrderMedicationEvent<*>): ActivityFlow<CPGMedicationRequest, CPGOrderMedicationEvent<*>>
Create flow for the Order a medication activity with the CPGOrderMedicationEvent.
fun of(repository: Repository, resource: CPGCommunicationRequest): ActivityFlow<CPGCommunicationRequest, CPGCommunicationEvent>
Create flow for the Send Message activity with the CPGCommunicationRequest.
fun of(repository: Repository, resource: CPGMedicationRequest): ActivityFlow<CPGMedicationRequest, CPGOrderMedicationEvent<*>>
Create flow for the Order a medication activity with the CPGMedicationRequest.