You will need to check your practice configuration to ensure the HPI-O number is entered if you are receiving this error.
To navigate to the HPI-O field click on More > Settings > Configuration > Select the practice in question > eHealth > HPI-O No.
Further information about getting an HPI-O can be found here.
You may wish to learn more about how to Configure My Practice for e prescribing