ivanwilliammd / satusehat-integration Goto Github PK
View Code? Open in Web Editor NEWSATUSEHAT Integration Library
Home Page: https://packagist.org/packages/ivanwilliammd/satusehat-integration
License: MIT License
SATUSEHAT Integration Library
Home Page: https://packagist.org/packages/ivanwilliammd/satusehat-integration
License: MIT License
halooo
mohon bantuan untuk pengiriman data ke encounter
saya mendapatkan respon
{ "resourceType": "OperationOutcome", "text": { "status": "generated" }, "issue": [ { "severity": "error", "code": "value", "details": { "text": "Wrong organization ID provided by system URL: http://sys-ids.kemkes.go.id/encounter/100025753 (RuleNumber: 10117)" }, "expression": [ "Encounter.identifier[0].system" ] } ] }
saya sudah menggunakan organization id dari master sarana
playload :
{ "resourceType": "Encounter", "identifier": [ { "system": "http://sys-ids.kemkes.go.id/encounter/100025753", "value": "20240221000060" } ], "status": "arrived", "period": { "start": "2024-03-18T04:54:02+00:00" }, "statusHistory": [ { "status": "arrived", "period": { "start": "2024-03-18T04:54:02+00:00" } } ], "class": { "code": "AMB", "display": "ambulatory", "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode" }, "subject": { "reference": "Patient/P01934888239", "display": "LUSIA LERO" }, "participant": [ { "individual": { "reference": "Practitioner/1000687602", "display": "dr. ADE SINYO ARISTANTRISNA, Sp.B" }, "type": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code": "ATND", "display": "attender" } ] } ] } ], "location": [ { "location": { "reference": "Location/7910d7a1-0383-4858-92c9-64471a32c587", "display": "Klinik Bedah" } } ], "serviceProvider": { "reference": "Organization/100025753" } }
apakah ada yang salah dengan data yang saya kirim
mohon bantuannya
Ketika proses post bundle, saya mendapatkan error Undefined array key "code" yang kalau dilihat errornya berasal dari library Encounter->addCondition
terus ketika saya debug dari library Encounter->addCondition dengan perintah var_dump($condition) muncul result seperti ini dan ada notice bahwa “Unauthorized. Token not found”
Undefined array key "code" berasar dari code ini
ini penggunaan library bundle pada controller saya
kira-kira salahnya ada di codingan penerapan bundle atau gimana ya dok?
Describe the bug
Attempt to read property "issue" on null
} catch (ClientException $e) {
$res = json_decode($e->getResponse()->getBody()->getContents());
$issue_information = $res->issue[0]->details->text; // NULL
$this->log($issue_information, 'POST Token', $url, null, (array) $res);
return false;
}
saya mencoba seperti pada dokumentasi untuk melakukan POST Organization dengan code seperti ini
Tetapi ketika saya vardump dan melihat log yang ada di database menunjukkan error 400 seperti ini
ketika saya vardump result dari json nya dan saya masukin melalui postman itu 201 created, tetapi ketika di project saya muncul error seperti itu. Apakah code implementasi saya yang kurang tepat? Mohon bantuannya
Is your feature request related to a problem? Please describe.
Future future Rawat Jalan Fase 2 :
Describe the solution you'd like
Membuat FHIR class resource Observation, Procedure, Composition
Describe alternatives you've considered
Updating 3 class baru tersebut pada src/FHIR
Additional context
https://satusehat.kemkes.go.id/platform/docs/id/api-catalogue/integrations/apis/procedure/
https://satusehat.kemkes.go.id/platform/docs/id/api-catalogue/integrations/apis/composition/
https://satusehat.kemkes.go.id/platform/docs/id/api-catalogue/integrations/apis/observation/
OAuthClient not complying with backward compatibility of v7.4 and multitenancy ($this->override)
Strictly typed base_url inconsistent with type null, $base_url declared not clean enough (sometimes $base_url, supposedly $this->base_url
2.5.0
7.4.0
No response
No response
Updated usage wiki bisa dilihat di sini
Saya membuat PatientController
public function create(){
$client = new OAuth2Client;
$token = $client->token(); // OAuth2Token anda akan muncul
return view('pages.patients.create', compact('token'));
}
saya bermaksud ingin echo $token pada view,
muncul error berikut :
Typed property Satusehat\Integration\OAuth2Client::$organization_id must not be accessed before initialization
Dear collaborator,
@YogiPristiawan @SyaefulKai @yudistirasd
Need help untuk eksplorasi dan create new class dan feature untuk SATUSEHAT Consent
https://satusehat.kemkes.go.id/platform/docs/id/api-catalogue/consent/
API Consent (https://s.id/PostmanSATUSEHAT)
Please kindly reply kalau ada yg bersedia untuk volunteer.
Thank you
@YogiPristiawan @SyaefulKai @yudistirasd
Apakah sdh ada yang pernah cek untuk library ini mungkin bisa backward compatible ke PHP v7.0 / 7.4?
Terimakasih
Selamat malam dok, apakah untuk encounter dan condition tidak ada Resourcetype Bundle?
Is your feature request related to a problem? Please describe.
Requirement terminology Rawat Jalan Fase 2, Fase 5 :
Describe the solution you'd like
Data source will be provided - DM me if you want to pick up this feature
Describe alternatives you've considered
Create a new 1 class Model object for LOINC will be created
Additional context
Required in SATUSEHAT in general, focused use subset instead of full dictionary data.
Enumerator / array list is not recommended due to the volatility
CC: @YogiPristiawan
To contributor v1.2 : @SyaefulKai
Untuk feat yang sudah dibuat, bisa dibuatkan contoh example penggunaannya kah untuk saya tambahkan ke Wiki?
Terimakasih
Dear collaborator,
@YogiPristiawan @SyaefulKai @yudistirasd
Need help untuk eksplorasi dan create new class dan feature untuk API KFA
https://satusehat.kemkes.go.id/platform/docs/id/master-data/kfa/rest-api-kfa/#apis-kfa-v2
Please kindly reply kalau ada yg bersedia untuk volunteer.
Thank you
Based on suggestion di thread ini
#31 (comment)
ada usulan untuk buat new Folder untuk handling exception baru dan melakukan refactoring.
Note:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.