mastering bridging
This commit is contained in:
14
pkg/common/master_data.go
Normal file
14
pkg/common/master_data.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package common
|
||||
|
||||
import (
|
||||
"os"
|
||||
"satusehat-rssa/internal/model"
|
||||
)
|
||||
|
||||
func GetIdentifier(typeName string) model.Identifier {
|
||||
return model.Identifier{
|
||||
Use: "official",
|
||||
System: "http://sys-ids.kemkes.go.id/" + typeName + "/" + os.Getenv("ORGANIZATION_ID"),
|
||||
Value: os.Getenv("ORGANIZATION_ID"),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user