perbaikan handles bpjs

This commit is contained in:
2025-08-29 18:17:53 +07:00
parent 0545bd2298
commit 3951fd87a7
7 changed files with 825 additions and 2478 deletions

View File

@@ -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": {

View File

@@ -696,313 +696,6 @@
}
}
}
},
"/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": {
@@ -1431,404 +1124,6 @@
}
}
},
"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": {

View File

@@ -292,272 +292,6 @@ definitions:
message:
type: string
type: object
reference.BaseResponse:
properties:
message:
type: string
request_id:
type: string
status:
type: string
timestamp:
type: string
type: object
reference.ErrorResponse:
properties:
code:
type: string
errors:
additionalProperties: true
type: object
message:
type: string
request_id:
type: string
status:
type: string
type: object
reference.PesertaData:
properties:
aktif:
type: string
asuransi:
type: string
cob:
type: string
kdCabang:
type: string
kdJnsPst:
type: string
ketAktif:
type: string
klsRawat:
type: string
mr:
properties:
nmMR:
type: string
noMR:
type: string
sex:
type: string
tglLahir:
type: string
tglMeninggal:
type: string
type: object
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
type: object
reference.PesertaResponse:
properties:
data:
$ref: '#/definitions/reference.PesertaData'
message:
type: string
metaData: {}
request_id:
type: string
status:
type: string
timestamp:
type: string
type: object
reference.RujukanData:
properties:
diagnosa:
properties:
kdDiagnosa:
type: string
nmDiagnosa:
type: string
type: object
kelasRawat:
type: string
nama:
type: string
noKartu:
type: string
noRujukan:
type: string
pelayanan:
type: string
poliRujukan:
properties:
kdPoli:
type: string
nmPoli:
type: string
type: object
provPerujuk:
properties:
kdProvider:
type: string
nmProvider:
type: string
type: object
statusRujukan:
type: string
tglRujukan:
type: string
type: object
reference.RujukanResponse:
properties:
data:
$ref: '#/definitions/reference.RujukanData'
list:
items:
$ref: '#/definitions/reference.RujukanData'
type: array
message:
type: string
request_id:
type: string
status:
type: string
timestamp:
type: string
type: object
reference.SEPData:
properties:
catatan:
type: string
diagnosa:
type: string
informasi:
properties:
dpjpLayan:
type: string
noSKDP:
type: string
noTelp:
type: string
subSpesialis:
type: string
type: object
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
type: object
reference.SEPRequest:
properties:
catatan:
type: string
diagnosa:
type: string
jnsPelayanan:
enum:
- "1"
- "2"
type: string
klsRawat:
enum:
- "1"
- "2"
- "3"
type: string
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
required:
- diagnosa
- jnsPelayanan
- klsRawat
- noKartu
- noMR
- poli
- ppkPelayanan
- tglSep
- user
type: object
reference.SEPResponse:
properties:
data:
$ref: '#/definitions/reference.SEPData'
message:
type: string
request_id:
type: string
status:
type: string
timestamp:
type: string
type: object
reference.SEPRujukan:
properties:
asalRujukan:
enum:
- "1"
- "2"
type: string
noRujukan:
type: string
ppkRujukan:
type: string
tglRujukan:
type: string
required:
- asalRujukan
- noRujukan
- ppkRujukan
- tglRujukan
type: object
sql.NullString:
properties:
string:
@@ -1033,203 +767,6 @@ paths:
summary: Generate token directly
tags:
- Token
/peserta/:nokartu:
get:
consumes:
- application/json
description: Get participant eligibility information
parameters:
- description: Nokartu
in: path
name: nokartu
required: true
type: string
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Get Peserta data
tags:
- vclaim
- peserta
/rujukan/:norujukan:
get:
consumes:
- application/json
description: Get referral information
parameters:
- description: Norujukan
in: path
name: norujukan
required: true
type: string
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Get Rujukan data
tags:
- vclaim
- rujukan
/sep:
post:
consumes:
- application/json
description: Manage SEP (Surat Eligibilitas Peserta)
parameters:
- description: Sep data
in: body
name: request
required: true
schema:
$ref: '#/definitions/reference.SEPRequest'
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Create Sep
tags:
- vclaim
- sep
/sep/:nosep:
delete:
consumes:
- application/json
description: Manage SEP (Surat Eligibilitas Peserta)
parameters:
- description: Nosep
in: path
name: nosep
required: true
type: string
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Delete Sep
tags:
- vclaim
- sep
get:
consumes:
- application/json
description: Manage SEP (Surat Eligibilitas Peserta)
parameters:
- description: Nosep
in: path
name: nosep
required: true
type: string
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Get Sep data
tags:
- vclaim
- sep
put:
consumes:
- application/json
description: Manage SEP (Surat Eligibilitas Peserta)
parameters:
- description: Nosep
in: path
name: nosep
required: true
type: string
- description: Sep data
in: body
name: request
required: true
schema:
$ref: '#/definitions/reference.SEPRequest'
produces:
- application/json
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'
security:
- ApiKeyAuth: []
summary: Update Sep
tags:
- vclaim
- sep
schemes:
- http
- https