update All feture and service
This commit is contained in:
No files matched your search
@@ -1,7 +1,6 @@
|
||||
package medicationdispense
|
||||
|
||||
import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"service/internal/interfaces/satusehat"
|
||||
@@ -10,10 +9,7 @@ import (
|
||||
func MapRequestToFHIR(req MedicationDispenseRequest) satusehat.FHIRPayload {
|
||||
payload := satusehat.NewFHIRPayload("MedicationDispense")
|
||||
|
||||
orgID := os.Getenv("SATUSEHAT_ORG_ID")
|
||||
if orgID == "" {
|
||||
orgID = req.OrganizationID
|
||||
}
|
||||
orgID := req.OrganizationID
|
||||
|
||||
if orgID != "" && req.PrescriptionID != "" {
|
||||
identifiers := []map[string]interface{}{
|
||||
|
||||
Reference in New Issue
Block a user