penambahan All case Satu sehat
This commit is contained in:
No files matched your search
@@ -1,19 +1,26 @@
|
||||
package procedure
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"time"
|
||||
|
||||
"service/internal/satusehat/common"
|
||||
)
|
||||
|
||||
type ProcedureRequest struct {
|
||||
PatientID string `json:"patient_id" binding:"required"`
|
||||
PatientName string `json:"patient_name" binding:"required"`
|
||||
EncounterID string `json:"encounter_id" binding:"required"`
|
||||
Status string `json:"status" binding:"required,oneof=preparation in-progress not-done on-hold stopped completed entered-in-error unknown"` // preparation, in-progress, not-done, on-hold, stopped, completed, entered-in-error, unknown
|
||||
CategoryCode string `json:"category_code" binding:"required"`
|
||||
CategoryDisplay string `json:"category_display" binding:"required"`
|
||||
Code string `json:"code" binding:"required"` // SNOMED-CT or ICD9CM code
|
||||
Display string `json:"display" binding:"required"` // Procedure name
|
||||
PractitionerID string `json:"practitioner_id" binding:"required"`
|
||||
PractitionerName string `json:"practitioner_name" binding:"required"`
|
||||
PerformedDateTime time.Time `json:"performed_date_time" binding:"required"`
|
||||
OrganizationID string `json:"organization_id,omitempty"`
|
||||
ProcedureID string `json:"procedure_id,omitempty"`
|
||||
Status string `json:"status" binding:"required,oneof=preparation in-progress not-done on-hold stopped completed entered-in-error unknown"`
|
||||
Category []*common.CodeableConceptDTO `json:"category,omitempty"`
|
||||
Code *common.CodeableConceptDTO `json:"code" binding:"required"`
|
||||
Subject *common.ReferenceDTO `json:"subject" binding:"required"`
|
||||
Encounter *common.ReferenceDTO `json:"encounter,omitempty"`
|
||||
PerformedDateTime *time.Time `json:"performed_date_time,omitempty"`
|
||||
PerformedStart *time.Time `json:"performed_start,omitempty"`
|
||||
PerformedEnd *time.Time `json:"performed_end,omitempty"`
|
||||
Performer []common.ReferenceDTO `json:"performer,omitempty"`
|
||||
ReasonCode []*common.CodeableConceptDTO `json:"reason_code,omitempty"`
|
||||
BodySite []*common.CodeableConceptDTO `json:"body_site,omitempty"`
|
||||
Note []string `json:"note,omitempty"`
|
||||
}
|
||||
|
||||
type ProcedurePatchRequest []map[string]interface{}
|
||||
Reference in New Issue
Block a user