This wiki has undergone a migration to Confluence found Here

Difference between revisions of "Datatypes R2 Issue 67"

From HL7Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
Need to document what the acceptable constraint rules are for datatypes.
 
Need to document what the acceptable constraint rules are for datatypes.
  
This table summarizes the allowable datatype substitutions.
+
This table summarizes the allowable datatype substitutions in designs.
  
ANY -> anything (including mixins?)
+
{|+ border="1"
 +
|-
 +
| '''Source''' || '''Allowed'''
 +
|-
 +
ANY || anything (including mixins?)
 +
|-
 +
|  BL || nothing
 +
|-
 +
|  BN || nothing
 +
|-
 +
|  ED || ST
 +
|-
 +
|  ST || UID
 +
|-
 +
|  CD || CE, CV, CO
 +
|-
 +
|  CE || CV, CO
 +
|-
 +
|  CV || CO
 +
|-
 +
|  CO || nothing
 +
|-
 +
|  CS || nothing
 +
|-
 +
|  CR || nothing
 +
|-
 +
|  SC || nothing
 +
|-
 +
|  II || nothing
 +
|-
 +
|  TEL || nothing
 +
|-
 +
|  AD || nothing
 +
|-
 +
|  EN || PN, ON, TN
 +
|-
 +
|  PN || nothing
 +
|-
 +
|  TN || nothing
 +
|-
 +
|  ON || nothing
 +
|-
 +
|  QTY || TS, MO, REAL, INT, TS, RTO, PQ
 +
|-
 +
|  INT || nothing
 +
|-
 +
|  REAL  || nothing
 +
|-
 +
|  RTO || nothing
 +
|-
 +
|  PQ || nothing
 +
|-
 +
|  PQR || nothing
 +
|-
 +
|  MO || nothing
 +
|-
 +
|  TS || nothing
 +
|-
 +
|  SET<T> || T
 +
|-
 +
|  LIST<T> || T
 +
|-
 +
|  BAG<T> || T
 +
|-
 +
|  IVL<T> || T
 +
|-
 +
|  HIST<T> || HXIT<T>, T
 +
|-
 +
|  UVP<T> || T
 +
|-
 +
|  NPPD<T> || T
 +
|-
 +
|  PIVL<T> || nothing
 +
|-
 +
|  EIVL<T> || nothing
 +
|-
 +
|  GTS<T> || ?
 +
|-
 +
|  PPD<T> || ?
 +
|-}

Revision as of 20:54, 13 September 2006

Need to document what the acceptable constraint rules are for datatypes.

This table summarizes the allowable datatype substitutions in designs.

Source Allowed
ANY anything (including mixins?)
BL nothing
BN nothing
ED ST
ST UID
CD CE, CV, CO
CE CV, CO
CV CO
CO nothing
CS nothing
CR nothing
SC nothing
II nothing
TEL nothing
AD nothing
EN PN, ON, TN
PN nothing
TN nothing
ON nothing
QTY TS, MO, REAL, INT, TS, RTO, PQ
INT nothing
REAL nothing
RTO nothing
PQ nothing
PQR nothing
MO nothing
TS nothing
SET<T> T
LIST<T> T
BAG<T> T
IVL<T> T
HIST<T> HXIT<T>, T
UVP<T> T
NPPD<T> T
PIVL<T> nothing
EIVL<T> nothing
GTS<T> ?
PPD<T> ?