Skip to content

Commit

Permalink
updated variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanwilliammd committed Dec 2, 2024
1 parent 60679c1 commit 8ba8867
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/FHIR/Medication.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ public function __construct()
],
];

public function addIdentifier($identifier)
public function addIdentifier($medication_id)
{
$identifier['system'] = 'http://sys-ids.kemkes.go.id/medication/'.$this->organization_id;
$identifier['value'] = $identifier;
$identifier['value'] = $medication_id;
$identifier['use'] = 'official';

$this->medication['identifier'][] = $identifier;
Expand Down
8 changes: 4 additions & 4 deletions src/FHIR/MedicationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ public function __construct()
];


public function addPrescriptionIdentifier($identifier)
public function addPrescriptionIdentifier($prescription_id)
{
$identifier['system'] = 'http://sys-ids.kemkes.go.id/prescription/'.$this->organization_id;
$identifier['value'] = $identifier;
$identifier['value'] = $prescription_id;
$identifier['use'] = 'official';

$this->medication_request['identifier'][] = $identifier;
}

public function addPrescriptionItemIdentifier($identifier)
public function addPrescriptionItemIdentifier($prescription_item_id)
{
$identifier['system'] = 'http://sys-ids.kemkes.go.id/prescription-item/'.$this->organization_id;
$identifier['value'] = $identifier;
$identifier['value'] = $prescription_item_id;
$identifier['use'] = 'official';

$this->medication_request['identifier'][] = $identifier;
Expand Down

0 comments on commit 8ba8867

Please sign in to comment.