We are currently updating the OP Help Center content for the release of OP 14.19 or OP 19. OP 19 is a member of the certified OP 14 family of products (official version is 14.19.1), which you may see in your software (such as in Help > About) and in the Help Center tabs labeled 14.19. You may also notice that the version number in content and videos may not match the version of your software, and some procedural content may not match the workflow in your software. We appreciate your patience and understanding as we make these enhancements.

SQL: Nexplanon Removal/Replace

About

This SQL is used to inform you of the date you entered it in their chart for active patients who have Nexplanon listed as an ongoing/chronic med.

A sample image of this SQL report run in the Database Viewer is shown below:

Caveats

Depending on how you document Nexplanon:

  • The date may be the date when the patient informed about it
  • The date may be the date when you ordered it from the pharmacy
  • The date may be the date when you placed it 

So, your resulting workflow is going to differ.

Code

To highlight and copy the code below to your clipboard, simply click the Copy button.

select patno, date1, prescrib, purpose from medications
inner join register on register.patno = medications.patno
where prescrib like '%Nexp%' and ongoingmed = 'Y' and status_pat = 'ACTIVE'
order by date1