added pk verification for PatientOphthalmicDiagnoses resources
added code to handle unsetting reference objects for updates