Skip to content

Error when send Medication Request #116

Closed Answered by AlulCode45
AlulCode45 asked this question in Q&A (Tanya Jawab)
Discussion options

You must be logged in to vote


Menurut analisis saya ini dikarenakan lbrary pada function setMedicationReference, tidak menggunakan prefix Medication sebelum reference obatnya

Jika saya menggunakan ini maka tidak ada error lagi.

//Sebelum
 public function setMedicationReference($reference, $display)
    {
        $this->medication_request['medicationReference']['reference'] = $reference;
        $this->medication_request['medicationReference']['display'] = $display;
    }
// Sesudah saya perbaiki
 public function setMedicationReference($reference, $display)
    {
        $this->medication_request['medicationReference']['reference'] = 'Medication/'.$reference;
        $this->medication_request['medicationReference']['d…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ivanwilliammd
Comment options

@AlulCode45
Comment options

@AlulCode45
Comment options

Answer selected by ivanwilliammd
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants