[Norton AntiSpam] Re: Constraint references

2006-12-14 Thread Rong Chen
Hi Mattias,

I just had a look at the Java ADL parser. CONSTRAINT_REF is used in many
places to get node ID, e.g. [ac0003]. But it also used in one place to
create a C_DV_CODED_TEXT as the following Java code. I am afraid this is
perhaps over-simplied because a code constraint could be defined as a
terminology query or a single term by the onology part of the archetype. So
more appropriate implementation would be to consult the ontology part with
the current code and get the full definition, and then instantiate the
C_DV_CODED_TEXT, which might not be ready at the time of parsing. It will
requires some post-parsing processing.

Thomas, can you verify that this is the right way to go?

Regards,
Rong

ref = constraint_ref()
  {
  // before switch to openehr-ap: c = new CCodedText(path, ref);
  c = new CDvCodedText(path, local, ref);
  }

On 11/22/06, Mattias Forss mattias.forss at gmail.com wrote:

 Hi all,

 I'm wondering what the difference is between a CONSTRAINT_REF and a
 C_DV_CODED_TEXT that has the query attribute set? The descriptions of the
 two are the following:

 CONSTRAINT_REF class description:
 Reference to a constraint described in the same archetype, but outside the
 main constraint structure. This is used to refer to constraints expressed in
 terms of external resources, such as constraints on terminology value sets.

 Description of query attribute of C_DV_CODED_TEXT:
 Constraint in terms of an abstract query expression to be addressed to a
 terminology server.

 Is there a syntactic difference between the two in ADL?

 Mattias

 ___
 openEHR-technical mailing list
 openEHR-technical at openehr.org
 http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical



-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20061214/fd123528/attachment.html
-- next part --
___
openEHR-technical mailing list
openEHR-technical at openehr.org
http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical


DV_QUANTITY_RATIO - remove from specification

2006-12-14 Thread Rong Chen
On 12/10/06, Thomas Beale Thomas.Beale at oceaninformatics.biz wrote:

 Mattias Forss wrote:
 
 
  It would be great if the archetypes could be updated soon. Could I get
  a listing of the changes so I can update the Java archetype editor
  accordingly?
 Thanks mattias,
 I think we should upload a set that have many/most of the improvements
 your work has introduced, I hope in a week or less - the changes are
 being done - just a lot of checking to do. But I think most of the pain
 is over now...but you can feel sure that the annoyance value on your
 part is not for nothing - we greatly appreciate your contributions and
 patience.


I agree! :)

Can I suggest that we put a minimum set of Archetypes for
compatibility/interoperability test? Don't need to be clinical meaningful
but should include all the possible features from the AOM and RM.

/Rong

- thomas



 ___
 openEHR-technical mailing list
 openEHR-technical at openehr.org
 http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20061214/7d05d6ca/attachment.html
-- next part --
___
openEHR-technical mailing list
openEHR-technical at openehr.org
http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical