EventCodeList is required if known (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->size()>0
The eventCodeList SHALL be populated from codes in CID 29 and CID 4 (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:2c6b8cb7-8b2a-4051-b291-b1ae6a575ef4')->forAll(cl :ClassificationType |
(not cl.nodeRepresentation.oclIsUndefined()) and
cl.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(not (cl.slot->first().name='codingSchema')) and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
(
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.1', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.2', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.3', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.4', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.5', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value) or
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.6', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
)
formatCode(urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d) SHALL be populated with one of the values : urn:ihe:rad:1.2.840.10008.5.1.4.1.1.88.59, urn:ihe:rad:TEXT, urn:ihe:rad:PDF, within the valueSet http://gazelle.ihe.net/SVSSimulator/rest/RetrieveValueSetForSimulator?id=1.3.6.1.4.1.12559.11.4.5.7 (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.classification->select(cl : ClassificationType| (not cl.classificationScheme.oclIsUndefined()) and cl.classificationScheme='urn:uuid:a09d5840-386c-46f2-b5ad-9c3699a4309d')->forAll(cl :ClassificationType |
(not cl.nodeRepresentation.oclIsUndefined()) and
cl.slot->size()=1 and
(not cl.slot->first().name.oclIsUndefined()) and
(not (cl.slot->first().name='codingSchema')) and
(not cl.slot->first().valueList.oclIsUndefined()) and
cl.slot->first().valueList.value->size()=1 and
(not cl.name.oclIsUndefined()) and
cl.name.localizedString->size()=1 and
(not cl.name.localizedString->first().value.oclIsUndefined()) and
cl.matchesValueSet('1.3.6.1.4.1.12559.11.4.5.7', cl.nodeRepresentation, cl.slot->first().valueList.value->first(), null, cl.name.localizedString->first().value)
)
mimeType SHALL bepopulated by the folowing values : application/dicom, text/xml, application/pdf (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
(not self.mimeType.oclIsUndefined()) and
(
self.mimeType='application/dicom' or
self.mimeType='application/pdf' or
self.mimeType='text/xml'
)
serviceStartTime SHALL be present (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.slot->select(sl :SlotType1 | sl.name='serviceStartTime')->size()>0
sourcePatientInfo SHALL be present (RAD TF Vol 3, Table 4.68.4.1.2.3-1)
OCL
self.slot->select(sl :SlotType1 | sl.name='sourcePatientInfo')->size()>0