<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Configuring_a_Drug_for_CPRS_Medication_Outpatient</id>
	<title>Configuring a Drug for CPRS Medication Outpatient - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://vistapedia.com/index.php?action=history&amp;feed=atom&amp;title=Configuring_a_Drug_for_CPRS_Medication_Outpatient"/>
	<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Configuring_a_Drug_for_CPRS_Medication_Outpatient&amp;action=history"/>
	<updated>2026-06-09T23:44:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://vistapedia.com/index.php?title=Configuring_a_Drug_for_CPRS_Medication_Outpatient&amp;diff=22469&amp;oldid=prev</id>
		<title>Ivaldes1: How to configure a drug for CPRS Medication Outpatient.</title>
		<link rel="alternate" type="text/html" href="https://vistapedia.com/index.php?title=Configuring_a_Drug_for_CPRS_Medication_Outpatient&amp;diff=22469&amp;oldid=prev"/>
		<updated>2026-06-09T15:33:24Z</updated>

		<summary type="html">&lt;p&gt;How to configure a drug for CPRS Medication Outpatient.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Configuring a Drug for CPRS Medication, Outpatient =&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
A common problem when configuring medications in VistA is that a drug exists in the DRUG file (#50), exists in the PHARMACY ORDERABLE ITEM file (#50.7), and is available for &amp;#039;&amp;#039;Medication, Inpatient&amp;#039;&amp;#039; ordering, yet does not appear in &amp;#039;&amp;#039;Medication, Outpatient&amp;#039;&amp;#039; ordering in CPRS. How to do this in detail is surprisingly missing from the VDL Pharma manuals. &lt;br /&gt;
&lt;br /&gt;
The instinct is often to use FileMan to edit entries in files #50 and #50.7. While FileMan can display and edit fields, it does not execute the Pharmacy Data Management logic required to properly configure a drug for Outpatient Pharmacy.&lt;br /&gt;
&lt;br /&gt;
The correct approach is to use the Pharmacy Data Management (PDM) Drug Enter/Edit option.&lt;br /&gt;
&lt;br /&gt;
== Symptoms ==&lt;br /&gt;
&lt;br /&gt;
A drug:&lt;br /&gt;
&lt;br /&gt;
* Exists in DRUG file (#50)&lt;br /&gt;
* Exists in PHARMACY ORDERABLE ITEM file (#50.7)&lt;br /&gt;
* Can be ordered through Medication, Inpatient&lt;br /&gt;
* Does not appear in Medication, Outpatient&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB&lt;br /&gt;
BUPRENORPHINE 2MG/NALOXONE 0.5MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Root Cause ==&lt;br /&gt;
&lt;br /&gt;
The drug may have been configured for Unit Dose (Inpatient) but not properly configured for Outpatient Pharmacy.&lt;br /&gt;
&lt;br /&gt;
Editing the DRUG file directly through FileMan does not expose the package-specific prompts that establish Outpatient Pharmacy relationships and cross-references.&lt;br /&gt;
&lt;br /&gt;
== Required Security Keys ==&lt;br /&gt;
&lt;br /&gt;
The user performing the configuration must have appropriate pharmacy privileges.&lt;br /&gt;
&lt;br /&gt;
Typical keys include:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PSNMGR&lt;br /&gt;
PSORPH&lt;br /&gt;
PSJU MGR&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on local implementation, additional keys may be required.&lt;br /&gt;
&lt;br /&gt;
In a test environment, the security key indexes may need to be rebuilt or manually set.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
S ^XUSEC(&amp;quot;PSORPH&amp;quot;,DUZ)=&amp;quot;&amp;quot;&lt;br /&gt;
S ^XUSEC(&amp;quot;PSJU MGR&amp;quot;,DUZ)=&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example used during testing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
S ^XUSEC(&amp;quot;PSORPH&amp;quot;,341)=&amp;quot;&amp;quot;&lt;br /&gt;
S ^XUSEC(&amp;quot;PSJU MGR&amp;quot;,341)=&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Do Not Use FileMan Alone ==&lt;br /&gt;
&lt;br /&gt;
Editing File 50 or File 50.7 directly through FileMan is not sufficient.&lt;br /&gt;
&lt;br /&gt;
The required prompts do not appear in FileMan because they are generated by Pharmacy Data Management application logic.&lt;br /&gt;
&lt;br /&gt;
Instead use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Pharmacy Data Management Menu&lt;br /&gt;
  → Drug Enter/Edit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Procedure ==&lt;br /&gt;
&lt;br /&gt;
Select the desired drug:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BUPRENORPHINE 2MG/NALOXONE 0.5MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Near the end of the Drug Enter/Edit session, the system displays:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
This entry is marked for the following PHARMACY packages:&lt;br /&gt;
 Unit Dose&lt;br /&gt;
&lt;br /&gt;
MARK THIS DRUG AND EDIT IT FOR:&lt;br /&gt;
O  - Outpatient&lt;br /&gt;
U  - Unit Dose&lt;br /&gt;
X  - Non-VA Med&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Enter:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
O,U&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This marks the drug for both Outpatient Pharmacy and Unit Dose.&lt;br /&gt;
&lt;br /&gt;
== Configure Outpatient Fields ==&lt;br /&gt;
&lt;br /&gt;
When prompted:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
** You are NOW editing OUTPATIENT fields. **&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
AN Outpatient Pharmacy ITEM? Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specify the corresponding inpatient drug.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CORRESPONDING INPATIENT DRUG:&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CORRESPONDING INPATIENT DRUG:&lt;br /&gt;
BUPRENORPHINE 2MG/NALOXONE 0.5MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Continue through the remaining prompts.&lt;br /&gt;
&lt;br /&gt;
== Configure Unit Dose Fields ==&lt;br /&gt;
&lt;br /&gt;
When prompted:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
** You are NOW editing UNIT DOSE fields. **&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
AN Unit Dose ITEM? Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify the corresponding outpatient drug:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CORRESPONDING OUTPATIENT DRUG:&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CORRESPONDING OUTPATIENT DRUG:&lt;br /&gt;
BUPRENORPHINE 2MG/NALOXONE 0.5MG TAB&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Continue through the remaining prompts.&lt;br /&gt;
&lt;br /&gt;
== Orderable Item Matching ==&lt;br /&gt;
&lt;br /&gt;
Drug Enter/Edit then performs Orderable Item matching.&lt;br /&gt;
&lt;br /&gt;
Typical output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
** You are NOW in the ORDERABLE ITEM matching for the dispense drug. **&lt;br /&gt;
&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB is already matched to&lt;br /&gt;
&lt;br /&gt;
BUPRENORPHINE 8MG/NALOXONE 2MG TAB TAB,SUBLINGUAL&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the match is correct:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Do you want to match to a different Orderable Item? NO&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add Drug to CPRS Outpatient Ordering ==&lt;br /&gt;
&lt;br /&gt;
Even after the drug is configured for Outpatient Pharmacy, it may still not appear in CPRS Medication, Outpatient.&lt;br /&gt;
&lt;br /&gt;
The drug must also be present in the outpatient medication quick-order view:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ORWDSET O RX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Verify that the medication appears in the outpatient ordering configuration used by CPRS.&lt;br /&gt;
&lt;br /&gt;
== Verification ==&lt;br /&gt;
&lt;br /&gt;
After configuration:&lt;br /&gt;
&lt;br /&gt;
# Restart CPRS if necessary.&lt;br /&gt;
&lt;br /&gt;
# Open:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Orders&lt;br /&gt;
  → Medication, Outpatient&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# Search for:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BUPRENORPHINE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The configured products should now appear as outpatient-orderable medications.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== Drug exists but does not appear in Medication, Outpatient ===&lt;br /&gt;
&lt;br /&gt;
Verify:&lt;br /&gt;
&lt;br /&gt;
* Drug was edited through PDM Drug Enter/Edit, not FileMan alone.&lt;br /&gt;
* Drug is marked for Outpatient Pharmacy.&lt;br /&gt;
* Drug is marked for Unit Dose if dual-use is desired.&lt;br /&gt;
* Corresponding inpatient and outpatient drug relationships are populated.&lt;br /&gt;
* Drug is present in ORWDSET O RX.&lt;br /&gt;
* User has appropriate pharmacy security keys.&lt;br /&gt;
&lt;br /&gt;
=== Drug appears Inpatient but not Outpatient ===&lt;br /&gt;
&lt;br /&gt;
This is often caused by the drug being configured only for Unit Dose.&lt;br /&gt;
&lt;br /&gt;
Re-enter Drug Enter/Edit and verify the Outpatient configuration section was completed.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
* The existence of entries in DRUG (#50) and PHARMACY ORDERABLE ITEM (#50.7) does not guarantee outpatient orderability.&lt;br /&gt;
* Medication, Inpatient and Medication, Outpatient use different configuration paths.&lt;br /&gt;
* Pharmacy Data Management Drug Enter/Edit performs setup logic that is not available through direct FileMan editing.&lt;br /&gt;
* CPRS outpatient ordering may additionally require configuration in ORWDSET O RX.&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Enter A Drug]]&lt;br /&gt;
* [[Pharmacy Data Management]]&lt;br /&gt;
* [[CPRS]]&lt;br /&gt;
* [[Outpatient Pharmacy]]&lt;br /&gt;
* [[Orderable Items]]&lt;br /&gt;
&lt;br /&gt;
[[Category:CPRS]]&lt;br /&gt;
[[Category:Outpatient Pharmacy]]&lt;br /&gt;
[[Category:Pharmacy Data Management]]&lt;br /&gt;
[[Category:Drug File]]&lt;br /&gt;
[[Category:Orderable Items]]&lt;br /&gt;
[[Category:Configuration]]&lt;/div&gt;</summary>
		<author><name>Ivaldes1</name></author>
	</entry>
</feed>