The following types are used internally in data types
The following types are used for structural RIM attributes
copyTime is deprecated by CDA R2
OCL
self.copyTime.oclIsUndefined()
JAVA
List<POCDMT000040Section> res = new ArrayList<POCDMT000040Section>();
if (this.getComponent() != null && this.getComponent().getStructuredBody() != null){
for (POCDMT000040Component3 comp : this.getComponent().getStructuredBody().getComponent()) {
if (comp.getSection() != null){
res.add(comp.getSection());
res.addAll(comp.getSection().getAllSections());
}
}
}
return res;
JAVA
List<POCDMT000040Section> res = new ArrayList<POCDMT000040Section>();
for (POCDMT000040Component5 comp : this.getComponent()) {
if (comp.getSection() != null){
res.add(comp.getSection());
}
}
return res;
Time SHALL be precise to the day
OCL
self.matches(self.value, '([0-9]{8})(.+)')
Time SHOULD be precise to the second
OCL
self.matches(self.value, '([0-9]{14})(.+)')
Time SHALL include a time zone if more precise than to the day
OCL
self.matches(self.value, '(([0-9]{8,14}([+-][0-9]{1,4}))|[0-9]{8})')