update All feture and service
This commit is contained in:
No files matched your search
@@ -1,7 +1,6 @@
|
||||
package medication
|
||||
|
||||
import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"service/internal/interfaces/satusehat"
|
||||
@@ -10,10 +9,7 @@ import (
|
||||
func MapRequestToFHIR(req MedicationRequest) satusehat.FHIRPayload {
|
||||
payload := satusehat.NewFHIRPayload("Medication")
|
||||
|
||||
orgID := os.Getenv("SATUSEHAT_ORG_ID")
|
||||
if orgID == "" {
|
||||
orgID = req.OrganizationID
|
||||
}
|
||||
orgID := req.OrganizationID
|
||||
|
||||
// Set Meta Profile secara otomatis
|
||||
payload.Set("meta", map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user