15 lines
305 B
Go
15 lines
305 B
Go
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"),
|
|
}
|
|
}
|