none
How to use Structured property in medication strength RRS feed

  • Question

  • Hi,


    Can anyone explain me what is the use of Structured property in medication.strength item.



    Thanks
    Sathya N
    Friday, December 26, 2008 11:55 AM

Answers

  •  Strength is used to store the strength of the medication - something like 500 mg, or 10 mg/ml.

    You would do something like:

    medication.Strength = new GeneralMeasurement("500 mg");

    which sets the display text. That information is required. If you wanted to store that in a coded form, you would add:

    medication.Strength.Structured.Add(new StructuredMeasurement(500, new CodableValue("mg", new CodedValue(...)))

    Where the coded value points to the appropriate vocabulary and code for "mg".
    Monday, January 5, 2009 6:26 PM