Comments (9)
Untuk ini saat ini saya open for PR / need help untuk pengerjaan fitur ini...
Help wanted : @afifsyaifullah1512 @yudistirasd @YogiPristiawan @SyaefulKai
Untuk per saat ini yang disupport adalah metode POST-nya saja, tetapi pembuatan array object bundle-nya masih manual
[USULAN] :
Secara umum bundle itu pertama2 bisa diinisialisasi array-nya dahulu / backbone kosongan (resourceType Bundle, dll)
Kemudian saya usul bisa ada seperti inisialisasi Bundle
use ........\Bundle;
$encounter = new Encounter();
...... (diisi dengan object encounter)
$condition1 = new Condition()
...... (diisi dengan object condition1)
dst... (sejumlah berapa byk condition)
$bundle = new Bundle()
$bundle = $bundle->add($encounter)
$bundle = $bundle->add($condition1)
$bundle = $bundle->add($condition2)
$bundle->post()
from satusehat-integration.
@afifsyaifullah1512 bisa dicoba v2.3.0.
Special thanks for @SyaefulKai for adding the bundle support...
Untuk dokumentasi di Wiki apakah boleh sekalian dibantu @SyaefulKai ?
Thanks
from satusehat-integration.
Boleh pak, untuk wikinya akan segera saya update
from satusehat-integration.
Kudos untuk @SyaefulKai --> Fix updated di release v2.3.1
Untuk wiki juga sudah diupdate
from satusehat-integration.
oke dok, terimakasih updatenya, saya coba dulu
from satusehat-integration.
Tadi kodenya baru saya coba lagi.
Sepertinya ada bug yang harus diselesaikan dulu pak.
from satusehat-integration.
Barusan saya sdh komen PR-nya @SyaefulKai, sepertinya perlu kembali dicek
Perlu dipahami link antara Encounter & Condition itu dua arah
Condition.encounter = $encounter_id
Encounter.diagnosis = array object berisi Conditionid & Conditiondisplay
from satusehat-integration.
$encounter->setSubject('{id_patient}', '{nama_pasien}'); // ID SATUSEHAT Pasien dan Nama SATUSEHAT
Dok, untuk mengisi bundle ini, kan harus ada ID Pasien (NIK) dan Nama pasien, apakah ini diambil dari Satusehat yang get_by_nik? Dan jika iya, result dari name nya kan disensor, apakah name yang di sensor itu yang di post ke $encounter->setSubject('{id_patient}', '{nama_pasien}');
from satusehat-integration.
- Benar dari getByNik
- Nama ini tdk disensor oleh server satusehat.. tapi kalau tdk bisa didapatkan --> bisa pakai nama yg tertera di medical record masing2
from satusehat-integration.
Related Issues (15)
- Typo in wiki page, Undefined method 'get'. HOT 3
- Wiki Documentation 1.2 HOT 8
- Backward Compatibility ke php 7.4 HOT 6
- Encounter - wrong Wrong organization ID provided by system URL HOT 3
- Help : Praktik Penggunaan Pada Controller HOT 2
- Post Organization Gagal HOT 4
- Undefined array key "code" ketika $bundle->addCondition($conditionFh); HOT 11
- SATUSEHAT Consent
- API KFA Integration HOT 5
- Future Feature : Fase 2 Rawat Jalan - Data Object Class HOT 2
- Future Feature : Terminology (LOINC - Vital sign, Physical Examination, Education) HOT 5
- Wiki Documentation 2.4.0 HOT 1
- [Bug]: v2.5.0 - not complying with backward compatibility of PHP 7.4 and multitenancy
- Refactoring - Exception Handlling HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satusehat-integration.