Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Medication and MedicationRequest addIdentifier variable clashing #105

Closed
ivanwilliammd opened this issue Dec 2, 2024 · 0 comments · Fixed by #106
Closed

Medication and MedicationRequest addIdentifier variable clashing #105

ivanwilliammd opened this issue Dec 2, 2024 · 0 comments · Fixed by #106
Assignees
Labels
bug Something isn't working

Comments

@ivanwilliammd
Copy link
Owner

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

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

$identifier variable passed to function clash with $identifier used in addIdentifier

To Reproduce

Expected behavior
different variable assignment

Additional context
N/A

@ivanwilliammd ivanwilliammd self-assigned this Dec 2, 2024
@ivanwilliammd ivanwilliammd added the bug Something isn't working label Dec 2, 2024
@ivanwilliammd ivanwilliammd linked a pull request Dec 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant