perbaikan handles bpjs
This commit is contained in:
705
docs/docs.go
705
docs/docs.go
@@ -699,313 +699,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/peserta/:nokartu": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get participant eligibility information",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"peserta"
|
||||
],
|
||||
"summary": "Get Peserta data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Nokartu",
|
||||
"name": "nokartu",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.PesertaResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/rujukan/:norujukan": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Get referral information",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"rujukan"
|
||||
],
|
||||
"summary": "Get Rujukan data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Norujukan",
|
||||
"name": "norujukan",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.RujukanResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sep": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"sep"
|
||||
],
|
||||
"summary": "Create Sep",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Sep data",
|
||||
"name": "request",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.SEPRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "Created",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.SEPResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sep/:nosep": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"sep"
|
||||
],
|
||||
"summary": "Get Sep data",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.SEPResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"sep"
|
||||
],
|
||||
"summary": "Update Sep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Sep data",
|
||||
"name": "request",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.SEPRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.SEPResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"delete": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Manage SEP (Surat Eligibilitas Peserta)",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"vclaim",
|
||||
"sep"
|
||||
],
|
||||
"summary": "Delete Sep",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Nosep",
|
||||
"name": "nosep",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.BaseResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/reference.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
@@ -1434,404 +1127,6 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.BaseResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.ErrorResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"errors": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.PesertaData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"aktif": {
|
||||
"type": "string"
|
||||
},
|
||||
"asuransi": {
|
||||
"type": "string"
|
||||
},
|
||||
"cob": {
|
||||
"type": "string"
|
||||
},
|
||||
"kdCabang": {
|
||||
"type": "string"
|
||||
},
|
||||
"kdJnsPst": {
|
||||
"type": "string"
|
||||
},
|
||||
"ketAktif": {
|
||||
"type": "string"
|
||||
},
|
||||
"klsRawat": {
|
||||
"type": "string"
|
||||
},
|
||||
"mr": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nmMR": {
|
||||
"type": "string"
|
||||
},
|
||||
"noMR": {
|
||||
"type": "string"
|
||||
},
|
||||
"sex": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglLahir": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglMeninggal": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"nama": {
|
||||
"type": "string"
|
||||
},
|
||||
"nik": {
|
||||
"type": "string"
|
||||
},
|
||||
"nmCabang": {
|
||||
"type": "string"
|
||||
},
|
||||
"nmJnsPst": {
|
||||
"type": "string"
|
||||
},
|
||||
"noKartu": {
|
||||
"type": "string"
|
||||
},
|
||||
"noKtp": {
|
||||
"type": "string"
|
||||
},
|
||||
"noSKTM": {
|
||||
"type": "string"
|
||||
},
|
||||
"pisa": {
|
||||
"type": "string"
|
||||
},
|
||||
"sex": {
|
||||
"type": "string"
|
||||
},
|
||||
"statusPeserta": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglLahir": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglTAT": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglTMT": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglTunggak": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.PesertaResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/reference.PesertaData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"metaData": {},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.RujukanData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"diagnosa": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kdDiagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"nmDiagnosa": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"kelasRawat": {
|
||||
"type": "string"
|
||||
},
|
||||
"nama": {
|
||||
"type": "string"
|
||||
},
|
||||
"noKartu": {
|
||||
"type": "string"
|
||||
},
|
||||
"noRujukan": {
|
||||
"type": "string"
|
||||
},
|
||||
"pelayanan": {
|
||||
"type": "string"
|
||||
},
|
||||
"poliRujukan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kdPoli": {
|
||||
"type": "string"
|
||||
},
|
||||
"nmPoli": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"provPerujuk": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kdProvider": {
|
||||
"type": "string"
|
||||
},
|
||||
"nmProvider": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"statusRujukan": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglRujukan": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.RujukanResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/reference.RujukanData"
|
||||
},
|
||||
"list": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/reference.RujukanData"
|
||||
}
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.SEPData": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"catatan": {
|
||||
"type": "string"
|
||||
},
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"informasi": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dpjpLayan": {
|
||||
"type": "string"
|
||||
},
|
||||
"noSKDP": {
|
||||
"type": "string"
|
||||
},
|
||||
"noTelp": {
|
||||
"type": "string"
|
||||
},
|
||||
"subSpesialis": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"jnsPelayanan": {
|
||||
"type": "string"
|
||||
},
|
||||
"klsRawat": {
|
||||
"type": "string"
|
||||
},
|
||||
"noMR": {
|
||||
"type": "string"
|
||||
},
|
||||
"noSep": {
|
||||
"type": "string"
|
||||
},
|
||||
"peserta": {
|
||||
"$ref": "#/definitions/reference.PesertaData"
|
||||
},
|
||||
"poli": {
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/reference.SEPRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.SEPRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"diagnosa",
|
||||
"jnsPelayanan",
|
||||
"klsRawat",
|
||||
"noKartu",
|
||||
"noMR",
|
||||
"poli",
|
||||
"ppkPelayanan",
|
||||
"tglSep",
|
||||
"user"
|
||||
],
|
||||
"properties": {
|
||||
"catatan": {
|
||||
"type": "string"
|
||||
},
|
||||
"diagnosa": {
|
||||
"type": "string"
|
||||
},
|
||||
"jnsPelayanan": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"klsRawat": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1",
|
||||
"2",
|
||||
"3"
|
||||
]
|
||||
},
|
||||
"noKartu": {
|
||||
"type": "string"
|
||||
},
|
||||
"noMR": {
|
||||
"type": "string"
|
||||
},
|
||||
"noTelp": {
|
||||
"type": "string"
|
||||
},
|
||||
"poli": {
|
||||
"type": "string"
|
||||
},
|
||||
"ppkPelayanan": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"rujukan": {
|
||||
"$ref": "#/definitions/reference.SEPRujukan"
|
||||
},
|
||||
"tglSep": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.SEPResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/reference.SEPData"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"request_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"reference.SEPRujukan": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"asalRujukan",
|
||||
"noRujukan",
|
||||
"ppkRujukan",
|
||||
"tglRujukan"
|
||||
],
|
||||
"properties": {
|
||||
"asalRujukan": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
]
|
||||
},
|
||||
"noRujukan": {
|
||||
"type": "string"
|
||||
},
|
||||
"ppkRujukan": {
|
||||
"type": "string"
|
||||
},
|
||||
"tglRujukan": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sql.NullString": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user