1.7 5765 Query on UOM setup

I needed to add a new UOM to the system 'Pack of 10'.  As a result of the exercise, I am certain that the CSH text http://www.openvpms.org/documentation/csh/1.7/admin/lookup/uom is misleading.

Can someone confirm the following:

  1. The Name field is what gets printed when say "openvpms:lookup(openvpms:get(.,'product.entity'), 'dispensingUnits')" is used.
  2. The Unit Code is a pull down list of terms that provides a more generic description of the unit of measure. The list contents are defined within the archetype lookup.uom and can only be added to by modifying the archetype and reloading it.
  3. The Unit Code is not used by the system and can safely be set to None.

After the above is clarified, I will adjust the CSH text.

Regards, Tim G

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: 1.7 5765 Query on UOM setup

1. Correct

2. The Unit Code is used by ESCI to map UN/CEFACT Unit Codes* to the practice equivalents. These should not be changed. Note that OpenVPMS only provides a subset of the available codes, so if a required code is missing, it can be added but must be present in the list provided by http://docs.oasis-open.org/ubl/cs-UBL-2.0/cl/gc/cefact/UnitOfMeasureCode...

3. Only if the practice isn't using ESCI.

-Tim A

* UN/CEFACT Recommendation N°. 20 - Codes for Units of Measure Used in International Trade - http://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20.zip

Re: 1.7 5765 Query on UOM setup

Thanks Tim - have revised the CSH text.  Regards, Tim G

Syndicate content