Code Monkey home page Code Monkey logo

Comments (9)

ivanwilliammd avatar ivanwilliammd commented on July 29, 2024 3

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.

ivanwilliammd avatar ivanwilliammd commented on July 29, 2024 2

@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.

SyaefulKai avatar SyaefulKai commented on July 29, 2024 1

Boleh pak, untuk wikinya akan segera saya update

from satusehat-integration.

ivanwilliammd avatar ivanwilliammd commented on July 29, 2024 1

Kudos untuk @SyaefulKai --> Fix updated di release v2.3.1
Untuk wiki juga sudah diupdate

from satusehat-integration.

afifsyaifullah1512 avatar afifsyaifullah1512 commented on July 29, 2024

oke dok, terimakasih updatenya, saya coba dulu

from satusehat-integration.

SyaefulKai avatar SyaefulKai commented on July 29, 2024

Tadi kodenya baru saya coba lagi.

Sepertinya ada bug yang harus diselesaikan dulu pak.

from satusehat-integration.

ivanwilliammd avatar ivanwilliammd commented on July 29, 2024

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

#27 (review)

from satusehat-integration.

afifsyaifullah1512 avatar afifsyaifullah1512 commented on July 29, 2024

$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}');

@ivanwilliammd

from satusehat-integration.

ivanwilliammd avatar ivanwilliammd commented on July 29, 2024
  1. Benar dari getByNik
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.