Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntakeObject ¶
type IntakeObject interface { ObjectID() string ObjectType() string CreateIntakeModel(context.Context) (*wire.IntakeInput, error) }
IntakeObject represents a type that can be submitted to the CEDAR Intake API
type SchemaVersion ¶
type SchemaVersion string
SchemaVersion is a human-readable version for the schemas EASi sends to the CEDAR Intake API
const ( // IntakeInputSchemaEASIActionVersion captures the current schema version for Actions IntakeInputSchemaEASIActionVersion SchemaVersion = "EASIActionV01" // IntakeInputSchemaEASIBizCaseVersion captures the current schema version for Business Cases IntakeInputSchemaEASIBizCaseVersion SchemaVersion = "EASIBizCaseV04" // IntakeInputSchemaEASIGrtFeedbackVersion captures the current schema version for GRT Feedback IntakeInputSchemaEASIGrtFeedbackVersion SchemaVersion = "EASIGrtFeedbackV02" // IntakeInputSchemaEASIIntakeVersion captures the current schema version for System Intakes IntakeInputSchemaEASIIntakeVersion SchemaVersion = "EASIIntakeV07" // IntakeInputSchemaEASINoteVersion captures the current schema version for Notes IntakeInputSchemaEASINoteVersion SchemaVersion = "EASINoteV01" )
type TranslatableAction ¶
TranslatableAction is a wrapper around our Action model for translating into the CEDAR Intake API schema
func (*TranslatableAction) CreateIntakeModel ¶
func (action *TranslatableAction) CreateIntakeModel(ctx context.Context) (*wire.IntakeInput, error)
CreateIntakeModel translates an Action into an IntakeInput
func (*TranslatableAction) ObjectID ¶
func (action *TranslatableAction) ObjectID() string
ObjectID is a unique identifier for a TranslatableAction
func (*TranslatableAction) ObjectType ¶
func (action *TranslatableAction) ObjectType() string
ObjectType is a human-readable identifier for the Action type, for use in logging
type TranslatableBusinessCase ¶
type TranslatableBusinessCase models.BusinessCase
TranslatableBusinessCase is a wrapper around our BusinessCase model for translating into the CEDAR Intake API schema
func (*TranslatableBusinessCase) CreateIntakeModel ¶
func (bc *TranslatableBusinessCase) CreateIntakeModel(ctx context.Context) (*wire.IntakeInput, error)
CreateIntakeModel translates a BusinessCase into an IntakeInput
func (*TranslatableBusinessCase) ObjectID ¶
func (bc *TranslatableBusinessCase) ObjectID() string
ObjectID is a unique identifier for a TranslatableAction
func (*TranslatableBusinessCase) ObjectType ¶
func (bc *TranslatableBusinessCase) ObjectType() string
ObjectType is a human-readable identifier for the BusinessCase type, for use in logging
type TranslatableNote ¶
type TranslatableNote models.SystemIntakeNote
TranslatableNote is a wrapper around our Note model for translating into the CEDAR Intake API schema
func (*TranslatableNote) CreateIntakeModel ¶
func (note *TranslatableNote) CreateIntakeModel(ctx context.Context) (*wire.IntakeInput, error)
CreateIntakeModel translates a Note into an IntakeInput
func (*TranslatableNote) ObjectID ¶
func (note *TranslatableNote) ObjectID() string
ObjectID is a unique identifier for a TranslatableNote
func (*TranslatableNote) ObjectType ¶
func (note *TranslatableNote) ObjectType() string
ObjectType is a human-readable identifier for the Note type, for use in logging
type TranslatableSystemIntake ¶
type TranslatableSystemIntake models.SystemIntake
TranslatableSystemIntake is a wrapper around our SystemIntake model for translating into the CEDAR Intake API schema
func (*TranslatableSystemIntake) CreateIntakeModel ¶
func (si *TranslatableSystemIntake) CreateIntakeModel(ctx context.Context) (*wire.IntakeInput, error)
CreateIntakeModel translates a SystemIntake into an IntakeInput
func (*TranslatableSystemIntake) ObjectID ¶
func (si *TranslatableSystemIntake) ObjectID() string
ObjectID is a unique identifier for a TranslatableSystemIntake
func (*TranslatableSystemIntake) ObjectType ¶
func (si *TranslatableSystemIntake) ObjectType() string
ObjectType is a human-readable identifier for the SystemIntake type, for use in logging