Re: Run-time name constraints and appropriate use of terminologies
So what you would expect from the as_string() is basically something like:... - other dataADDRESS/details/items[at0002]/items[at0023]/value = 'MyHouseName'ADDRESS/details/items[at0002]/items[at0028]/value = 'MyStreet'ADDRESS/details/items[at0002]/items[at0029]/value = 100ADDRESS/details/items[at0002]/items[at0031]/value = ' .... MyStreet 100 ..., MyHouseName' -- address lineADDRESS/details/items[at0004]/value = 'XYZ 123' -- zipADDRESS/details/items[at0005]/value = 'MyTown'ADDRESS/details/items[at0007]/value = 'UK'... - other data
which I guess is 'statically' implemented in the application used in A. As you can see the expected string might not be just a concatenated string of all values found in the object but rather a templated/formatted string.MyHouseName100 MyStreetMyTownXYZ 123UK
as_string:
although I know this is not a valid cADL grammar. As I said, I'm not very familiar with the syntax, and I'm not sure how to use it afterwards - i.e. is the above going to assign an _expression_ to as_string() function?details/items[at0002]/items[at0023]/value + CRLF +details/items[at0002]/items[at0029]/value +details/items[at0002]/items[at0028]/value + CRLF +details/items[at0005]/value +details/items[at0007]/value
_______________________________________________ openEHR-technical mailing list openEHR-technical@openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical