cda
DocumentRoot
DocumentRoot
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
xMLNSPrefixMap
0
-1
XMLPrimitiveTypes-String
Attribute
xmlns:prefix
xSISchemaLocation
0
-1
XMLPrimitiveTypes-String
Attribute
xsi:schemaLocation
clinicalDocument
0
1
cda-POCDMT000040ClinicalDocument
Element
ClinicalDocument
urn:hl7-org:v3
POCDMT000040InfrastructureRootTypeId
POCD_MT000040.InfrastructureRoot.typeId
datatypes-II
constraint_root
root fixed to 2.16.840.1.113883.1.3
(not self.root.oclIsUndefined()) and self.root='2.16.840.1.113883.1.3'
ERROR
constraint_extension
extension required
not self.extension.oclIsUndefined()
ERROR
POCDMT000040RecordTarget
POCD_MT000040.RecordTarget
constraint_typeCode
typeCode fixed to RCT
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::RCT
ERROR
constraint_contextControlCode
contextControlCode fixed to OP
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
patientRole
1
1
cda-POCDMT000040PatientRole
Element
patientRole
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040PatientRole
POCD_MT000040.PatientRole
constraint_classCode
classCode fixed to PAT
self.classCode.oclIsUndefined() or self.classCode=RoleClass::PAT
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
patient
0
1
cda-POCDMT000040Patient
Element
patient
urn:hl7-org:v3
providerOrganization
0
1
cda-POCDMT000040Organization
Element
providerOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClass
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Patient
POCD_MT000040.Patient
constraint_classCode
classCode fixed to PSN
self.classCode.oclIsUndefined() or self.classCode=EntityClass::PSN
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
1
datatypes-II
Element
id
urn:hl7-org:v3
name
0
-1
datatypes-PN
Element
name
urn:hl7-org:v3
administrativeGenderCode
0
1
datatypes-CE
Element
administrativeGenderCode
urn:hl7-org:v3
birthTime
0
1
datatypes-TS
Element
birthTime
urn:hl7-org:v3
maritalStatusCode
0
1
datatypes-CE
Element
maritalStatusCode
urn:hl7-org:v3
religiousAffiliationCode
0
1
datatypes-CE
Element
religiousAffiliationCode
urn:hl7-org:v3
raceCode
0
1
datatypes-CE
Element
raceCode
urn:hl7-org:v3
ethnicGroupCode
0
1
datatypes-CE
Element
ethnicGroupCode
urn:hl7-org:v3
guardian
0
-1
cda-POCDMT000040Guardian
Element
guardian
urn:hl7-org:v3
birthplace
0
1
cda-POCDMT000040Birthplace
Element
birthplace
urn:hl7-org:v3
languageCommunication
0
-1
cda-POCDMT000040LanguageCommunication
Element
languageCommunication
urn:hl7-org:v3
classCode
0
1
voc-EntityClass
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Guardian
POCD_MT000040.Guardian
constraint_choice
guardianPerson or guardianOrganization attribute must be present
Bag{self.guardianPerson.oclIsUndefined(),self.guardianOrganization.oclIsUndefined()}->one(bl : Boolean| bl = false)
ERROR
constraint_classCode
classCode is fixed to GUARD value
self.classCode.oclIsUndefined() or self.classCode=RoleClass::GUARD
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
guardianPerson
0
1
cda-POCDMT000040Person
Element
guardianPerson
urn:hl7-org:v3
guardianOrganization
0
1
cda-POCDMT000040Organization
Element
guardianOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClass
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Person
POCD_MT000040.Person
constraint_classCode
classCode fixed to PSN
self.classCode.oclIsUndefined() or self.classCode=EntityClass::PSN
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
name
0
-1
datatypes-PN
Element
name
urn:hl7-org:v3
classCode
0
1
voc-EntityClass
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Organization
POCD_MT000040.Organization
constraint_classCode
classCode fixed to ORG
self.classCode.oclIsUndefined() or self.classCode=EntityClassOrganization::ORG
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
name
0
-1
datatypes-ON
Element
name
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
standardIndustryClassCode
0
1
datatypes-CE
Element
standardIndustryClassCode
urn:hl7-org:v3
asOrganizationPartOf
0
1
cda-POCDMT000040OrganizationPartOf
Element
asOrganizationPartOf
urn:hl7-org:v3
classCode
0
1
voc-EntityClassOrganization
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040OrganizationPartOf
POCD_MT000040.OrganizationPartOf
constraint_classCode
classCode fixed to PART
self.classCode.oclIsUndefined() or self.classCode=RoleClass::PART
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
wholeOrganization
0
1
cda-POCDMT000040Organization
Element
wholeOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClass
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Birthplace
POCD_MT000040.Birthplace
constraint_classCode
classCode is fixed to BIRTHPL value
self.classCode.oclIsUndefined() or self.classCode=RoleClass::BIRTHPL
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
place
1
1
cda-POCDMT000040Place
Element
place
urn:hl7-org:v3
classCode
0
1
voc-RoleClass
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Place
POCD_MT000040.Place
constraint_classCode
classCode fixed to PLC
self.classCode.oclIsUndefined() or self.classCode=EntityClassPlace::PLC
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
name
0
1
datatypes-EN
Element
name
urn:hl7-org:v3
addr
0
1
datatypes-AD
Element
addr
urn:hl7-org:v3
classCode
0
1
voc-EntityClassPlace
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040LanguageCommunication
POCD_MT000040.LanguageCommunication
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
modeCode
0
1
datatypes-CE
Element
modeCode
urn:hl7-org:v3
proficiencyLevelCode
0
1
datatypes-CE
Element
proficiencyLevelCode
urn:hl7-org:v3
preferenceInd
0
1
datatypes-BL
Element
preferenceInd
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Author
POCD_MT000040.Author
constraint_typeCode
typeCode is fixed to AUT
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::AUT
ERROR
constraint_contextControlCode
contextControlCode fixed to OP
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
functionCode
0
1
datatypes-CE
Element
functionCode
urn:hl7-org:v3
time
1
1
datatypes-TS
Element
time
urn:hl7-org:v3
assignedAuthor
1
1
cda-POCDMT000040AssignedAuthor
Element
assignedAuthor
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040AssignedAuthor
POCD_MT000040.AssignedAuthor
constraint_classCode
classCode fixed to ASSIGNED value
self.classCode.oclIsUndefined() or self.classCode=RoleClassAssignedEntity::ASSIGNED
ERROR
constraint_assignedPerson_assignedAuthoringDevice
only one of assignedAuthoringDevice ,assignedPerson can be present
self.assignedPerson.oclIsUndefined() or self.assignedAuthoringDevice.oclIsUndefined()
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
assignedPerson
0
1
cda-POCDMT000040Person
Element
assignedPerson
urn:hl7-org:v3
assignedAuthoringDevice
0
1
cda-POCDMT000040AuthoringDevice
Element
assignedAuthoringDevice
urn:hl7-org:v3
representedOrganization
0
1
cda-POCDMT000040Organization
Element
representedOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClassAssignedEntity
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040AuthoringDevice
POCD_MT000040.AuthoringDevice
constraint_classCode
classCode fixed to DEV value
self.classCode.oclIsUndefined() or self.classCode=EntityClassDevice::DEV
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE value
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
manufacturerModelName
0
1
datatypes-SC
Element
manufacturerModelName
urn:hl7-org:v3
softwareName
0
1
datatypes-SC
Element
softwareName
urn:hl7-org:v3
asMaintainedEntity
0
-1
cda-POCDMT000040MaintainedEntity
Element
asMaintainedEntity
urn:hl7-org:v3
classCode
0
1
voc-EntityClassDevice
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040MaintainedEntity
POCD_MT000040.MaintainedEntity
constraint_classCode
classCode fixed to MNT
self.classCode.oclIsUndefined() or self.classCode=RoleClass::MNT
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
maintainingPerson
1
1
cda-POCDMT000040Person
Element
maintainingPerson
urn:hl7-org:v3
classCode
0
1
voc-RoleClass
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040DataEnterer
POCD_MT000040.DataEnterer
constraint_typeCode
typeCode fixed to ENT value
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::ENT
ERROR
constraint_contextControlCode
contextControlCode is fixed to OP value
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
0
1
datatypes-TS
Element
time
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040AssignedEntity
POCD_MT000040.AssignedEntity
constraint_classCode
classCode is fixed to ASSIGNED
self.classCode.oclIsUndefined() or self.classCode=RoleClassAssignedEntity::ASSIGNED
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
assignedPerson
0
1
cda-POCDMT000040Person
Element
assignedPerson
urn:hl7-org:v3
representedOrganization
0
1
cda-POCDMT000040Organization
Element
representedOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClassAssignedEntity
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Informant12
POCD_MT000040.Informant12
constraint_choice
assignedEntity or relatedEntity must be present
Bag{self.relatedEntity.oclIsUndefined(),self.assignedEntity.oclIsUndefined()}->one(bl : Boolean | bl = false)
ERROR
constraint_typeCode
typeCode is fixed to INF value
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::INF
ERROR
constraint_contextControlCode
contextControlCode is fixed to OP value
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
assignedEntity
0
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
relatedEntity
0
1
cda-POCDMT000040RelatedEntity
Element
relatedEntity
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040RelatedEntity
POCD_MT000040.RelatedEntity
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
relatedPerson
0
1
cda-POCDMT000040Person
Element
relatedPerson
urn:hl7-org:v3
classCode
1
1
voc-RoleClassMutualRelationship
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Custodian
POCD_MT000040.Custodian
constraint_typeCode
typeCode fixed to CST
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::CST
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
assignedCustodian
1
1
cda-POCDMT000040AssignedCustodian
Element
assignedCustodian
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040AssignedCustodian
POCD_MT000040.AssignedCustodian
constraint_classCode
classCode is fixed to ASSIGNED
self.classCode.oclIsUndefined() or self.classCode=RoleClassAssignedEntity::ASSIGNED
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
representedCustodianOrganization
1
1
cda-POCDMT000040CustodianOrganization
Element
representedCustodianOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClassAssignedEntity
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040CustodianOrganization
POCD_MT000040.CustodianOrganization
constraint_classCode
classCode fixed to ORG value
self.classCode.oclIsUndefined() or self.classCode=EntityClassOrganization::ORG
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE value
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
name
0
1
datatypes-ON
Element
name
urn:hl7-org:v3
telecom
0
1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
addr
0
1
datatypes-AD
Element
addr
urn:hl7-org:v3
classCode
0
1
voc-EntityClassOrganization
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040InformationRecipient
POCD_MT000040.InformationRecipient
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
intendedRecipient
1
1
cda-POCDMT000040IntendedRecipient
Element
intendedRecipient
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-XInformationRecipient
Attribute
typeCode
POCDMT000040IntendedRecipient
POCD_MT000040.IntendedRecipient
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
informationRecipient
0
1
cda-POCDMT000040Person
Element
informationRecipient
urn:hl7-org:v3
receivedOrganization
0
1
cda-POCDMT000040Organization
Element
receivedOrganization
urn:hl7-org:v3
classCode
0
1
voc-XInformationRecipientRole
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040LegalAuthenticator
POCD_MT000040.LegalAuthenticator
constraint_typeCode
typeCode is fixed to LA
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::LA
ERROR
constraint_contextControlCode
contextControlCode is fxed to OP value
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
1
1
datatypes-TS
Element
time
urn:hl7-org:v3
signatureCode
1
1
datatypes-CS
Element
signatureCode
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040Authenticator
POCD_MT000040.Authenticator
constraint_typeCode
typeCode is fixed to AUTHEN value
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::AUTHEN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
1
1
datatypes-TS
Element
time
urn:hl7-org:v3
signatureCode
1
1
datatypes-CS
Element
signatureCode
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040Participant1
POCD_MT000040.Participant1
constraint_contextControlCode
contextControlCode fixed to OP
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
functionCode
0
1
datatypes-CE
Element
functionCode
urn:hl7-org:v3
time
0
1
datatypes-IVLTS
Element
time
urn:hl7-org:v3
associatedEntity
1
1
cda-POCDMT000040AssociatedEntity
Element
associatedEntity
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040AssociatedEntity
POCD_MT000040.AssociatedEntity
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
associatedPerson
0
1
cda-POCDMT000040Person
Element
associatedPerson
urn:hl7-org:v3
scopingOrganization
0
1
cda-POCDMT000040Organization
Element
scopingOrganization
urn:hl7-org:v3
classCode
1
1
voc-RoleClassAssociative
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040InFulfillmentOf
POCD_MT000040.InFulfillmentOf
constraint_typeCode
typeCode is fixed to FLFS
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipFulfills::FLFS
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
order
1
1
cda-POCDMT000040Order
Element
order
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipFulfills
Attribute
typeCode
POCDMT000040Order
POCD_MT000040.Order
constraint_moodCode
moodCode fixed to RQO
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::RQO
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
classCode
0
1
voc-ActClassRoot
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040DocumentationOf
POCD_MT000040.DocumentationOf
constraint_typeCode
typeCode is fixed to DOC value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipType::DOC
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
serviceEvent
1
1
cda-POCDMT000040ServiceEvent
Element
serviceEvent
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipType
Attribute
typeCode
POCDMT000040ServiceEvent
POCD_MT000040.ServiceEvent
constraint_moodCode
moodCode fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer1
Element
performer
urn:hl7-org:v3
classCode
0
1
voc-ActClassRoot
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Performer1
POCD_MT000040.Performer1
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
functionCode
0
1
datatypes-CE
Element
functionCode
urn:hl7-org:v3
time
0
1
datatypes-IVLTS
Element
time
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-XServiceEventPerformer
Attribute
typeCode
POCDMT000040RelatedDocument
POCD_MT000040.RelatedDocument
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
parentDocument
1
1
cda-POCDMT000040ParentDocument
Element
parentDocument
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-XActRelationshipDocument
Attribute
typeCode
POCDMT000040ParentDocument
POCD_MT000040.ParentDocument
constraint_classCode
classCode fixed to DOCCLIN
self.classCode.oclIsUndefined() or self.classCode=ActClinicalDocument::DOCCLIN
ERROR
constraint_moodCode
moodCode fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
setId
0
1
datatypes-II
Element
setId
urn:hl7-org:v3
versionNumber
0
1
datatypes-INT
Element
versionNumber
urn:hl7-org:v3
classCode
0
1
voc-ActClinicalDocument
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ClinicalDocument
POCD_MT000040.ClinicalDocument
constraint_classCode
classCode fixed to DOCCLIN value
self.classCode.oclIsUndefined() or self.classCode=ActClinicalDocument::DOCCLIN
ERROR
constraint_moodCode
moodCode fixed to EVN value
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
1
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
1
datatypes-II
Element
id
urn:hl7-org:v3
code
1
1
datatypes-CE
Element
code
urn:hl7-org:v3
title
0
1
datatypes-ST
Element
title
urn:hl7-org:v3
effectiveTime
1
1
datatypes-TS
Element
effectiveTime
urn:hl7-org:v3
confidentialityCode
1
1
datatypes-CE
Element
confidentialityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
setId
0
1
datatypes-II
Element
setId
urn:hl7-org:v3
versionNumber
0
1
datatypes-INT
Element
versionNumber
urn:hl7-org:v3
copyTime
0
1
datatypes-TS
Element
copyTime
urn:hl7-org:v3
recordTarget
1
-1
cda-POCDMT000040RecordTarget
Element
recordTarget
urn:hl7-org:v3
author
1
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
dataEnterer
0
1
cda-POCDMT000040DataEnterer
Element
dataEnterer
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
custodian
1
1
cda-POCDMT000040Custodian
Element
custodian
urn:hl7-org:v3
informationRecipient
0
-1
cda-POCDMT000040InformationRecipient
Element
informationRecipient
urn:hl7-org:v3
legalAuthenticator
0
1
cda-POCDMT000040LegalAuthenticator
Element
legalAuthenticator
urn:hl7-org:v3
authenticator
0
-1
cda-POCDMT000040Authenticator
Element
authenticator
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant1
Element
participant
urn:hl7-org:v3
inFulfillmentOf
0
-1
cda-POCDMT000040InFulfillmentOf
Element
inFulfillmentOf
urn:hl7-org:v3
documentationOf
0
-1
cda-POCDMT000040DocumentationOf
Element
documentationOf
urn:hl7-org:v3
relatedDocument
0
-1
cda-POCDMT000040RelatedDocument
Element
relatedDocument
urn:hl7-org:v3
authorization
0
-1
cda-POCDMT000040Authorization
Element
authorization
urn:hl7-org:v3
componentOf
0
1
cda-POCDMT000040Component1
Element
componentOf
urn:hl7-org:v3
component
1
1
cda-POCDMT000040Component2
Element
component
urn:hl7-org:v3
classCode
0
1
voc-ActClinicalDocument
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Authorization
POCD_MT000040.Authorization
constraint_typeCode
typeCode fixed to AUTH value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipType::AUTH
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
consent
1
1
cda-POCDMT000040Consent
Element
consent
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipType
Attribute
typeCode
POCDMT000040Consent
POCD_MT000040.Consent
constraint_classCode
classCode fixed to CONS value
self.classCode.oclIsUndefined() or self.classCode=ActClass::CONS
ERROR
constraint_moodCode
moodCode fixed to EVN value
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
statusCode
1
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Component1
POCD_MT000040.Component1
constraint_typeCode
typeCode fixed to COMP value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipHasComponent::COMP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
encompassingEncounter
1
1
cda-POCDMT000040EncompassingEncounter
Element
encompassingEncounter
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipHasComponent
Attribute
typeCode
POCDMT000040EncompassingEncounter
POCD_MT000040.EncompassingEncounter
constraint_classCode
classCode is fixed to ENC
self.classCode.oclIsUndefined() or self.classCode=ActClass::ENC
ERROR
constraint_moodCode
moodCode is fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
effectiveTime
1
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
dischargeDispositionCode
0
1
datatypes-CE
Element
dischargeDispositionCode
urn:hl7-org:v3
responsibleParty
0
1
cda-POCDMT000040ResponsibleParty
Element
responsibleParty
urn:hl7-org:v3
encounterParticipant
0
-1
cda-POCDMT000040EncounterParticipant
Element
encounterParticipant
urn:hl7-org:v3
location
0
1
cda-POCDMT000040Location
Element
location
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ResponsibleParty
POCD_MT000040.ResponsibleParty
constraint_typeCode
typeCode fixed to RESP
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::RESP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040EncounterParticipant
POCD_MT000040.EncounterParticipant
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
0
1
datatypes-IVLTS
Element
time
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-XEncounterParticipant
Attribute
typeCode
POCDMT000040Location
POCD_MT000040.Location
constraint_typeCode
typeCode is fixed to LOC value
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationTargetLocation::LOC
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
healthCareFacility
1
1
cda-POCDMT000040HealthCareFacility
Element
healthCareFacility
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationTargetLocation
Attribute
typeCode
POCDMT000040HealthCareFacility
POCD_MT000040.HealthCareFacility
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
location
0
1
cda-POCDMT000040Place
Element
location
urn:hl7-org:v3
serviceProviderOrganization
0
1
cda-POCDMT000040Organization
Element
serviceProviderOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClassServiceDeliveryLocation
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Component2
POCD_MT000040.Component2
constraint_structuredBody_nonXMLBody
only one of structuredBody, nonXMLBody can be present
self.structuredBody.oclIsUndefined() xor self.nonXMLBody.oclIsUndefined()
ERROR
constraint_typeCode
typeCode is fixed to COMP
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipHasComponent::COMP
ERROR
constraint_contextConductionInd
contextConductionInd fixed to true
self.contextConductionInd.oclIsUndefined() or self.contextConductionInd=true
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
nonXMLBody
0
1
cda-POCDMT000040NonXMLBody
Element
nonXMLBody
urn:hl7-org:v3
structuredBody
0
1
cda-POCDMT000040StructuredBody
Element
structuredBody
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipHasComponent
Attribute
typeCode
POCDMT000040NonXMLBody
POCD_MT000040.NonXMLBody
constraint_classCode
classCode fixed to DOCBODY
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCBODY
ERROR
constraint_moodCode
moodCode fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
text
1
1
datatypes-ED
Element
text
urn:hl7-org:v3
confidentialityCode
0
1
datatypes-CE
Element
confidentialityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040StructuredBody
POCD_MT000040.StructuredBody
constraint_classCode
classCode fixed to DOCBODY
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCBODY
ERROR
constraint_moodCode
moodCode fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
confidentialityCode
0
1
datatypes-CE
Element
confidentialityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
component
1
-1
cda-POCDMT000040Component3
Element
component
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Component3
POCD_MT000040.Component3
constraint_typeCode
typeCode fixed to COMP value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipHasComponent::COMP
ERROR
constraint_contextConductionInd
contextConductionInd fixed to true
self.contextConductionInd.oclIsUndefined() or self.contextConductionInd=true
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
section
1
1
cda-POCDMT000040Section
Element
section
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipHasComponent
Attribute
typeCode
POCDMT000040Section
POCD_MT000040.Section
constraint_classCode
classCode fixed to DOCSECT
self.classCode.oclIsUndefined() or self.classCode=ActClass::DOCSECT
ERROR
constraint_moodCode
moodCode fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
title
0
1
datatypes-ST
Element
title
urn:hl7-org:v3
text
0
1
nblock-StrucDocText
Element
text
urn:hl7-org:v3
confidentialityCode
0
1
datatypes-CE
Element
confidentialityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
entry
0
-1
cda-POCDMT000040Entry
Element
entry
urn:hl7-org:v3
component
0
-1
cda-POCDMT000040Component5
Element
component
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
iD1
0
1
XMLPrimitiveTypes-String
Attribute
iD1
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Subject
POCD_MT000040.Subject
constraint_typeCode
typeCode fixed to SBJ
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationTargetSubject::SBJ
ERROR
constraint_contextControlCode
contextControlCode fixed to OP
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
awarenessCode
0
1
datatypes-CE
Element
awarenessCode
urn:hl7-org:v3
relatedSubject
1
1
cda-POCDMT000040RelatedSubject
Element
relatedSubject
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationTargetSubject
Attribute
typeCode
POCDMT000040RelatedSubject
POCD_MT000040.RelatedSubject
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040SubjectPerson
Element
subject
urn:hl7-org:v3
classCode
0
1
voc-XDocumentSubject
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040SubjectPerson
POCD_MT000040.SubjectPerson
constraint_classCode
classCode fixed to PSN
self.classCode.oclIsUndefined() or self.classCode=EntityClass::PSN
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
name
0
-1
datatypes-PN
Element
name
urn:hl7-org:v3
administrativeGenderCode
0
1
datatypes-CE
Element
administrativeGenderCode
urn:hl7-org:v3
birthTime
0
1
datatypes-TS
Element
birthTime
urn:hl7-org:v3
classCode
0
1
voc-EntityClass
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Entry
POCD_MT000040.Entry
constraint_choice
only on of these attribute must be present : act, encounter, observation, observationMedia, organizer, procedure, regionOfInterest, substanceAdministration, supply
Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(),
self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(),
self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(bl : Boolean | bl = false)
ERROR
constraint_contextConductionInd
contextConductionInd fixed to true
self.contextConductionInd.oclIsUndefined() or self.contextConductionInd=true
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
act
0
1
cda-POCDMT000040Act
Element
act
urn:hl7-org:v3
encounter
0
1
cda-POCDMT000040Encounter
Element
encounter
urn:hl7-org:v3
observation
0
1
cda-POCDMT000040Observation
Element
observation
urn:hl7-org:v3
observationMedia
0
1
cda-POCDMT000040ObservationMedia
Element
observationMedia
urn:hl7-org:v3
organizer
0
1
cda-POCDMT000040Organizer
Element
organizer
urn:hl7-org:v3
procedure
0
1
cda-POCDMT000040Procedure
Element
procedure
urn:hl7-org:v3
regionOfInterest
0
1
cda-POCDMT000040RegionOfInterest
Element
regionOfInterest
urn:hl7-org:v3
substanceAdministration
0
1
cda-POCDMT000040SubstanceAdministration
Element
substanceAdministration
urn:hl7-org:v3
supply
0
1
cda-POCDMT000040Supply
Element
supply
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-XActRelationshipEntry
Attribute
typeCode
POCDMT000040Act
POCD_MT000040.Act
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
1
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-XActClassDocumentEntryAct
Attribute
classCode
moodCode
1
1
voc-XDocumentActMood
Attribute
moodCode
negationInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
negationInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Specimen
POCD_MT000040.Specimen
constraint_typeCode
typeCode fixed to SPC
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::SPC
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
specimenRole
1
1
cda-POCDMT000040SpecimenRole
Element
specimenRole
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040SpecimenRole
POCD_MT000040.SpecimenRole
constraint_classCode
classCode fixed to SPEC
self.classCode.oclIsUndefined() or self.classCode=RoleClassSpecimen::SPEC
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
specimenPlayingEntity
0
1
cda-POCDMT000040PlayingEntity
Element
specimenPlayingEntity
urn:hl7-org:v3
classCode
0
1
voc-RoleClassSpecimen
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040PlayingEntity
POCD_MT000040.PlayingEntity
constraint_classCode
classCode fixed to ENT
self.classCode.oclIsUndefined() or self.classCode=EntityClassRoot::ENT
ERROR
constraint_determinerCode
determinerCode fixed to INSTANCE
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
quantity
0
-1
datatypes-PQ
Element
quantity
urn:hl7-org:v3
name
0
-1
datatypes-PN
Element
name
urn:hl7-org:v3
desc
0
1
datatypes-ED
Element
desc
urn:hl7-org:v3
classCode
0
1
voc-EntityClassRoot
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Performer2
POCD_MT000040.Performer2
constraint_typeCode
typeCode fixed to PRF
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationPhysicalPerformer::PRF
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
0
1
datatypes-IVLTS
Element
time
urn:hl7-org:v3
modeCode
0
1
datatypes-CE
Element
modeCode
urn:hl7-org:v3
assignedEntity
1
1
cda-POCDMT000040AssignedEntity
Element
assignedEntity
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationPhysicalPerformer
Attribute
typeCode
POCDMT000040Participant2
POCD_MT000040.Participant2
constraint_contextControlCode
contextControlCode fixed to OP
self.contextControlCode.oclIsUndefined() or self.contextControlCode=NullFlavor::OP
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
time
0
1
datatypes-IVLTS
Element
time
urn:hl7-org:v3
awarenessCode
0
1
datatypes-CE
Element
awarenessCode
urn:hl7-org:v3
participantRole
1
1
cda-POCDMT000040ParticipantRole
Element
participantRole
urn:hl7-org:v3
contextControlCode
0
1
voc-NullFlavor
Attribute
contextControlCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040ParticipantRole
POCD_MT000040.ParticipantRole
constraint_choice
only one of these attribute can be present : playingDevice, playingEntity
self.playingDevice.oclIsUndefined() or self.playingEntity.oclIsUndefined()
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
addr
0
-1
datatypes-AD
Element
addr
urn:hl7-org:v3
telecom
0
-1
datatypes-TEL
Element
telecom
urn:hl7-org:v3
playingDevice
0
1
cda-POCDMT000040Device
Element
playingDevice
urn:hl7-org:v3
playingEntity
0
1
cda-POCDMT000040PlayingEntity
Element
playingEntity
urn:hl7-org:v3
scopingEntity
0
1
cda-POCDMT000040Entity
Element
scopingEntity
urn:hl7-org:v3
classCode
0
1
voc-RoleClassRoot
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Device
POCD_MT000040.Device
constraint_classCode
classCode is fixed to DEV value
self.classCode.oclIsUndefined() or self.classCode=EntityClassDevice::DEV
ERROR
constraint_determinerCode
determinerCode is fixed to INSTANCE value
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
manufacturerModelName
0
1
datatypes-SC
Element
manufacturerModelName
urn:hl7-org:v3
softwareName
0
1
datatypes-SC
Element
softwareName
urn:hl7-org:v3
classCode
0
1
voc-EntityClassDevice
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Entity
POCD_MT000040.Entity
constraint_determinerCode
determinerCode fixed to INSTANCE value
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminer::INSTANCE
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
desc
0
1
datatypes-ED
Element
desc
urn:hl7-org:v3
classCode
0
1
voc-EntityClassRoot
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminer
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040EntryRelationship
POCD_MT000040.EntryRelationship
constraint_choice
on POCDMT000040EntryRelationship only one element of these must be present : act, encounter, observation, observationMedia, organizer, procedure, regionOfInterest, substanceAdministration, supply
Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(),
self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(), self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(bl : Boolean| bl = false)
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
sequenceNumber
0
1
datatypes-INT
Element
sequenceNumber
urn:hl7-org:v3
seperatableInd
0
1
datatypes-BL
Element
seperatableInd
urn:hl7-org:v3
act
0
1
cda-POCDMT000040Act
Element
act
urn:hl7-org:v3
encounter
0
1
cda-POCDMT000040Encounter
Element
encounter
urn:hl7-org:v3
observation
0
1
cda-POCDMT000040Observation
Element
observation
urn:hl7-org:v3
observationMedia
0
1
cda-POCDMT000040ObservationMedia
Element
observationMedia
urn:hl7-org:v3
organizer
0
1
cda-POCDMT000040Organizer
Element
organizer
urn:hl7-org:v3
procedure
0
1
cda-POCDMT000040Procedure
Element
procedure
urn:hl7-org:v3
regionOfInterest
0
1
cda-POCDMT000040RegionOfInterest
Element
regionOfInterest
urn:hl7-org:v3
substanceAdministration
0
1
cda-POCDMT000040SubstanceAdministration
Element
substanceAdministration
urn:hl7-org:v3
supply
0
1
cda-POCDMT000040Supply
Element
supply
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
inversionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
inversionInd
negationInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
negationInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-XActRelationshipEntryRelationship
Attribute
typeCode
POCDMT000040Encounter
POCD_MT000040.Encounter
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClass
Attribute
classCode
moodCode
1
1
voc-XDocumentEncounterMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Reference
POCD_MT000040.Reference
constraint_choice
only one of these attributes must be present : externalAct, externalObservation, externalProcedure, externalDocument
Bag{self.externalAct.oclIsUndefined(), self.externalObservation.oclIsUndefined(), self.externalProcedure.oclIsUndefined(), self.externalDocument.oclIsUndefined()}->one(bl : Boolean | bl = false)
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
seperatableInd
0
1
datatypes-BL
Element
seperatableInd
urn:hl7-org:v3
externalAct
0
1
cda-POCDMT000040ExternalAct
Element
externalAct
urn:hl7-org:v3
externalObservation
0
1
cda-POCDMT000040ExternalObservation
Element
externalObservation
urn:hl7-org:v3
externalProcedure
0
1
cda-POCDMT000040ExternalProcedure
Element
externalProcedure
urn:hl7-org:v3
externalDocument
0
1
cda-POCDMT000040ExternalDocument
Element
externalDocument
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
1
1
voc-XActRelationshipExternalReference
Attribute
typeCode
POCDMT000040ExternalAct
POCD_MT000040.ExternalAct
constraint_moodCode
moodCode is fixed to EVN value
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
classCode
0
1
voc-ActClassRoot
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ExternalObservation
POCD_MT000040.ExternalObservation
constraint_moodCode
moodCode is fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
classCode
0
1
voc-ActClassObservation
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ExternalProcedure
POCD_MT000040.ExternalProcedure
constraint_moodCode
moodCode is fixed to EVN value
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
constraint_classCode
classCode is fixed to PROC value
self.classCode.oclIsUndefined() or self.classCode=ActClass::PROC
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
classCode
0
1
voc-ActClass
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ExternalDocument
POCD_MT000040.ExternalDocument
constraint_moodCode
moodCode is fixed to EVN
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
setId
0
1
datatypes-II
Element
setId
urn:hl7-org:v3
versionNumber
0
1
datatypes-INT
Element
versionNumber
urn:hl7-org:v3
classCode
0
1
voc-ActClassDocument
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Precondition
POCD_MT000040.Precondition
constraint_typeCode
typeCode fixed to PRCN
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipType::PRCN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
criterion
1
1
cda-POCDMT000040Criterion
Element
criterion
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipType
Attribute
typeCode
POCDMT000040Criterion
POCD_MT000040.Criterion
constraint_classCode
classCode fixed to OBS value
self.classCode.oclIsUndefined() or self.classCode=ActClassObservation::OBS
ERROR
constraint_moodCode
moodCode fixed to EVN.CRT value
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVNCRT
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
value
0
1
datatypes-ANY
Element
value
urn:hl7-org:v3
classCode
0
1
voc-ActClassObservation
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Observation
POCD_MT000040.Observation
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
1
1
datatypes-CD
Element
code
urn:hl7-org:v3
derivationExpr
0
1
datatypes-ST
Element
derivationExpr
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
repeatNumber
0
1
datatypes-IVLINT
Element
repeatNumber
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
value
0
-1
datatypes-ANY
Element
value
urn:hl7-org:v3
interpretationCode
0
-1
datatypes-CE
Element
interpretationCode
urn:hl7-org:v3
methodCode
0
-1
datatypes-CE
Element
methodCode
urn:hl7-org:v3
targetSiteCode
0
-1
datatypes-CD
Element
targetSiteCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
referenceRange
0
-1
cda-POCDMT000040ReferenceRange
Element
referenceRange
urn:hl7-org:v3
classCode
1
1
voc-ActClassObservation
Attribute
classCode
moodCode
1
1
voc-XActMoodDocumentObservation
Attribute
moodCode
negationInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
negationInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ReferenceRange
POCD_MT000040.ReferenceRange
constraint_typeCode
typeCode fixed to REFV
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipType::REFV
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
observationRange
1
1
cda-POCDMT000040ObservationRange
Element
observationRange
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipType
Attribute
typeCode
POCDMT000040ObservationRange
POCD_MT000040.ObservationRange
constraint_moodCode
moodCode fixed to EVN.CRT
self.moodCode.oclIsUndefined() or self.moodCode=ActMood::EVNCRT
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
value
0
1
datatypes-ANY
Element
value
urn:hl7-org:v3
interpretationCode
0
1
datatypes-CE
Element
interpretationCode
urn:hl7-org:v3
classCode
0
1
voc-ActClassObservation
Attribute
classCode
moodCode
0
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040ObservationMedia
POCD_MT000040.ObservationMedia
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
value
1
1
datatypes-ED
Element
value
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClassObservation
Attribute
classCode
iD1
0
1
XMLPrimitiveTypes-String
Attribute
iD1
moodCode
1
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Organizer
POCD_MT000040.Organizer
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
statusCode
1
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
component
0
-1
cda-POCDMT000040Component4
Element
component
urn:hl7-org:v3
classCode
1
1
voc-XActClassDocumentEntryOrganizer
Attribute
classCode
moodCode
1
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Component4
POCD_MT000040.Component4
constraint_choice
only one of act, encounter, observation, observationMedia, organizer, procedure, regionOfInterest, substanceAdministration, supply, must be present
Bag{self.act.oclIsUndefined(), self.encounter.oclIsUndefined(), self.observation.oclIsUndefined(), self.observationMedia.oclIsUndefined(), self.organizer.oclIsUndefined(), self.procedure.oclIsUndefined(), self.regionOfInterest.oclIsUndefined(), self.substanceAdministration.oclIsUndefined(), self.supply.oclIsUndefined()}->one(x | x = false)
ERROR
constraint_typeCode
typeCode fixed to COMP value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipHasComponent::COMP
ERROR
constraint_contextConductionInd
contextConductionInd fixed to true
self.contextConductionInd.oclIsUndefined() or self.contextConductionInd=true
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
sequenceNumber
0
1
datatypes-INT
Element
sequenceNumber
urn:hl7-org:v3
seperatableInd
0
1
datatypes-BL
Element
seperatableInd
urn:hl7-org:v3
act
0
1
cda-POCDMT000040Act
Element
act
urn:hl7-org:v3
encounter
0
1
cda-POCDMT000040Encounter
Element
encounter
urn:hl7-org:v3
observation
0
1
cda-POCDMT000040Observation
Element
observation
urn:hl7-org:v3
observationMedia
0
1
cda-POCDMT000040ObservationMedia
Element
observationMedia
urn:hl7-org:v3
organizer
0
1
cda-POCDMT000040Organizer
Element
organizer
urn:hl7-org:v3
procedure
0
1
cda-POCDMT000040Procedure
Element
procedure
urn:hl7-org:v3
regionOfInterest
0
1
cda-POCDMT000040RegionOfInterest
Element
regionOfInterest
urn:hl7-org:v3
substanceAdministration
0
1
cda-POCDMT000040SubstanceAdministration
Element
substanceAdministration
urn:hl7-org:v3
supply
0
1
cda-POCDMT000040Supply
Element
supply
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipHasComponent
Attribute
typeCode
POCDMT000040Procedure
POCD_MT000040.Procedure
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
1
datatypes-IVLTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
languageCode
0
1
datatypes-CS
Element
languageCode
urn:hl7-org:v3
methodCode
0
-1
datatypes-CE
Element
methodCode
urn:hl7-org:v3
approachSiteCode
0
-1
datatypes-CD
Element
approachSiteCode
urn:hl7-org:v3
targetSiteCode
0
-1
datatypes-CD
Element
targetSiteCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClass
Attribute
classCode
moodCode
1
1
voc-XDocumentProcedureMood
Attribute
moodCode
negationInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
negationInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040RegionOfInterest
POCD_MT000040.RegionOfInterest
constraint_classCode
classCode fixed to ROIOVL
(not self.classCode.oclIsUndefined()) and self.classCode=ActClass::ROIOVL
ERROR
constraint_moodCode
moodCode fixed to EVN
(not self.moodCode.oclIsUndefined()) and self.moodCode=ActMood::EVN
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
1
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
1
1
datatypes-CS
Element
code
urn:hl7-org:v3
value
1
-1
cda-POCDMT000040RegionOfInterestValue
Element
value
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClass
Attribute
classCode
iD1
0
1
XMLPrimitiveTypes-String
Attribute
iD1
moodCode
1
1
voc-ActMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040RegionOfInterestValue
POCD_MT000040.RegionOfInterest.value
datatypes-INT
unsorted
0
1
XMLPrimitiveTypes-Boolean
Attribute
unsorted
POCDMT000040SubstanceAdministration
POCD_MT000040.SubstanceAdministration
constraint_classCode
classCode fixed to SBADM
(not self.classCode.oclIsUndefined()) and self.classCode=ActClass::SBADM
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
-1
datatypes-SXCMTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
repeatNumber
0
1
datatypes-IVLINT
Element
repeatNumber
urn:hl7-org:v3
routeCode
0
1
datatypes-CE
Element
routeCode
urn:hl7-org:v3
approachSiteCode
0
-1
datatypes-CD
Element
approachSiteCode
urn:hl7-org:v3
doseQuantity
0
1
datatypes-IVLPQ
Element
doseQuantity
urn:hl7-org:v3
rateQuantity
0
1
datatypes-IVLPQ
Element
rateQuantity
urn:hl7-org:v3
maxDoseQuantity
0
1
datatypes-RTOPQPQ
Element
maxDoseQuantity
urn:hl7-org:v3
administrationUnitCode
0
1
datatypes-CE
Element
administrationUnitCode
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
consumable
1
1
cda-POCDMT000040Consumable
Element
consumable
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClass
Attribute
classCode
moodCode
1
1
voc-XDocumentSubstanceMood
Attribute
moodCode
negationInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
negationInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Consumable
POCD_MT000040.Consumable
constraint_typeCode
typeCode fixed to CSM value
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::CSM
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
manufacturedProduct
1
1
cda-POCDMT000040ManufacturedProduct
Element
manufacturedProduct
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040ManufacturedProduct
POCD_MT000040.ManufacturedProduct
constraint_choice
only one element must be present : manufacturedLabeledDrug, manufacturedMaterial
Bag{self.manufacturedLabeledDrug.oclIsUndefined(), self.manufacturedMaterial.oclIsUndefined()}->one(bl : Boolean | bl = false)
ERROR
constraint_classCode
classCode fixed to MANU
self.classCode.oclIsUndefined() or self.classCode=RoleClassManufacturedProduct::MANU
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
manufacturedLabeledDrug
0
1
cda-POCDMT000040LabeledDrug
Element
manufacturedLabeledDrug
urn:hl7-org:v3
manufacturedMaterial
0
1
cda-POCDMT000040Material
Element
manufacturedMaterial
urn:hl7-org:v3
manufacturerOrganization
0
1
cda-POCDMT000040Organization
Element
manufacturerOrganization
urn:hl7-org:v3
classCode
0
1
voc-RoleClassManufacturedProduct
Attribute
classCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040LabeledDrug
POCD_MT000040.LabeledDrug
constraint_classCode
classCode is fixed to MMAT
self.classCode.oclIsUndefined() or self.classCode=EntityClassManufacturedMaterial::MMAT
ERROR
constraint_determinerCode
determinerCode is fixed to KIND
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminerDetermined::KIND
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
name
0
1
datatypes-EN
Element
name
urn:hl7-org:v3
classCode
0
1
voc-EntityClassManufacturedMaterial
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminerDetermined
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Material
POCD_MT000040.Material
constraint_classCode
classCode is fixed to MMAT
self.classCode.oclIsUndefined() or self.classCode=EntityClassManufacturedMaterial::MMAT
ERROR
constraint_determinerCode
determinerCode fixed to KIND
self.determinerCode.oclIsUndefined() or self.determinerCode=EntityDeterminerDetermined::KIND
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
code
0
1
datatypes-CE
Element
code
urn:hl7-org:v3
name
0
1
datatypes-EN
Element
name
urn:hl7-org:v3
lotNumberText
0
1
datatypes-ST
Element
lotNumberText
urn:hl7-org:v3
classCode
0
1
voc-EntityClassManufacturedMaterial
Attribute
classCode
determinerCode
0
1
voc-EntityDeterminerDetermined
Attribute
determinerCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Supply
POCD_MT000040.Supply
constraint_classCode
classCode fixed to SPLY
(not self.classCode.oclIsUndefined()) and self.classCode=ActClassSupply::SPLY
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
id
0
-1
datatypes-II
Element
id
urn:hl7-org:v3
code
0
1
datatypes-CD
Element
code
urn:hl7-org:v3
text
0
1
datatypes-ED
Element
text
urn:hl7-org:v3
statusCode
0
1
datatypes-CS
Element
statusCode
urn:hl7-org:v3
effectiveTime
0
-1
datatypes-SXCMTS
Element
effectiveTime
urn:hl7-org:v3
priorityCode
0
-1
datatypes-CE
Element
priorityCode
urn:hl7-org:v3
repeatNumber
0
1
datatypes-IVLINT
Element
repeatNumber
urn:hl7-org:v3
independentInd
0
1
datatypes-BL
Element
independentInd
urn:hl7-org:v3
quantity
0
1
datatypes-PQ
Element
quantity
urn:hl7-org:v3
expectedUseTime
0
1
datatypes-IVLTS
Element
expectedUseTime
urn:hl7-org:v3
subject
0
1
cda-POCDMT000040Subject
Element
subject
urn:hl7-org:v3
specimen
0
-1
cda-POCDMT000040Specimen
Element
specimen
urn:hl7-org:v3
product
0
1
cda-POCDMT000040Product
Element
product
urn:hl7-org:v3
performer
0
-1
cda-POCDMT000040Performer2
Element
performer
urn:hl7-org:v3
author
0
-1
cda-POCDMT000040Author
Element
author
urn:hl7-org:v3
informant
0
-1
cda-POCDMT000040Informant12
Element
informant
urn:hl7-org:v3
participant
0
-1
cda-POCDMT000040Participant2
Element
participant
urn:hl7-org:v3
entryRelationship
0
-1
cda-POCDMT000040EntryRelationship
Element
entryRelationship
urn:hl7-org:v3
reference
0
-1
cda-POCDMT000040Reference
Element
reference
urn:hl7-org:v3
precondition
0
-1
cda-POCDMT000040Precondition
Element
precondition
urn:hl7-org:v3
classCode
1
1
voc-ActClassSupply
Attribute
classCode
moodCode
1
1
voc-XDocumentSubstanceMood
Attribute
moodCode
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
POCDMT000040Product
POCD_MT000040.Product
constraint_typeCode
typeCode fixed to PRD
self.typeCode.oclIsUndefined() or self.typeCode=ParticipationType::PRD
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
manufacturedProduct
1
1
cda-POCDMT000040ManufacturedProduct
Element
manufacturedProduct
urn:hl7-org:v3
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ParticipationType
Attribute
typeCode
POCDMT000040Component5
POCD_MT000040.Component5
constraint_typeCode
typeCode fixed to COMP value
self.typeCode.oclIsUndefined() or self.typeCode=ActRelationshipHasComponent::COMP
ERROR
constraint_contextConductionInd
contextConductionInd fixed to true
self.contextConductionInd.oclIsUndefined() or self.contextConductionInd=true
ERROR
realmCode
0
-1
datatypes-CS
Element
realmCode
urn:hl7-org:v3
typeId
0
1
cda-POCDMT000040InfrastructureRootTypeId
Element
typeId
urn:hl7-org:v3
templateId
0
-1
datatypes-II
Element
templateId
urn:hl7-org:v3
section
1
1
cda-POCDMT000040Section
Element
section
urn:hl7-org:v3
contextConductionInd
0
1
XMLPrimitiveTypes-Boolean
Attribute
contextConductionInd
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
typeCode
0
1
voc-ActRelationshipHasComponent
Attribute
typeCode
datatypes
AD
AD
datatypes-ANY
delimiter
partType of delimiter attribute fixed to DEL value
self.delimiter->forAll(adxp : AdxpDelimiter | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DEL)
ERROR
country
partType of country attribute fixed to CNT value
self.country->forAll(adxp : AdxpCountry | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::CNT)
ERROR
state
partType of state attribute fixed to STA value
self.state->forAll(adxp : AdxpState | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::STA)
ERROR
county
partType of county attribute fixed to CPA value
self.county->forAll(adxp : AdxpCounty | (adxp.partType.oclIsUndefined()) or adxp.partType = AddressPartType::CPA)
ERROR
city
partType of city attribute fixed to CTY value
self.city->forAll(adxp : AdxpCity | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::CTY)
ERROR
postalCode
partType of postalCode attribute fixed to ZIP value
self.postalCode->forAll(adxp : AdxpPostalCode | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::ZIP)
ERROR
streetAddressLine
partType of streetAddressLine attribute fixed to SAL value
self.streetAddressLine->forAll(adxp : AdxpStreetAddressLine | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::SAL)
ERROR
houseNumber
partType of houseNumber attribute fixed to BNR value
self.houseNumber->forAll(adxp : AdxpHouseNumber | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::BNR)
ERROR
houseNumberNumeric
partType of houseNumberNumeric attribute fixed to BNN value
self.houseNumberNumeric->forAll(adxp : AdxpHouseNumberNumeric | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::BNN)
ERROR
direction
partType of direction attribute fixed to DIR value
self.direction->forAll(adxp : AdxpDirection | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DIR)
ERROR
streetName
partType of streetName attribute fixed to STR value
self.streetName->forAll(adxp : AdxpStreetName | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::STR)
ERROR
streetNameBase
partType of streetNameBase attribute fixed to STB value
self.streetNameBase->forAll(adxp : AdxpStreetNameBase | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::STB)
ERROR
streetNameType
partType of streetNameType attribute fixed to STTYP value
self.streetNameType->forAll(adxp : AdxpStreetNameType | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::STTYP)
ERROR
additionalLocator
partType of additionalLocator attribute fixed to ADL value
self.additionalLocator->forAll(adxp : AdxpAdditionalLocator | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::ADL)
ERROR
unitID
partType of unitID attribute fixed to UNID value
self.unitID->forAll(adxp : AdxpUnitID | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::UNID)
ERROR
unitType
partType of unitType attribute fixed to UNIT value
self.unitType->forAll(adxp : AdxpUnitType | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::UNIT)
ERROR
careOf
partType of careOf attribute fixed to CAR value
self.careOf->forAll(adxp : AdxpCareOf | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::CAR)
ERROR
censusTract
partType of censusTract attribute fixed to CEN value
self.censusTract->forAll(adxp : AdxpCensusTract | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::CEN)
ERROR
deliveryAddressLine
partType of deliveryAddressLine attribute fixed to DAL value
self.deliveryAddressLine->forAll(adxp : AdxpDeliveryAddressLine | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DAL)
ERROR
deliveryInstallationType
partType of deliveryInstallationType attribute fixed to DINST value
self.deliveryInstallationType->forAll(adxp : AdxpDeliveryInstallationType | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DINST)
ERROR
deliveryInstallationArea
partType of deliveryInstallationArea attribute fixed to DINSTA value
self.deliveryInstallationArea->forAll(adxp : AdxpDeliveryInstallationArea | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DINSTA)
ERROR
deliveryInstallationQualifier
partType of deliveryInstallationQualifier attribute fixed to DINSTQ value
self.deliveryInstallationQualifier->forAll(adxp : AdxpDeliveryInstallationQualifier | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DINSTQ)
ERROR
deliveryMode
partType of deliveryMode attribute fixed to DMOD value
self.deliveryMode->forAll(adxp : AdxpDeliveryMode | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DMOD)
ERROR
deliveryModeIdentifier
partType of deliveryModeIdentifier attribute fixed to DMODID value
self.deliveryModeIdentifier->forAll(adxp : AdxpDeliveryModeIdentifier | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::DMODID)
ERROR
buildingNumberSuffix
partType of buildingNumberSuffix attribute fixed to BNS value
self.buildingNumberSuffix->forAll(adxp : AdxpBuildingNumberSuffix | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::BNS)
ERROR
postBox
partType of postBox attribute fixed to POB value
self.postBox->forAll(adxp : AdxpPostBox | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::POB)
ERROR
precinct
partType of precinct attribute fixed to PRE value
self.precinct->forAll(adxp : AdxpPrecinct | adxp.partType.oclIsUndefined() or adxp.partType = AddressPartType::PRE)
ERROR
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
delimiter
0
-1
datatypes-AdxpDelimiter
Element
delimiter
urn:hl7-org:v3
country
0
-1
datatypes-AdxpCountry
Element
country
urn:hl7-org:v3
state
0
-1
datatypes-AdxpState
Element
state
urn:hl7-org:v3
county
0
-1
datatypes-AdxpCounty
Element
county
urn:hl7-org:v3
city
0
-1
datatypes-AdxpCity
Element
city
urn:hl7-org:v3
postalCode
0
-1
datatypes-AdxpPostalCode
Element
postalCode
urn:hl7-org:v3
streetAddressLine
0
-1
datatypes-AdxpStreetAddressLine
Element
streetAddressLine
urn:hl7-org:v3
houseNumber
0
-1
datatypes-AdxpHouseNumber
Element
houseNumber
urn:hl7-org:v3
houseNumberNumeric
0
-1
datatypes-AdxpHouseNumberNumeric
Element
houseNumberNumeric
urn:hl7-org:v3
direction
0
-1
datatypes-AdxpDirection
Element
direction
urn:hl7-org:v3
streetName
0
-1
datatypes-AdxpStreetName
Element
streetName
urn:hl7-org:v3
streetNameBase
0
-1
datatypes-AdxpStreetNameBase
Element
streetNameBase
urn:hl7-org:v3
streetNameType
0
-1
datatypes-AdxpStreetNameType
Element
streetNameType
urn:hl7-org:v3
additionalLocator
0
-1
datatypes-AdxpAdditionalLocator
Element
additionalLocator
urn:hl7-org:v3
unitID
0
-1
datatypes-AdxpUnitID
Element
unitID
urn:hl7-org:v3
unitType
0
-1
datatypes-AdxpUnitType
Element
unitType
urn:hl7-org:v3
careOf
0
-1
datatypes-AdxpCareOf
Element
careOf
urn:hl7-org:v3
censusTract
0
-1
datatypes-AdxpCensusTract
Element
censusTract
urn:hl7-org:v3
deliveryAddressLine
0
-1
datatypes-AdxpDeliveryAddressLine
Element
deliveryAddressLine
urn:hl7-org:v3
deliveryInstallationType
0
-1
datatypes-AdxpDeliveryInstallationType
Element
deliveryInstallationType
urn:hl7-org:v3
deliveryInstallationArea
0
-1
datatypes-AdxpDeliveryInstallationArea
Element
deliveryInstallationArea
urn:hl7-org:v3
deliveryInstallationQualifier
0
-1
datatypes-AdxpDeliveryInstallationQualifier
Element
deliveryInstallationQualifier
urn:hl7-org:v3
deliveryMode
0
-1
datatypes-AdxpDeliveryMode
Element
deliveryMode
urn:hl7-org:v3
deliveryModeIdentifier
0
-1
datatypes-AdxpDeliveryModeIdentifier
Element
deliveryModeIdentifier
urn:hl7-org:v3
buildingNumberSuffix
0
-1
datatypes-AdxpBuildingNumberSuffix
Element
buildingNumberSuffix
urn:hl7-org:v3
postBox
0
-1
datatypes-AdxpPostBox
Element
postBox
urn:hl7-org:v3
precinct
0
-1
datatypes-AdxpPrecinct
Element
precinct
urn:hl7-org:v3
useablePeriod
0
-1
datatypes-SXCMTS
Element
useablePeriod
urn:hl7-org:v3
isNotOrdered
0
1
XMLPrimitiveTypes-Boolean
Attribute
isNotOrdered
use
0
1
datatypes-SetPostalAddressUse
Attribute
use
ANY
ANY
common-CommonOperations
nullFlavor
0
1
voc-NullFlavor
Attribute
nullFlavor
AdxpDelimiter
adxp.delimiter
datatypes-ADXP
ADXP
ADXP
datatypes-ST
partType
0
1
voc-AddressPartType
Attribute
partType
ST
ST
datatypes-ED
thumbnail
thumbnail is undefined
self.thumbnail.oclIsUndefined()
ERROR
reference
reference is undefined
self.reference.oclIsUndefined()
ERROR
integrityCheckAlgorithm
integrityCheckAlgorithm is prohibited
self.integrityCheckAlgorithm.oclIsUndefined()
ERROR
compression
compression is prohibited
self.compression.oclIsUndefined()
ERROR
representation
representation fixed to TXT
self.representation.oclIsUndefined() or self.representation=BinaryDataEncoding::TXT
ERROR
constraint_ST
ST element must be nullFlavor or must contains datas
(not self.nullFlavor.oclIsUndefined()) xor (self.mixed->size() > 0)
ERROR
ED
ED
datatypes-BIN
constraint_thumbnail
if thumbnail defined on ED element, thumbnail.thumbnail must be undefined
not self.thumbnail.oclIsUndefined() implies self.thumbnail.thumbnail.oclIsUndefined()
ERROR
reference
0
1
datatypes-TEL
Element
reference
urn:hl7-org:v3
thumbnail
0
1
datatypes-Thumbnail
Element
thumbnail
urn:hl7-org:v3
compression
0
1
voc-CompressionAlgorithm
Attribute
compression
integrityCheck
0
1
XMLPrimitiveTypes-String
Attribute
integrityCheck
integrityCheckAlgorithm
0
1
voc-IntegrityCheckAlgorithm
Attribute
integrityCheckAlgorithm
language
0
1
XMLPrimitiveTypes-String
Attribute
language
mediaType
0
1
XMLPrimitiveTypes-String
Attribute
mediaType
BIN
BIN
datatypes-ANY
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
representation
0
1
datatypes-BinaryDataEncoding
Attribute
representation
TEL
TEL
datatypes-URL
useablePeriod
0
-1
datatypes-SXCMTS
Element
useablePeriod
urn:hl7-org:v3
use
0
-1
UMLPrimitiveTypes-String
Attribute
use
URL
URL
datatypes-ANY
constraint_nullFlavor
URL must be nullFlavor, or it must have value attribute
(not self.nullFlavor.oclIsUndefined()) xor (not self.value.oclIsUndefined())
ERROR
value
0
1
XMLPrimitiveTypes-String
Attribute
value
SXCMTS
SXCM_TS
datatypes-TS
operator
0
1
voc-SetOperator
Attribute
operator
TS
TS
datatypes-QTY
value
0
1
XMLPrimitiveTypes-String
Attribute
value
QTY
QTY
datatypes-ANY
Thumbnail
thumbnail
datatypes-ED
AdxpCountry
adxp.country
datatypes-ADXP
AdxpState
adxp.state
datatypes-ADXP
AdxpCounty
adxp.county
datatypes-ADXP
AdxpCity
adxp.city
datatypes-ADXP
AdxpPostalCode
adxp.postalCode
datatypes-ADXP
AdxpStreetAddressLine
adxp.streetAddressLine
datatypes-ADXP
AdxpHouseNumber
adxp.houseNumber
datatypes-ADXP
AdxpHouseNumberNumeric
adxp.houseNumberNumeric
datatypes-ADXP
AdxpDirection
adxp.direction
datatypes-ADXP
AdxpStreetName
adxp.streetName
datatypes-ADXP
AdxpStreetNameBase
adxp.streetNameBase
datatypes-ADXP
AdxpStreetNameType
adxp.streetNameType
datatypes-ADXP
AdxpAdditionalLocator
adxp.additionalLocator
datatypes-ADXP
AdxpUnitID
adxp.unitID
datatypes-ADXP
AdxpUnitType
adxp.unitType
datatypes-ADXP
AdxpCareOf
adxp.careOf
datatypes-ADXP
AdxpCensusTract
adxp.censusTract
datatypes-ADXP
AdxpDeliveryAddressLine
adxp.deliveryAddressLine
datatypes-ADXP
AdxpDeliveryInstallationType
adxp.deliveryInstallationType
datatypes-ADXP
AdxpDeliveryInstallationArea
adxp.deliveryInstallationArea
datatypes-ADXP
AdxpDeliveryInstallationQualifier
adxp.deliveryInstallationQualifier
datatypes-ADXP
AdxpDeliveryMode
adxp.deliveryMode
datatypes-ADXP
AdxpDeliveryModeIdentifier
adxp.deliveryModeIdentifier
datatypes-ADXP
AdxpBuildingNumberSuffix
adxp.buildingNumberSuffix
datatypes-ADXP
AdxpPostBox
adxp.postBox
datatypes-ADXP
AdxpPrecinct
adxp.precinct
datatypes-ADXP
ANYNonNull
ANYNonNull
datatypes-ANY
BL
BL
datatypes-ANY
constraint_nullflavor
BL is nullFlavor or value must be not null
(not self.nullFlavor.oclIsUndefined()) xor (not self.value.oclIsUndefined())
ERROR
value
0
1
XMLPrimitiveTypes-Boolean
Attribute
value
BN
BN
datatypes-ANYNonNull
constraint_nullFlavor
nullFlavor undefined on BN class
self.nullFlavor.oclIsUndefined()
ERROR
value
0
1
XMLPrimitiveTypes-Boolean
Attribute
value
BXITCD
BXIT_CD
datatypes-CD
qty
0
1
XMLPrimitiveTypes-Integer
Attribute
qty
CD
CD
datatypes-ANY
originalText
0
1
datatypes-ED
Element
originalText
urn:hl7-org:v3
qualifier
0
-1
datatypes-CR
Element
qualifier
urn:hl7-org:v3
translation
0
-1
datatypes-CD
Element
translation
urn:hl7-org:v3
code
0
1
XMLPrimitiveTypes-String
Attribute
code
codeSystem
0
1
XMLPrimitiveTypes-String
Attribute
codeSystem
codeSystemName
0
1
XMLPrimitiveTypes-String
Attribute
codeSystemName
codeSystemVersion
0
1
XMLPrimitiveTypes-String
Attribute
codeSystemVersion
displayName
0
1
XMLPrimitiveTypes-String
Attribute
displayName
CR
CR
datatypes-ANY
constraint_nullFlavor
CR is nullFlavor or valur must be defined
(not self.nullFlavor.oclIsUndefined()) xor (not self.value.oclIsUndefined())
ERROR
name
0
1
datatypes-CV
Element
name
urn:hl7-org:v3
value
0
1
datatypes-CD
Element
value
urn:hl7-org:v3
inverted
0
1
XMLPrimitiveTypes-Boolean
Attribute
inverted
CV
CV
datatypes-CE
constraint_translation
translation null
self.translation->size()=0
ERROR
CE
CE
datatypes-CD
constraint_qualifier
qualifier empty
self.qualifier->size()=0
ERROR
BXITIVLPQ
BXIT_IVL_PQ
datatypes-IVLPQ
qty
0
1
XMLPrimitiveTypes-Integer
Attribute
qty
IVLPQ
IVL_PQ
datatypes-SXCMPQ
optionsContainingLow
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.low.oclIsUndefined() implies self.center.oclIsUndefined() and (self.width.oclIsUndefined() or self.high.oclIsUndefined())
ERROR
optionsContainingCenter
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.center.oclIsUndefined() implies self.high.oclIsUndefined() and self.low.oclIsUndefined()
ERROR
optionsContainingHigh
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.high.oclIsUndefined() implies (self.low.oclIsUndefined() and self.center.oclIsUndefined() and self.width.oclIsUndefined()) or ((not self.low.oclIsUndefined()) and self.width.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.width.oclIsUndefined()) and self.low.oclIsUndefined() and self.center.oclIsUndefined())
ERROR
optionsContainingWidth
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.width.oclIsUndefined() implies ((not self.low.oclIsUndefined()) and self.center.oclIsUndefined() and self.high.oclIsUndefined()) or (self.low.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.center.oclIsUndefined()) and self.low.oclIsUndefined() and self.high.oclIsUndefined())
ERROR
low
0
1
datatypes-IVXBPQ
Element
low
urn:hl7-org:v3
center
0
1
datatypes-PQ
Element
center
urn:hl7-org:v3
width
0
1
datatypes-PQ
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBPQ
Element
high
urn:hl7-org:v3
SXCMPQ
SXCM_PQ
datatypes-PQ
operator
0
1
voc-SetOperator
Attribute
operator
PQ
PQ
datatypes-QTY
translation
0
-1
datatypes-PQR
Element
translation
urn:hl7-org:v3
unit
0
1
XMLPrimitiveTypes-String
Attribute
unit
value
0
1
XMLPrimitiveTypes-Double
Attribute
value
PQR
PQR
datatypes-CV
value
0
1
XMLPrimitiveTypes-Double
Attribute
value
IVXBPQ
IVXB_PQ
datatypes-PQ
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
CO
CO
datatypes-CV
CS
CS
datatypes-CV
constraint_originalText
originalText null
self.originalText.oclIsUndefined()
ERROR
constraint_codeSystem
codeSystem null
self.codeSystem.oclIsUndefined()
ERROR
constraint_codeSystemVersion
codeSystemVersion null
self.codeSystemVersion.oclIsUndefined()
ERROR
displayName
displayName null
self.displayName.oclIsUndefined()
ERROR
EIVLEvent
EIVL.event
datatypes-CE
constraint_originalText
originalText null
self.originalText.oclIsUndefined()
ERROR
constraint_translation
translation null
self.translation->size()=0
ERROR
constraint_codeSystem
codeSystem null or equal to 2.16.840.1.113883.5.139
not self.codeSystem.oclIsUndefined() implies self.codeSystem='2.16.840.1.113883.5.139'
ERROR
constraint_codeSystemName
codeSystemName null or equals to TimingEvent
not self.codeSystemName.oclIsUndefined() implies self.codeSystemName='TimingEvent'
ERROR
EIVLPPDTS
EIVL_PPD_TS
datatypes-SXCMPPDTS
event
0
1
datatypes-EIVLEvent
Element
event
urn:hl7-org:v3
offset
0
1
datatypes-IVLPPDPQ
Element
offset
urn:hl7-org:v3
SXCMPPDTS
SXCM_PPD_TS
datatypes-PPDTS
operator
0
1
voc-SetOperator
Attribute
operator
PPDTS
PPD_TS
datatypes-TS
standardDeviation
0
1
datatypes-PQ
Element
standardDeviation
urn:hl7-org:v3
distributionType
0
1
voc-ProbabilityDistributionType
Attribute
distributionType
IVLPPDPQ
IVL_PPD_PQ
datatypes-SXCMPPDPQ
low
0
1
datatypes-IVXBPPDPQ
Element
low
urn:hl7-org:v3
center
0
1
datatypes-PPDPQ
Element
center
urn:hl7-org:v3
width
0
1
datatypes-PPDPQ
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBPPDPQ
Element
high
urn:hl7-org:v3
SXCMPPDPQ
SXCM_PPD_PQ
datatypes-PPDPQ
operator
0
1
voc-SetOperator
Attribute
operator
PPDPQ
PPD_PQ
datatypes-PQ
standardDeviation
0
1
datatypes-PQ
Element
standardDeviation
urn:hl7-org:v3
distributionType
0
1
voc-ProbabilityDistributionType
Attribute
distributionType
IVXBPPDPQ
IVXB_PPD_PQ
datatypes-PPDPQ
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
EIVLTS
EIVL_TS
datatypes-SXCMTS
event
0
1
datatypes-EIVLEvent
Element
event
urn:hl7-org:v3
offset
0
1
datatypes-IVLPQ
Element
offset
urn:hl7-org:v3
EN
EN
datatypes-ANY
delimiter
partType of delimiter fixed to DEL
self.delimiter->forAll(enxp : EnDelimiter | enxp.partType.oclIsUndefined() or enxp.partType = EntityNamePartType::DEL)
ERROR
family
partType of family fixed to FAM
self.family->forAll(enxp : EnFamily | enxp.partType.oclIsUndefined() or enxp.partType=EntityNamePartType::FAM)
ERROR
given
partType of given fixed to GIV
self.given->forAll(enxp : EnGiven | enxp.partType.oclIsUndefined() or enxp.partType = EntityNamePartType::GIV)
ERROR
prefix
partType of prefix fixed to PFX
self.prefix->forAll(enxp : EnPrefix | enxp.partType.oclIsUndefined() or enxp.partType = EntityNamePartType::PFX)
ERROR
suffix
partType of suffix fixed to SFX
self.suffix->forAll(enxp : EnSuffix | enxp.partType.oclIsUndefined() or enxp.partType = EntityNamePartType::SFX)
ERROR
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
delimiter
0
-1
datatypes-EnDelimiter
Element
delimiter
urn:hl7-org:v3
family
0
-1
datatypes-EnFamily
Element
family
urn:hl7-org:v3
given
0
-1
datatypes-EnGiven
Element
given
urn:hl7-org:v3
prefix
0
-1
datatypes-EnPrefix
Element
prefix
urn:hl7-org:v3
suffix
0
-1
datatypes-EnSuffix
Element
suffix
urn:hl7-org:v3
validTime
0
1
datatypes-IVLTS
Element
validTime
urn:hl7-org:v3
use
0
-1
UMLPrimitiveTypes-String
Attribute
use
EnDelimiter
en.delimiter
datatypes-ENXP
ENXP
ENXP
datatypes-ST
partType
0
1
voc-EntityNamePartType
Attribute
partType
qualifier
0
-1
UMLPrimitiveTypes-String
Attribute
qualifier
EnFamily
en.family
datatypes-ENXP
EnGiven
en.given
datatypes-ENXP
EnPrefix
en.prefix
datatypes-ENXP
EnSuffix
en.suffix
datatypes-ENXP
IVLTS
IVL_TS
datatypes-SXCMTS
optionsContainingLow
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.low.oclIsUndefined() implies self.center.oclIsUndefined() and (self.width.oclIsUndefined() or self.high.oclIsUndefined())
ERROR
optionsContainingCenter
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.center.oclIsUndefined() implies self.high.oclIsUndefined() and self.low.oclIsUndefined()
ERROR
optionsContainingHigh
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.high.oclIsUndefined() implies (self.low.oclIsUndefined() and self.center.oclIsUndefined() and self.width.oclIsUndefined()) or ((not self.low.oclIsUndefined()) and self.width.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.width.oclIsUndefined()) and self.low.oclIsUndefined() and self.center.oclIsUndefined())
ERROR
optionsContainingWidth
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.width.oclIsUndefined() implies ((not self.low.oclIsUndefined()) and self.center.oclIsUndefined() and self.high.oclIsUndefined()) or (self.low.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.center.oclIsUndefined()) and self.low.oclIsUndefined() and self.high.oclIsUndefined())
ERROR
low
0
1
datatypes-IVXBTS
Element
low
urn:hl7-org:v3
center
0
1
datatypes-TS
Element
center
urn:hl7-org:v3
width
0
1
datatypes-PQ
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBTS
Element
high
urn:hl7-org:v3
IVXBTS
IVXB_TS
datatypes-TS
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
GLISTPQ
GLIST_PQ
datatypes-ANY
head
1
1
datatypes-PQ
Element
head
urn:hl7-org:v3
increment
1
1
datatypes-PQ
Element
increment
urn:hl7-org:v3
denominator
0
1
XMLPrimitiveTypes-Integer
Attribute
denominator
period
0
1
XMLPrimitiveTypes-Integer
Attribute
period
GLISTTS
GLIST_TS
datatypes-ANY
head
1
1
datatypes-TS
Element
head
urn:hl7-org:v3
increment
1
1
datatypes-PQ
Element
increment
urn:hl7-org:v3
denominator
0
1
XMLPrimitiveTypes-Integer
Attribute
denominator
period
0
1
XMLPrimitiveTypes-Integer
Attribute
period
HXITCE
HXIT_CE
datatypes-CE
validTime
0
1
datatypes-IVLTS
Element
validTime
urn:hl7-org:v3
HXITPQ
HXIT_PQ
datatypes-PQ
validTime
0
1
datatypes-IVLTS
Element
validTime
urn:hl7-org:v3
II
II
datatypes-ANY
constraint_II
II must be nullflavor or root attribtue must be defined
(not self.nullFlavor.oclIsUndefined()) xor (not self.root.oclIsUndefined())
ERROR
assigningAuthorityName
0
1
XMLPrimitiveTypes-String
Attribute
assigningAuthorityName
displayable
0
1
XMLPrimitiveTypes-Boolean
Attribute
displayable
extension
0
1
XMLPrimitiveTypes-String
Attribute
extension
root
0
1
XMLPrimitiveTypes-String
Attribute
root
INT
INT
datatypes-QTY
constraint_INT
INT value should be not null, or nullFlavor is defined
(not self.nullFlavor.oclIsUndefined()) xor (not self.value.oclIsUndefined())
ERROR
value
0
1
XMLPrimitiveTypes-Integer
Attribute
value
IVLINT
IVL_INT
datatypes-SXCMINT
optionsContainingLow
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.low.oclIsUndefined() implies self.center.oclIsUndefined() and (self.width.oclIsUndefined() or self.high.oclIsUndefined())
ERROR
optionsContainingHigh
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.high.oclIsUndefined() implies (self.low.oclIsUndefined() and self.center.oclIsUndefined() and self.width.oclIsUndefined()) or ((not self.low.oclIsUndefined()) and self.width.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.width.oclIsUndefined()) and self.low.oclIsUndefined() and self.center.oclIsUndefined())
ERROR
optionsContainingCenter
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.center.oclIsUndefined() implies self.high.oclIsUndefined() and self.low.oclIsUndefined()
ERROR
optionsContainingWidth
In any interval representation only two of the three properties high, low, and width need to be stated and the third can be derived.
not self.width.oclIsUndefined() implies ((not self.low.oclIsUndefined()) and self.center.oclIsUndefined() and self.high.oclIsUndefined()) or (self.low.oclIsUndefined() and self.center.oclIsUndefined()) or ((not self.center.oclIsUndefined()) and self.low.oclIsUndefined() and self.high.oclIsUndefined())
ERROR
low
0
1
datatypes-IVXBINT
Element
low
urn:hl7-org:v3
center
0
1
datatypes-INT
Element
center
urn:hl7-org:v3
width
0
1
datatypes-INT
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBINT
Element
high
urn:hl7-org:v3
SXCMINT
SXCM_INT
datatypes-INT
operator
0
1
voc-SetOperator
Attribute
operator
IVXBINT
IVXB_INT
datatypes-INT
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
IVLMO
IVL_MO
datatypes-SXCMMO
low
0
1
datatypes-IVXBMO
Element
low
urn:hl7-org:v3
center
0
1
datatypes-MO
Element
center
urn:hl7-org:v3
width
0
1
datatypes-MO
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBMO
Element
high
urn:hl7-org:v3
SXCMMO
SXCM_MO
datatypes-MO
operator
0
1
voc-SetOperator
Attribute
operator
MO
MO
datatypes-QTY
constraint_MO
nullFlavor doeas not much if value or curracy are defined
not ((not self.nullFlavor.oclIsUndefined()) and ((not self.value.oclIsUndefined()) or (not self.currency.oclIsUndefined())))
ERROR
currency
0
1
XMLPrimitiveTypes-String
Attribute
currency
value
0
1
XMLPrimitiveTypes-Double
Attribute
value
IVXBMO
IVXB_MO
datatypes-MO
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
IVLPPDTS
IVL_PPD_TS
datatypes-SXCMPPDTS
low
0
1
datatypes-IVXBPPDTS
Element
low
urn:hl7-org:v3
center
0
1
datatypes-PPDTS
Element
center
urn:hl7-org:v3
width
0
1
datatypes-PPDPQ
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBPPDTS
Element
high
urn:hl7-org:v3
IVXBPPDTS
IVXB_PPD_TS
datatypes-PPDTS
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
IVLREAL
IVL_REAL
datatypes-SXCMREAL
low
0
1
datatypes-IVXBREAL
Element
low
urn:hl7-org:v3
center
0
1
datatypes-REAL
Element
center
urn:hl7-org:v3
width
0
1
datatypes-REAL
Element
width
urn:hl7-org:v3
high
0
1
datatypes-IVXBREAL
Element
high
urn:hl7-org:v3
SXCMREAL
SXCM_REAL
datatypes-REAL
operator
0
1
voc-SetOperator
Attribute
operator
REAL
REAL
datatypes-QTY
constraint_nullFlavor
nullFlavor must be defined, or value must be not null
(not self.nullFlavor.oclIsUndefined()) xor (not self.value.oclIsUndefined())
ERROR
value
0
1
XMLPrimitiveTypes-Double
Attribute
value
IVXBREAL
IVXB_REAL
datatypes-REAL
inclusive
0
1
XMLPrimitiveTypes-Boolean
Attribute
inclusive
ON
ON
datatypes-EN
constraint_ON
family and given must be null on ON element
self.family->isEmpty() and self.given->isEmpty()
ERROR
PIVLPPDTS
PIVL_PPD_TS
datatypes-SXCMPPDTS
phase
0
1
datatypes-IVLPPDTS
Element
phase
urn:hl7-org:v3
period
0
1
datatypes-PPDPQ
Element
period
urn:hl7-org:v3
alignment
0
1
voc-CalendarCycle
Attribute
alignment
institutionSpecified
0
1
XMLPrimitiveTypes-Boolean
Attribute
institutionSpecified
PIVLTS
PIVL_TS
datatypes-SXCMTS
phase
0
1
datatypes-IVLTS
Element
phase
urn:hl7-org:v3
period
0
1
datatypes-PQ
Element
period
urn:hl7-org:v3
alignment
0
1
voc-CalendarCycle
Attribute
alignment
institutionSpecified
0
1
XMLPrimitiveTypes-Boolean
Attribute
institutionSpecified
PN
PN
datatypes-EN
constraint_PN
delimiter attributes must not contains LS as qualifier, as well as for family, given, prefix and suffix
self.delimiter->forAll(enxp :EnDelimiter | enxp.qualifier->forAll(qual : String | not enxp.matches(qual, '^LS$')) ) and
self.family->forAll(enxp :EnFamily | enxp.qualifier->forAll(qual : String | not enxp.matches(qual, '^LS$')) ) and
self.given->forAll(enxp :EnGiven | enxp.qualifier->forAll(qual : String | not enxp.matches(qual, '^LS$')) ) and
self.prefix->forAll(enxp :EnPrefix | enxp.qualifier->forAll(qual : String | not enxp.matches(qual, '^LS$')) ) and
self.suffix->forAll(enxp :EnSuffix | enxp.qualifier->forAll(qual : String | not enxp.matches(qual, '^LS$')) )
ERROR
RTO
RTO
datatypes-RTOQTYQTY
RTOQTYQTY
RTO_QTY_QTY
datatypes-QTY
constraint_denominator
The denominator must not be zero
(self.denominator.oclIsKindOf(INT) implies self.denominator.oclAsType(INT).value <> 0) and
(self.denominator.oclIsKindOf(REAL) implies self.denominator.oclAsType(REAL).value <> 0)
ERROR
numerator
1
1
datatypes-QTY
Element
numerator
urn:hl7-org:v3
denominator
1
1
datatypes-QTY
Element
denominator
urn:hl7-org:v3
RTOMOPQ
RTO_MO_PQ
datatypes-QTY
numerator
1
1
datatypes-MO
Element
numerator
urn:hl7-org:v3
denominator
1
1
datatypes-PQ
Element
denominator
urn:hl7-org:v3
RTOPQPQ
RTO_PQ_PQ
datatypes-QTY
constraint_denominator
denominator value must be not null
self.denominator.value<>0
ERROR
numerator
1
1
datatypes-PQ
Element
numerator
urn:hl7-org:v3
denominator
1
1
datatypes-PQ
Element
denominator
urn:hl7-org:v3
SC
SC
datatypes-ST
code
0
1
XMLPrimitiveTypes-String
Attribute
code
codeSystem
0
1
XMLPrimitiveTypes-String
Attribute
codeSystem
codeSystemName
0
1
XMLPrimitiveTypes-String
Attribute
codeSystemName
codeSystemVersion
0
1
XMLPrimitiveTypes-String
Attribute
codeSystemVersion
displayName
0
1
XMLPrimitiveTypes-String
Attribute
displayName
SLISTPQ
SLIST_PQ
datatypes-ANY
origin
1
1
datatypes-PQ
Element
origin
urn:hl7-org:v3
scale
1
1
datatypes-PQ
Element
scale
urn:hl7-org:v3
digits
1
1
datatypes-ListInt
Element
digits
urn:hl7-org:v3
SLISTTS
SLIST_TS
datatypes-ANY
origin
1
1
datatypes-TS
Element
origin
urn:hl7-org:v3
scale
1
1
datatypes-PQ
Element
scale
urn:hl7-org:v3
digits
1
1
datatypes-ListInt
Element
digits
urn:hl7-org:v3
SXCMCD
SXCM_CD
datatypes-CD
operator
0
1
voc-SetOperator
Attribute
operator
SXPRTS
SXPR_TS
datatypes-SXCMTS
comp
2
-1
datatypes-SXCMTS
Element
comp
urn:hl7-org:v3
TN
TN
datatypes-EN
constraint_invariant
TN is a restriction of entity name that is effectively a simple string used for a simple name for things and places.
self.delimiter->isEmpty() and self.family->isEmpty() and self.given->isEmpty() and self.prefix->isEmpty() and self.suffix->isEmpty() and self.mixed->size() = 1
ERROR
UVPTS
UVP_TS
datatypes-TS
probability
0
1
XMLPrimitiveTypes-Double
Attribute
probability
BinaryDataEncoding
BinaryDataEncoding
B64
B64
TXT
TXT
nblock
StrucDocBr
StrucDoc.Br
StrucDocCaption
StrucDoc.Caption
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocLinkHtml
StrucDoc.LinkHtml
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
href
0
1
XMLPrimitiveTypes-String
Attribute
href
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
name
0
1
XMLPrimitiveTypes-String
Attribute
name
rel
0
1
XMLPrimitiveTypes-String
Attribute
rel
rev
0
1
XMLPrimitiveTypes-String
Attribute
rev
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
title
0
1
XMLPrimitiveTypes-String
Attribute
title
StrucDocFootnote
StrucDoc.Footnote
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
paragraph
0
-1
nblock-StrucDocParagraph
Element
paragraph
urn:hl7-org:v3
list
0
-1
nblock-StrucDocList
Element
list
urn:hl7-org:v3
table
0
-1
nblock-StrucDocTable
Element
table
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocContent
StrucDoc.Content
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
revised
0
1
nblock-RevisedType
Attribute
revised
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocSub
StrucDoc.Sub
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
StrucDocSup
StrucDoc.Sup
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
StrucDocFootnoteRef
StrucDoc.FootnoteRef
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
iDREF
1
1
XMLPrimitiveTypes-String
Attribute
iDREF
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocRenderMultiMedia
StrucDoc.RenderMultiMedia
caption
0
1
nblock-StrucDocCaption
Element
caption
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
referencedObject
1
1
XMLPrimitiveTypes-String
Attribute
referencedObject
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocParagraph
StrucDoc.Paragraph
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
caption
0
1
nblock-StrucDocCaption
Element
caption
urn:hl7-org:v3
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocList
StrucDoc.List
caption
0
1
nblock-StrucDocCaption
Element
caption
urn:hl7-org:v3
item
1
-1
nblock-StrucDocItem
Element
item
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
listType
0
1
nblock-ListTypeType
Attribute
listType
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocItem
StrucDoc.Item
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
caption
0
1
nblock-StrucDocCaption
Element
caption
urn:hl7-org:v3
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
paragraph
0
-1
nblock-StrucDocParagraph
Element
paragraph
urn:hl7-org:v3
list
0
-1
nblock-StrucDocList
Element
list
urn:hl7-org:v3
table
0
-1
nblock-StrucDocTable
Element
table
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocTable
StrucDoc.Table
caption
0
1
nblock-StrucDocCaption
Element
caption
urn:hl7-org:v3
col
0
-1
nblock-StrucDocCol
Element
col
urn:hl7-org:v3
colgroup
0
-1
nblock-StrucDocColgroup
Element
colgroup
urn:hl7-org:v3
thead
0
1
nblock-StrucDocThead
Element
thead
urn:hl7-org:v3
tfoot
0
1
nblock-StrucDocTfoot
Element
tfoot
urn:hl7-org:v3
tbody
1
-1
nblock-StrucDocTbody
Element
tbody
urn:hl7-org:v3
border
0
1
XMLPrimitiveTypes-String
Attribute
border
cellpadding
0
1
XMLPrimitiveTypes-String
Attribute
cellpadding
cellspacing
0
1
XMLPrimitiveTypes-String
Attribute
cellspacing
frame
0
1
nblock-FrameType
Attribute
frame
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
rules
0
1
nblock-RulesType
Attribute
rules
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
summary
0
1
XMLPrimitiveTypes-String
Attribute
summary
width
0
1
XMLPrimitiveTypes-String
Attribute
width
StrucDocCol
StrucDoc.Col
align
0
1
nblock-AlignType7
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
span
0
1
XMLPrimitiveTypes-String
Attribute
span
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType7
Attribute
valign
width
0
1
XMLPrimitiveTypes-String
Attribute
width
StrucDocColgroup
StrucDoc.Colgroup
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
col
0
-1
nblock-StrucDocCol
Element
col
urn:hl7-org:v3
align
0
1
nblock-AlignType3
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
span
0
1
XMLPrimitiveTypes-String
Attribute
span
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType3
Attribute
valign
width
0
1
XMLPrimitiveTypes-String
Attribute
width
StrucDocThead
StrucDoc.Thead
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
tr
1
-1
nblock-StrucDocTr
Element
tr
urn:hl7-org:v3
align
0
1
nblock-AlignType4
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType4
Attribute
valign
StrucDocTr
StrucDoc.Tr
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
th
0
-1
nblock-StrucDocTh
Element
th
urn:hl7-org:v3
td
0
-1
nblock-StrucDocTd
Element
td
urn:hl7-org:v3
align
0
1
nblock-AlignType1
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType2
Attribute
valign
StrucDocTh
StrucDoc.Th
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
abbr
0
1
XMLPrimitiveTypes-String
Attribute
abbr
align
0
1
nblock-AlignType
Attribute
align
axis
0
1
XMLPrimitiveTypes-String
Attribute
axis
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
colspan
0
1
XMLPrimitiveTypes-String
Attribute
colspan
headers
0
1
XMLPrimitiveTypes-String
Attribute
headers
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
rowspan
0
1
XMLPrimitiveTypes-String
Attribute
rowspan
scope
0
1
nblock-ScopeType1
Attribute
scope
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType
Attribute
valign
StrucDocTd
StrucDoc.Td
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
paragraph
0
-1
nblock-StrucDocParagraph
Element
paragraph
urn:hl7-org:v3
list
0
-1
nblock-StrucDocList
Element
list
urn:hl7-org:v3
abbr
0
1
XMLPrimitiveTypes-String
Attribute
abbr
align
0
1
nblock-AlignType2
Attribute
align
axis
0
1
XMLPrimitiveTypes-String
Attribute
axis
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
colspan
0
1
XMLPrimitiveTypes-String
Attribute
colspan
headers
0
1
XMLPrimitiveTypes-String
Attribute
headers
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
rowspan
0
1
XMLPrimitiveTypes-String
Attribute
rowspan
scope
0
1
nblock-ScopeType
Attribute
scope
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType1
Attribute
valign
StrucDocTfoot
StrucDoc.Tfoot
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
tr
1
-1
nblock-StrucDocTr
Element
tr
urn:hl7-org:v3
align
0
1
nblock-AlignType6
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType5
Attribute
valign
StrucDocTbody
StrucDoc.Tbody
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
tr
1
-1
nblock-StrucDocTr
Element
tr
urn:hl7-org:v3
align
0
1
nblock-AlignType5
Attribute
align
char
0
1
XMLPrimitiveTypes-String
Attribute
char
charoff
0
1
XMLPrimitiveTypes-String
Attribute
charoff
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
valign
0
1
nblock-ValignType6
Attribute
valign
StrucDocText
StrucDoc.Text
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocContent
Element
content
urn:hl7-org:v3
linkHtml
0
-1
nblock-StrucDocLinkHtml
Element
linkHtml
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
renderMultiMedia
0
-1
nblock-StrucDocRenderMultiMedia
Element
renderMultiMedia
urn:hl7-org:v3
paragraph
0
-1
nblock-StrucDocParagraph
Element
paragraph
urn:hl7-org:v3
list
0
-1
nblock-StrucDocList
Element
list
urn:hl7-org:v3
table
0
-1
nblock-StrucDocTable
Element
table
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
mediaType
0
1
XMLPrimitiveTypes-String
Attribute
mediaType
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocTitle
StrucDoc.Title
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocTitleContent
Element
content
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocTitleFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
mediaType
0
1
XMLPrimitiveTypes-String
Attribute
mediaType
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocTitleContent
StrucDoc.TitleContent
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocTitleContent
Element
content
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
footnote
0
-1
nblock-StrucDocTitleFootnote
Element
footnote
urn:hl7-org:v3
footnoteRef
0
-1
nblock-StrucDocFootnoteRef
Element
footnoteRef
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
StrucDocTitleFootnote
StrucDoc.TitleFootnote
mixed
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
ElementWildcard
mixed
group
0
-1
EcorePrimitiveTypes-EFeatureMapEntry
Group
group
content
0
-1
nblock-StrucDocTitleContent
Element
content
urn:hl7-org:v3
sub
0
-1
nblock-StrucDocSub
Element
sub
urn:hl7-org:v3
sup
0
-1
nblock-StrucDocSup
Element
sup
urn:hl7-org:v3
br
0
-1
nblock-StrucDocBr
Element
br
urn:hl7-org:v3
iD
0
1
XMLPrimitiveTypes-String
Attribute
iD
language
0
1
XMLPrimitiveTypes-String
Attribute
language
styleCode
0
1
XMLPrimitiveTypes-String
Attribute
styleCode
AlignType
AlignType
left
left
center
center
right
right
justify
justify
char
char
AlignType1
AlignType1
left
left
center
center
right
right
justify
justify
char
char
AlignType2
AlignType2
left
left
center
center
right
right
justify
justify
char
char
AlignType3
AlignType3
left
left
center
center
right
right
justify
justify
char
char
AlignType4
AlignType4
left
left
center
center
right
right
justify
justify
char
char
AlignType5
AlignType5
left
left
center
center
right
right
justify
justify
char
char
AlignType6
AlignType6
left
left
center
center
right
right
justify
justify
char
char
AlignType7
AlignType7
left
left
center
center
right
right
justify
justify
char
char
FrameType
FrameType
void
void
above
above
below
below
hsides
hsides
lhs
lhs
rhs
rhs
vsides
vsides
box
box
border
border
ListTypeType
ListTypeType
ordered
ordered
unordered
unordered
RevisedType
RevisedType
insert
insert
delete
delete
RulesType
RulesType
none
none
groups
groups
rows
rows
cols
cols
all
all
ScopeType
ScopeType
row
row
col
col
rowgroup
rowgroup
colgroup
colgroup
ScopeType1
ScopeType1
row
row
col
col
rowgroup
rowgroup
colgroup
colgroup
ValignType7
ValignType7
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType3
ValignType3
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType
ValignType
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType1
ValignType1
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType2
ValignType2
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType4
ValignType4
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType5
ValignType5
top
top
middle
middle
bottom
bottom
baseline
baseline
ValignType6
ValignType6
top
top
middle
middle
bottom
bottom
baseline
baseline
voc
ActClass
ActClass
ACCM
ACCM
ACCT
ACCT
ACSN
ACSN
ACT
ACT
ACTN
ACTN
ADJUD
ADJUD
ALRT
ALRT
BATTERY
BATTERY
CACT
CACT
CASE
CASE
CATEGORY
CATEGORY
CDALVLONE
CDALVLONE
CLNTRL
CLNTRL
CLUSTER
CLUSTER
CNOD
CNOD
CNTRCT
CNTRCT
COMPOSITION
COMPOSITION
COND
COND
CONS
CONS
CONTREG
CONTREG
COV
COV
CTTEVENT
CTTEVENT
DGIMG
DGIMG
DIET
DIET
DISPACT
DISPACT
DOC
DOC
DOCBODY
DOCBODY
DOCCLIN
DOCCLIN
DOCSECT
DOCSECT
EHR
EHR
ENC
ENC
ENTRY
ENTRY
EXTRACT
EXTRACT
FCNTRCT
FCNTRCT
FOLDER
FOLDER
INC
INC
INFO
INFO
INFRM
INFRM
INVE
INVE
INVSTG
INVSTG
LIST
LIST
MPROT
MPROT
OBS
OBS
OBSCOR
OBSCOR
OBSSER
OBSSER
ORGANIZER
ORGANIZER
OUTB
OUTB
PCPR
PCPR
PROC
PROC
REG
REG
REV
REV
ROIBND
ROIBND
ROIOVL
ROIOVL
SBADM
SBADM
SEQ
SEQ
SEQVAR
SEQVAR
SFWL
SFWL
SIT
SIT
SPCOBS
SPCOBS
SPCTRT
SPCTRT
SPECCOLLECT
SPECCOLLECT
SPLY
SPLY
STC
STC
STDPOL
STDPOL
SUBST
SUBST
TOPIC
TOPIC
TRNS
TRNS
VERIF
VERIF
XACT
XACT
ActClassComposition
ActClassComposition
COMPOSITION
COMPOSITION
CDALVLONE
CDALVLONE
DOC
DOC
DOCCLIN
DOCCLIN
ActClassCondition
ActClassCondition
COND
COND
CASE
CASE
OUTB
OUTB
ActClassContract
ActClassContract
CNTRCT
CNTRCT
FCNTRCT
FCNTRCT
COV
COV
ActClassControlAct
ActClassControlAct
CACT
CACT
ACTN
ACTN
INFO
INFO
STC
STC
ActClassDocument
ActClassDocument
CDALVLONE
CDALVLONE
DOC
DOC
DOCCLIN
DOCCLIN
ActClassEntry
ActClassEntry
ENTRY
ENTRY
BATTERY
BATTERY
CLUSTER
CLUSTER
ActClassExtract
ActClassExtract
EXTRACT
EXTRACT
EHR
EHR
ActClassFinancialContract
ActClassFinancialContract
FCNTRCT
FCNTRCT
COV
COV
ActClassObservation
ActClassObservation
ALRT
ALRT
CASE
CASE
CLNTRL
CLNTRL
CNOD
CNOD
COND
COND
DGIMG
DGIMG
INVSTG
INVSTG
OBS
OBS
OBSCOR
OBSCOR
OBSSER
OBSSER
OUTB
OUTB
ROIBND
ROIBND
ROIOVL
ROIOVL
SPCOBS
SPCOBS
ActClassObservationSeries
ActClassObservationSeries
OBSSER
OBSSER
OBSCOR
OBSCOR
ActClassOrganizer
ActClassOrganizer
ORGANIZER
ORGANIZER
CATEGORY
CATEGORY
DOCBODY
DOCBODY
DOCSECT
DOCSECT
TOPIC
TOPIC
ActClassPublicHealthCase
ActClassPublicHealthCase
CASE
CASE
OUTB
OUTB
ActClassROI
ActClassROI
ROIBND
ROIBND
ROIOVL
ROIOVL
ActClassRoot
ActClassRoot
ACCM
ACCM
ACCT
ACCT
ACSN
ACSN
ACT
ACT
ACTN
ACTN
ADJUD
ADJUD
ALRT
ALRT
BATTERY
BATTERY
CACT
CACT
CASE
CASE
CATEGORY
CATEGORY
CDALVLONE
CDALVLONE
CLNTRL
CLNTRL
CLUSTER
CLUSTER
CNOD
CNOD
CNTRCT
CNTRCT
COMPOSITION
COMPOSITION
COND
COND
CONS
CONS
CONTREG
CONTREG
COV
COV
CTTEVENT
CTTEVENT
DGIMG
DGIMG
DIET
DIET
DISPACT
DISPACT
DOC
DOC
DOCBODY
DOCBODY
DOCCLIN
DOCCLIN
DOCSECT
DOCSECT
EHR
EHR
ENC
ENC
ENTRY
ENTRY
EXTRACT
EXTRACT
FCNTRCT
FCNTRCT
FOLDER
FOLDER
INC
INC
INFO
INFO
INFRM
INFRM
INVE
INVE
INVSTG
INVSTG
LIST
LIST
MPROT
MPROT
OBS
OBS
OBSCOR
OBSCOR
OBSSER
OBSSER
ORGANIZER
ORGANIZER
OUTB
OUTB
PCPR
PCPR
PROC
PROC
REG
REG
REV
REV
ROIBND
ROIBND
ROIOVL
ROIOVL
SBADM
SBADM
SPCOBS
SPCOBS
SPCTRT
SPCTRT
SPLY
SPLY
STC
STC
SUBST
SUBST
TOPIC
TOPIC
TRNS
TRNS
VERIF
VERIF
XACT
XACT
ActClassSupply
ActClassSupply
DIET
DIET
SPLY
SPLY
ActClinicalDocument
ActClinicalDocument
CDALVLONE
CDALVLONE
DOCCLIN
DOCCLIN
ActContainer
ActContainer
FOLDER
FOLDER
COMPOSITION
COMPOSITION
CDALVLONE
CDALVLONE
DOC
DOC
DOCCLIN
DOCCLIN
ENTRY
ENTRY
BATTERY
BATTERY
CLUSTER
CLUSTER
EXTRACT
EXTRACT
EHR
EHR
ORGANIZER
ORGANIZER
CATEGORY
CATEGORY
DOCBODY
DOCBODY
DOCSECT
DOCSECT
TOPIC
TOPIC
ActMood
ActMood
APT
APT
ARQ
ARQ
DEF
DEF
EVN
EVN
EVNCRT
EVN.CRT
GOL
GOL
INT
INT
OPT
OPT
PERM
PERM
PERMRQ
PERMRQ
PRMS
PRMS
PRP
PRP
RQO
RQO
SLOT
SLOT
ActMoodCompletionTrack
ActMoodCompletionTrack
DEF
DEF
EVN
EVN
INT
INT
APT
APT
ARQ
ARQ
PRMS
PRMS
PRP
PRP
RQO
RQO
SLOT
SLOT
ActMoodIntent
ActMoodIntent
INT
INT
APT
APT
ARQ
ARQ
PRMS
PRMS
PRP
PRP
RQO
RQO
SLOT
SLOT
ActMoodPredicate
ActMoodPredicate
EVNCRT
EVN.CRT
GOL
GOL
OPT
OPT
PERM
PERM
PERMRQ
PERMRQ
ActRelationshipAccounting
ActRelationshipAccounting
CHRG
CHRG
COST
COST
CREDIT
CREDIT
DEBIT
DEBIT
ActRelationshipConditional
ActRelationshipConditional
CIND
CIND
PRCN
PRCN
TRIG
TRIG
RSON
RSON
MITGT
MITGT
ActRelationshipCostTracking
ActRelationshipCostTracking
CHRG
CHRG
COST
COST
ActRelationshipExcerpt
ActRelationshipExcerpt
XCRPT
XCRPT
VRXCRPT
VRXCRPT
ActRelationshipFulfills
ActRelationshipFulfills
FLFS
FLFS
OCCR
OCCR
OREF
OREF
SCH
SCH
ActRelationshipHasComponent
ActRelationshipHasComponent
ARR
ARR
COMP
COMP
CTRLV
CTRLV
DEP
DEP
ActRelationshipObjective
ActRelationshipObjective
OBJC
OBJC
OBJF
OBJF
ActRelationshipOutcome
ActRelationshipOutcome
OUTC
OUTC
GOAL
GOAL
RISK
RISK
OBJC
OBJC
OBJF
OBJF
ActRelationshipPertains
ActRelationshipPertains
PERT
PERT
AUTH
AUTH
CAUS
CAUS
COVBY
COVBY
DRIV
DRIV
EXPL
EXPL
ITEMSLOC
ITEMSLOC
LIMIT
LIMIT
MFST
MFST
NAME
NAME
PREV
PREV
REFR
REFR
REFV
REFV
SUBJ
SUBJ
SUMM
SUMM
CHRG
CHRG
COST
COST
CREDIT
CREDIT
DEBIT
DEBIT
SAS
SAS
SPRT
SPRT
SPRTBND
SPRTBND
ActRelationshipPosting
ActRelationshipPosting
CREDIT
CREDIT
DEBIT
DEBIT
ActRelationshipReason
ActRelationshipReason
RSON
RSON
MITGT
MITGT
ActRelationshipReplacement
ActRelationshipReplacement
RPLC
RPLC
SUCC
SUCC
ActRelationshipSequel
ActRelationshipSequel
SEQL
SEQL
APND
APND
DOC
DOC
ELNK
ELNK
GEN
GEN
GEVL
GEVL
INST
INST
MTCH
MTCH
OPTN
OPTN
REV
REV
UPDT
UPDT
XFRM
XFRM
XCRPT
XCRPT
VRXCRPT
VRXCRPT
FLFS
FLFS
OCCR
OCCR
OREF
OREF
SCH
SCH
RPLC
RPLC
SUCC
SUCC
ActRelationshipType
ActRelationshipType
APND
APND
ARR
ARR
AUTH
AUTH
CAUS
CAUS
CHRG
CHRG
CIND
CIND
COMP
COMP
COST
COST
COVBY
COVBY
CREDIT
CREDIT
CTRLV
CTRLV
DEBIT
DEBIT
DEP
DEP
DOC
DOC
DRIV
DRIV
ELNK
ELNK
EXPL
EXPL
FLFS
FLFS
GEN
GEN
GEVL
GEVL
GOAL
GOAL
INST
INST
ITEMSLOC
ITEMSLOC
LIMIT
LIMIT
MFST
MFST
MITGT
MITGT
MTCH
MTCH
NAME
NAME
OBJC
OBJC
OBJF
OBJF
OCCR
OCCR
OPTN
OPTN
OREF
OREF
OUTC
OUTC
PERT
PERT
PRCN
PRCN
PREV
PREV
REFR
REFR
REFV
REFV
REV
REV
RISK
RISK
RPLC
RPLC
RSON
RSON
SAS
SAS
SCH
SCH
SEQL
SEQL
SPRT
SPRT
SPRTBND
SPRTBND
SUBJ
SUBJ
SUCC
SUCC
SUMM
SUMM
TRIG
TRIG
UPDT
UPDT
VRXCRPT
VRXCRPT
XCRPT
XCRPT
XFRM
XFRM
AdditionalLocator
AdditionalLocator
ADL
ADL
UNID
UNID
UNIT
UNIT
AddressPartType
AddressPartType
ADL
ADL
BNN
BNN
BNR
BNR
BNS
BNS
CAR
CAR
CEN
CEN
CNT
CNT
CPA
CPA
CTY
CTY
DAL
DAL
DEL
DEL
DINST
DINST
DINSTA
DINSTA
DINSTQ
DINSTQ
DIR
DIR
DMOD
DMOD
DMODID
DMODID
POB
POB
PRE
PRE
SAL
SAL
STA
STA
STB
STB
STR
STR
STTYP
STTYP
UNID
UNID
UNIT
UNIT
ZIP
ZIP
AddressUse
AddressUse
BAD
BAD
TMP
TMP
H
H
HP
HP
HV
HV
DIR
DIR
PUB
PUB
ApplicationMediaType
ApplicationMediaType
applicationDicom
application/dicom
applicationMsword
application/msword
applicationPdf
application/pdf
AskedButUnknown
AskedButUnknown
ASKU
ASKU
NAV
NAV
AudioMediaType
AudioMediaType
audioBasic
audio/basic
audioK32adpcm
audio/k32adpcm
audioMpeg
audio/mpeg
BuildingNumber
BuildingNumber
BNR
BNR
BNN
BNN
BNS
BNS
CalendarCycle
CalendarCycle
CD
CD
CH
CH
CM
CM
CN
CN
CS
CS
CW
CW
CY
CY
D
D
DM
DM
DW
DW
DY
DY
H
H
HD
HD
J
J
M
M
MY
MY
N
N
NH
NH
S
S
SN
SN
W
W
WY
WY
Y
Y
CalendarCycleOneLetter
CalendarCycleOneLetter
D
D
H
H
J
J
M
M
N
N
S
S
W
W
Y
Y
CalendarCycleTwoLetter
CalendarCycleTwoLetter
CD
CD
CH
CH
CM
CM
CN
CN
CS
CS
CW
CW
CY
CY
DM
DM
DW
DW
DY
DY
HD
HD
MY
MY
NH
NH
SN
SN
WY
WY
CommunicationFunctionType
CommunicationFunctionType
RCV
RCV
RSP
RSP
SND
SND
CompressionAlgorithm
CompressionAlgorithm
DF
DF
GZ
GZ
Z
Z
ZL
ZL
ContextControl
ContextControl
AN
AN
AP
AP
ON
ON
OP
OP
ContextControlAdditive
ContextControlAdditive
AN
AN
AP
AP
ContextControlNonPropagating
ContextControlNonPropagating
AN
AN
ON
ON
ContextControlOverriding
ContextControlOverriding
ON
ON
OP
OP
ContextControlPropagating
ContextControlPropagating
AP
AP
OP
OP
Currency
Currency
ARS
ARS
AUD
AUD
BRL
BRL
CAD
CAD
CHF
CHF
CLF
CLF
CNY
CNY
DEM
DEM
ESP
ESP
EUR
EUR
FIM
FIM
FRF
FRF
GBP
GBP
ILS
ILS
INR
INR
JPY
JPY
KRW
KRW
MXN
MXN
NLG
NLG
NZD
NZD
PHP
PHP
RUR
RUR
THB
THB
TRL
TRL
TWD
TWD
USD
USD
ZAR
ZAR
DeliveryAddressLine
DeliveryAddressLine
DAL
DAL
DINST
DINST
DINSTA
DINSTA
DINSTQ
DINSTQ
DMOD
DMOD
DMODID
DMODID
EntityClass
EntityClass
ANM
ANM
CER
CER
CHEM
CHEM
CITY
CITY
CONT
CONT
COUNTRY
COUNTRY
COUNTY
COUNTY
DEV
DEV
ENT
ENT
FOOD
FOOD
HCE
HCE
HOLD
HOLD
LIV
LIV
MAT
MAT
MIC
MIC
MMAT
MMAT
MODDV
MODDV
NAT
NAT
NLIV
NLIV
ORG
ORG
PLC
PLC
PLNT
PLNT
PROVINCE
PROVINCE
PSN
PSN
PUB
PUB
RGRP
RGRP
STATE
STATE
EntityClassContainer
EntityClassContainer
CONT
CONT
HOLD
HOLD
EntityClassDevice
EntityClassDevice
CER
CER
DEV
DEV
MODDV
MODDV
EntityClassLivingSubject
EntityClassLivingSubject
LIV
LIV
PSN
PSN
NLIV
NLIV
ANM
ANM
MIC
MIC
PLNT
PLNT
EntityClassManufacturedMaterial
EntityClassManufacturedMaterial
CER
CER
CONT
CONT
DEV
DEV
HOLD
HOLD
MMAT
MMAT
MODDV
MODDV
EntityClassMaterial
EntityClassMaterial
MAT
MAT
CHEM
CHEM
FOOD
FOOD
CER
CER
CONT
CONT
DEV
DEV
HOLD
HOLD
MMAT
MMAT
MODDV
MODDV
EntityClassNonPersonLivingSubject
EntityClassNonPersonLivingSubject
NLIV
NLIV
ANM
ANM
MIC
MIC
PLNT
PLNT
EntityClassOrganization
EntityClassOrganization
NAT
NAT
ORG
ORG
PUB
PUB
STATE
STATE
EntityClassPlace
EntityClassPlace
CITY
CITY
COUNTRY
COUNTRY
COUNTY
COUNTY
PLC
PLC
PROVINCE
PROVINCE
EntityClassRoot
EntityClassRoot
ANM
ANM
CER
CER
CHEM
CHEM
CITY
CITY
CONT
CONT
COUNTRY
COUNTRY
COUNTY
COUNTY
DEV
DEV
ENT
ENT
FOOD
FOOD
HCE
HCE
HOLD
HOLD
LIV
LIV
MAT
MAT
MIC
MIC
MMAT
MMAT
MODDV
MODDV
NAT
NAT
NLIV
NLIV
ORG
ORG
PLC
PLC
PLNT
PLNT
PROVINCE
PROVINCE
PSN
PSN
PUB
PUB
RGRP
RGRP
STATE
STATE
EntityDeterminer
EntityDeterminer
INSTANCE
INSTANCE
KIND
KIND
QUANITFIEDKIND
QUANITFIED_KIND
EntityDeterminerDetermined
EntityDeterminerDetermined
KIND
KIND
QUANITFIEDKIND
QUANITFIED_KIND
EntityNamePartQualifier
EntityNamePartQualifier
AC
AC
AD
AD
BR
BR
CL
CL
IN
IN
LS
LS
NB
NB
PR
PR
SP
SP
TITLE
TITLE
VV
VV
EntityNamePartType
EntityNamePartType
DEL
DEL
FAM
FAM
GIV
GIV
PFX
PFX
SFX
SFX
EntityNameSearchUse
EntityNameSearchUse
SRCH
SRCH
PHON
PHON
SNDX
SNDX
EntityNameUse
EntityNameUse
A
A
ABC
ABC
ASGN
ASGN
C
C
I
I
IDE
IDE
L
L
P
P
PHON
PHON
R
R
SNDX
SNDX
SRCH
SRCH
SYL
SYL
HasSupport
HasSupport
SPRT
SPRT
SPRTBND
SPRTBND
HomeAddressUse
HomeAddressUse
H
H
HP
HP
HV
HV
ImageMediaType
ImageMediaType
imageG3fax
image/g3fax
imageGif
image/gif
imageJpeg
image/jpeg
imagePng
image/png
imageTiff
image/tiff
IntegrityCheckAlgorithm
IntegrityCheckAlgorithm
SHA1
SHA-1
SHA256
SHA-256
LicensedEntityRole
LicensedEntityRole
LIC
LIC
NOT
NOT
PROV
PROV
MediaType
MediaType
applicationDicom
application/dicom
applicationMsword
application/msword
applicationPdf
application/pdf
audioBasic
audio/basic
audioK32adpcm
audio/k32adpcm
audioMpeg
audio/mpeg
imageG3fax
image/g3fax
imageGif
image/gif
imageJpeg
image/jpeg
imagePng
image/png
imageTiff
image/tiff
modelVrml
model/vrml
multipartXHl7CdaLevel1
multipart/x-hl7-cda-level1
textHtml
text/html
textPlain
text/plain
textRtf
text/rtf
textSgml
text/sgml
textXHl7Ft
text/x-hl7-ft
textXml
text/xml
videoMpeg
video/mpeg
videoXAvi
video/x-avi
ModelMediaType
ModelMediaType
modelVrml
model/vrml
MultipartMediaType
MultipartMediaType
multipartXHl7CdaLevel1
multipart/x-hl7-cda-level1
NamePseudonymUse
NamePseudonymUse
P
P
A
A
NameRepresentationUse
NameRepresentationUse
ABC
ABC
IDE
IDE
SYL
SYL
NoInformation
NoInformation
NI
NI
MSK
MSK
NA
NA
OTH
OTH
NINF
NINF
PINF
PINF
UNK
UNK
NASK
NASK
TRC
TRC
ASKU
ASKU
NAV
NAV
OrganizationNamePartQualifier
OrganizationNamePartQualifier
LS
LS
OrganizationNameUse
OrganizationNameUse
C
C
L
L
SRCH
SRCH
PHON
PHON
SNDX
SNDX
ABC
ABC
IDE
IDE
SYL
SYL
Other
Other
OTH
OTH
NINF
NINF
PINF
PINF
ParticipationAncillary
ParticipationAncillary
ADM
ADM
ATND
ATND
CALLBCK
CALLBCK
CON
CON
DIS
DIS
ESC
ESC
REF
REF
ParticipationIndirectTarget
ParticipationIndirectTarget
IND
IND
BEN
BEN
COV
COV
HLD
HLD
RCT
RCT
RCV
RCV
ParticipationInformationGenerator
ParticipationInformationGenerator
AUT
AUT
ENT
ENT
INF
INF
WIT
WIT
ParticipationInformationRecipient
ParticipationInformationRecipient
IRCP
IRCP
NOT
NOT
PRCP
PRCP
REFB
REFB
REFT
REFT
TRC
TRC
ParticipationPhysicalPerformer
ParticipationPhysicalPerformer
DIST
DIST
PPRF
PPRF
PRF
PRF
SPRF
SPRF
ParticipationTargetDevice
ParticipationTargetDevice
DEV
DEV
NRD
NRD
RDV
RDV
ParticipationTargetDirect
ParticipationTargetDirect
DIR
DIR
BBY
BBY
CSM
CSM
DON
DON
PRD
PRD
DEV
DEV
NRD
NRD
RDV
RDV
SBJ
SBJ
SPC
SPC
ParticipationTargetLocation
ParticipationTargetLocation
DST
DST
ELOC
ELOC
LOC
LOC
ORG
ORG
RML
RML
VIA
VIA
ParticipationTargetSubject
ParticipationTargetSubject
SBJ
SBJ
SPC
SPC
ParticipationType
ParticipationType
ADM
ADM
ATND
ATND
AUT
AUT
AUTHEN
AUTHEN
BBY
BBY
BEN
BEN
CALLBCK
CALLBCK
CON
CON
COV
COV
CSM
CSM
CST
CST
DEV
DEV
DIR
DIR
DIS
DIS
DIST
DIST
DON
DON
DST
DST
ELOC
ELOC
ENT
ENT
ESC
ESC
HLD
HLD
IND
IND
INF
INF
IRCP
IRCP
LA
LA
LOC
LOC
NOT
NOT
NRD
NRD
ORG
ORG
PPRF
PPRF
PRCP
PRCP
PRD
PRD
PRF
PRF
RCT
RCT
RCV
RCV
RDV
RDV
REF
REF
REFB
REFB
REFT
REFT
RESP
RESP
RML
RML
SBJ
SBJ
SPC
SPC
SPRF
SPRF
TRC
TRC
VIA
VIA
VRF
VRF
WIT
WIT
ParticipationVerifier
ParticipationVerifier
VRF
VRF
AUTHEN
AUTHEN
LA
LA
PersonNamePartAffixTypes
PersonNamePartAffixTypes
AC
AC
NB
NB
PR
PR
VV
VV
PersonNamePartChangeQualifier
PersonNamePartChangeQualifier
AD
AD
BR
BR
SP
SP
PersonNamePartMiscQualifier
PersonNamePartMiscQualifier
CL
CL
PersonNamePartQualifier
PersonNamePartQualifier
IN
IN
TITLE
TITLE
AC
AC
NB
NB
PR
PR
VV
VV
AD
AD
BR
BR
SP
SP
CL
CL
PersonNameUse
PersonNameUse
A
A
ASGN
ASGN
C
C
I
I
L
L
R
R
SRCH
SRCH
PHON
PHON
SNDX
SNDX
P
P
ABC
ABC
IDE
IDE
SYL
SYL
PostalAddressUse
PostalAddressUse
ABC
ABC
BAD
BAD
DIR
DIR
H
H
HP
HP
HV
HV
IDE
IDE
PHYS
PHYS
PST
PST
PUB
PUB
SYL
SYL
TMP
TMP
WP
WP
ProbabilityDistributionType
ProbabilityDistributionType
B
B
E
E
F
F
G
G
LN
LN
N
N
T
T
U
U
X2
X2
RelatedLinkType
RelatedLinkType
REL
REL
BACKUP
BACKUP
DIRAUTH
DIRAUTH
INDAUTH
INDAUTH
PART
PART
REPL
REPL
RoleClass
RoleClass
ACCESS
ACCESS
ACTI
ACTI
ACTM
ACTM
ADTV
ADTV
AGNT
AGNT
ALQT
ALQT
ASSIGNED
ASSIGNED
BASE
BASE
BIRTHPL
BIRTHPL
CAREGIVER
CAREGIVER
CASESBJ
CASESBJ
CIT
CIT
COLR
COLR
COMPAR
COMPAR
CON
CON
CONT
CONT
COVPTY
COVPTY
CRINV
CRINV
CRSPNSR
CRSPNSR
DSDLOC
DSDLOC
DST
DST
ECON
ECON
EMP
EMP
EXPR
EXPR
FLVR
FLVR
GEN
GEN
GRIC
GRIC
GUAR
GUAR
GUARD
GUARD
HLD
HLD
HLTHCHRT
HLTHCHRT
IACT
IACT
IDENT
IDENT
INGR
INGR
INST
INST
INVSBJ
INVSBJ
ISDLOC
ISDLOC
ISLT
ISLT
LIC
LIC
LOCE
LOCE
MANU
MANU
MBR
MBR
MIL
MIL
MNT
MNT
NOK
NOK
NOT
NOT
OWN
OWN
PART
PART
PAT
PAT
PAYEE
PAYEE
PAYOR
PAYOR
POLHOLD
POLHOLD
PROV
PROV
PRS
PRS
PRSV
PRSV
QUAL
QUAL
RESBJ
RESBJ
RET
RET
RGPR
RGPR
ROL
ROL
SDLOC
SDLOC
SGNOFF
SGNOFF
SPEC
SPEC
SPNSR
SPNSR
STBL
STBL
STD
STD
STOR
STOR
SUBS
SUBS
SUBY
SUBY
TERR
TERR
THER
THER
UNDWRT
UNDWRT
WRTE
WRTE
RoleClassAgent
RoleClassAgent
AGNT
AGNT
GUARD
GUARD
ASSIGNED
ASSIGNED
COMPAR
COMPAR
CON
CON
ECON
ECON
NOK
NOK
SGNOFF
SGNOFF
RoleClassAssignedEntity
RoleClassAssignedEntity
ASSIGNED
ASSIGNED
COMPAR
COMPAR
CON
CON
ECON
ECON
NOK
NOK
SGNOFF
SGNOFF
RoleClassAssociative
RoleClassAssociative
ACCESS
ACCESS
AGNT
AGNT
ASSIGNED
ASSIGNED
BIRTHPL
BIRTHPL
CAREGIVER
CAREGIVER
CASESBJ
CASESBJ
CIT
CIT
COMPAR
COMPAR
CON
CON
COVPTY
COVPTY
CRINV
CRINV
CRSPNSR
CRSPNSR
DSDLOC
DSDLOC
DST
DST
ECON
ECON
EMP
EMP
EXPR
EXPR
GUAR
GUAR
GUARD
GUARD
HLD
HLD
HLTHCHRT
HLTHCHRT
IDENT
IDENT
INVSBJ
INVSBJ
ISDLOC
ISDLOC
LIC
LIC
MANU
MANU
MIL
MIL
MNT
MNT
NOK
NOK
NOT
NOT
OWN
OWN
PAT
PAT
PAYEE
PAYEE
PAYOR
PAYOR
POLHOLD
POLHOLD
PROV
PROV
PRS
PRS
QUAL
QUAL
RESBJ
RESBJ
RET
RET
RGPR
RGPR
SDLOC
SDLOC
SGNOFF
SGNOFF
SPNSR
SPNSR
STD
STD
TERR
TERR
THER
THER
UNDWRT
UNDWRT
WRTE
WRTE
RoleClassContact
RoleClassContact
CON
CON
ECON
ECON
NOK
NOK
RoleClassDistributedMaterial
RoleClassDistributedMaterial
DST
DST
RET
RET
RoleClassEmployee
RoleClassEmployee
EMP
EMP
MIL
MIL
RoleClassInactiveIngredient
RoleClassInactiveIngredient
IACT
IACT
COLR
COLR
FLVR
FLVR
PRSV
PRSV
STBL
STBL
RoleClassIngredientEntity
RoleClassIngredientEntity
INGR
INGR
ACTI
ACTI
ACTM
ACTM
ADTV
ADTV
BASE
BASE
IACT
IACT
COLR
COLR
FLVR
FLVR
PRSV
PRSV
STBL
STBL
RoleClassInvestigationSubject
RoleClassInvestigationSubject
INVSBJ
INVSBJ
CASESBJ
CASESBJ
RESBJ
RESBJ
RoleClassIsSpeciesEntity
RoleClassIsSpeciesEntity
GEN
GEN
GRIC
GRIC
RoleClassLocatedEntity
RoleClassLocatedEntity
LOCE
LOCE
STOR
STOR
RoleClassManufacturedProduct
RoleClassManufacturedProduct
MANU
MANU
THER
THER
RoleClassMutualRelationship
RoleClassMutualRelationship
AGNT
AGNT
ASSIGNED
ASSIGNED
CAREGIVER
CAREGIVER
CASESBJ
CASESBJ
CIT
CIT
COMPAR
COMPAR
CON
CON
COVPTY
COVPTY
CRINV
CRINV
CRSPNSR
CRSPNSR
ECON
ECON
EMP
EMP
GUAR
GUAR
GUARD
GUARD
INVSBJ
INVSBJ
LIC
LIC
MIL
MIL
NOK
NOK
NOT
NOT
PAT
PAT
PAYEE
PAYEE
PAYOR
PAYOR
POLHOLD
POLHOLD
PROV
PROV
PRS
PRS
QUAL
QUAL
RESBJ
RESBJ
SGNOFF
SGNOFF
SPNSR
SPNSR
STD
STD
UNDWRT
UNDWRT
RoleClassOntological
RoleClassOntological
INST
INST
SUBS
SUBS
SUBY
SUBY
GEN
GEN
GRIC
GRIC
RoleClassPartitive
RoleClassPartitive
CONT
CONT
MBR
MBR
PART
PART
INGR
INGR
ACTI
ACTI
ACTM
ACTM
ADTV
ADTV
BASE
BASE
IACT
IACT
COLR
COLR
FLVR
FLVR
PRSV
PRSV
STBL
STBL
LOCE
LOCE
STOR
STOR
ALQT
ALQT
ISLT
ISLT
SPEC
SPEC
RoleClassPassive
RoleClassPassive
ACCESS
ACCESS
BIRTHPL
BIRTHPL
EXPR
EXPR
HLD
HLD
HLTHCHRT
HLTHCHRT
IDENT
IDENT
MNT
MNT
OWN
OWN
RGPR
RGPR
TERR
TERR
WRTE
WRTE
DST
DST
RET
RET
MANU
MANU
THER
THER
DSDLOC
DSDLOC
ISDLOC
ISDLOC
SDLOC
SDLOC
RoleClassRelationshipFormal
RoleClassRelationshipFormal
CIT
CIT
COVPTY
COVPTY
CRINV
CRINV
CRSPNSR
CRSPNSR
GUAR
GUAR
PAT
PAT
PAYEE
PAYEE
PAYOR
PAYOR
POLHOLD
POLHOLD
QUAL
QUAL
SPNSR
SPNSR
STD
STD
UNDWRT
UNDWRT
LIC
LIC
NOT
NOT
PROV
PROV
AGNT
AGNT
GUARD
GUARD
ASSIGNED
ASSIGNED
COMPAR
COMPAR
CON
CON
ECON
ECON
NOK
NOK
SGNOFF
SGNOFF
EMP
EMP
MIL
MIL
INVSBJ
INVSBJ
CASESBJ
CASESBJ
RESBJ
RESBJ
RoleClassRoot
RoleClassRoot
ACCESS
ACCESS
ACTI
ACTI
ACTM
ACTM
ADTV
ADTV
AGNT
AGNT
ALQT
ALQT
ASSIGNED
ASSIGNED
BASE
BASE
BIRTHPL
BIRTHPL
CAREGIVER
CAREGIVER
CASESBJ
CASESBJ
CIT
CIT
COLR
COLR
COMPAR
COMPAR
CON
CON
CONT
CONT
COVPTY
COVPTY
CRINV
CRINV
CRSPNSR
CRSPNSR
DSDLOC
DSDLOC
DST
DST
ECON
ECON
EMP
EMP
EXPR
EXPR
FLVR
FLVR
GEN
GEN
GRIC
GRIC
GUAR
GUAR
GUARD
GUARD
HLD
HLD
HLTHCHRT
HLTHCHRT
IACT
IACT
IDENT
IDENT
INGR
INGR
INST
INST
INVSBJ
INVSBJ
ISDLOC
ISDLOC
ISLT
ISLT
LIC
LIC
LOCE
LOCE
MANU
MANU
MBR
MBR
MIL
MIL
MNT
MNT
NOK
NOK
NOT
NOT
OWN
OWN
PART
PART
PAT
PAT
PAYEE
PAYEE
PAYOR
PAYOR
POLHOLD
POLHOLD
PROV
PROV
PRS
PRS
PRSV
PRSV
QUAL
QUAL
RESBJ
RESBJ
RET
RET
RGPR
RGPR
ROL
ROL
SDLOC
SDLOC
SGNOFF
SGNOFF
SPEC
SPEC
SPNSR
SPNSR
STBL
STBL
STD
STD
STOR
STOR
SUBS
SUBS
SUBY
SUBY
TERR
TERR
THER
THER
UNDWRT
UNDWRT
WRTE
WRTE
RoleClassServiceDeliveryLocation
RoleClassServiceDeliveryLocation
DSDLOC
DSDLOC
ISDLOC
ISDLOC
SDLOC
SDLOC
RoleClassSpecimen
RoleClassSpecimen
ALQT
ALQT
ISLT
ISLT
SPEC
SPEC
RoleLinkType
RoleLinkType
REL
REL
BACKUP
BACKUP
DIRAUTH
DIRAUTH
INDAUTH
INDAUTH
PART
PART
REPL
REPL
SetOperator
SetOperator
A
A
E
E
H
H
I
I
P
P
State
State
STATE
STATE
NAT
NAT
StreetAddressLine
StreetAddressLine
SAL
SAL
DIR
DIR
BNR
BNR
BNN
BNN
BNS
BNS
STR
STR
STB
STB
STTYP
STTYP
StreetName
StreetName
STR
STR
STB
STB
STTYP
STTYP
TelecommunicationAddressUse
TelecommunicationAddressUse
AS
AS
BAD
BAD
DIR
DIR
EC
EC
H
H
HP
HP
HV
HV
MC
MC
PG
PG
PUB
PUB
TMP
TMP
WP
WP
TemporallyPertains
TemporallyPertains
SAS
SAS
TextMediaType
TextMediaType
textHtml
text/html
textPlain
text/plain
textRtf
text/rtf
textSgml
text/sgml
textXHl7Ft
text/x-hl7-ft
textXml
text/xml
TimingEvent
TimingEvent
AC
AC
ACD
ACD
ACM
ACM
ACV
ACV
HS
HS
IC
IC
ICD
ICD
ICM
ICM
ICV
ICV
PC
PC
PCD
PCD
PCM
PCM
PCV
PCV
Unknown
Unknown
UNK
UNK
NASK
NASK
TRC
TRC
ASKU
ASKU
NAV
NAV
URLScheme
URLScheme
fax
fax
file
file
ftp
ftp
http
http
mailto
mailto
mllp
mllp
modem
modem
nfs
nfs
tel
tel
telnet
telnet
VideoMediaType
VideoMediaType
videoMpeg
video/mpeg
videoXAvi
video/x-avi
WorkPlaceAddressUse
WorkPlaceAddressUse
WP
WP
DIR
DIR
PUB
PUB
XActClassDocumentEntryAct
XActClassDocumentEntryAct
ACCM
ACCM
ACT
ACT
CONS
CONS
CTTEVENT
CTTEVENT
INC
INC
INFRM
INFRM
PCPR
PCPR
REG
REG
SPCTRT
SPCTRT
XActClassDocumentEntryOrganizer
XActClassDocumentEntryOrganizer
BATTERY
BATTERY
CLUSTER
CLUSTER
XActMoodDefEvn
XActMoodDefEvn
DEF
DEF
EVN
EVN
XActMoodDefEvnRqoPrmsPrp
XActMoodDefEvnRqoPrmsPrp
DEF
DEF
EVN
EVN
PRMS
PRMS
PRP
PRP
RQO
RQO
XActMoodDocumentObservation
XActMoodDocumentObservation
DEF
DEF
EVN
EVN
GOL
GOL
INT
INT
PRMS
PRMS
PRP
PRP
RQO
RQO
XActMoodEvnOrdPrmsPrp
XActMoodEvnOrdPrmsPrp
EVN
EVN
PRMS
PRMS
PRP
PRP
RQO
RQO
XActMoodIntentEvent
XActMoodIntentEvent
EVN
EVN
INT
INT
APT
APT
ARQ
ARQ
PRMS
PRMS
PRP
PRP
RQO
RQO
SLOT
SLOT
XActMoodOrdPrms
XActMoodOrdPrms
PRMS
PRMS
RQO
RQO
XActMoodOrdPrmsEvn
XActMoodOrdPrmsEvn
EVN
EVN
PRMS
PRMS
RQO
RQO
XActMoodRqoPrpAptArq
XActMoodRqoPrpAptArq
APT
APT
ARQ
ARQ
PRP
PRP
RQO
RQO
XActRelationshipDocument
XActRelationshipDocument
APND
APND
RPLC
RPLC
XFRM
XFRM
XActRelationshipEntry
XActRelationshipEntry
COMP
COMP
DRIV
DRIV
XActRelationshipEntryRelationship
XActRelationshipEntryRelationship
CAUS
CAUS
COMP
COMP
GEVL
GEVL
MFST
MFST
REFR
REFR
RSON
RSON
SAS
SAS
SPRT
SPRT
SUBJ
SUBJ
XCRPT
XCRPT
XActRelationshipExternalReference
XActRelationshipExternalReference
ELNK
ELNK
REFR
REFR
RPLC
RPLC
SPRT
SPRT
SUBJ
SUBJ
XCRPT
XCRPT
XActRelationshipPatientTransport
XActRelationshipPatientTransport
ARR
ARR
DEP
DEP
XActRelationshipPertinentInfo
XActRelationshipPertinentInfo
SPRT
SPRT
CAUS
CAUS
MFST
MFST
REFR
REFR
SUBJ
SUBJ
XDeterminerInstanceKind
XDeterminerInstanceKind
KIND
KIND
INSTANCE
INSTANCE
XDocumentActMood
XDocumentActMood
APT
APT
ARQ
ARQ
DEF
DEF
EVN
EVN
INT
INT
PRMS
PRMS
PRP
PRP
RQO
RQO
XDocumentEncounterMood
XDocumentEncounterMood
APT
APT
ARQ
ARQ
EVN
EVN
INT
INT
PRMS
PRMS
PRP
PRP
RQO
RQO
XDocumentEntrySubject
XDocumentEntrySubject
SPEC
SPEC
PAT
PAT
PRS
PRS
XDocumentProcedureMood
XDocumentProcedureMood
APT
APT
ARQ
ARQ
DEF
DEF
EVN
EVN
INT
INT
PRMS
PRMS
PRP
PRP
RQO
RQO
XDocumentSubject
XDocumentSubject
PAT
PAT
PRS
PRS
XDocumentSubstanceMood
XDocumentSubstanceMood
EVN
EVN
INT
INT
PRMS
PRMS
PRP
PRP
RQO
RQO
XEncounterParticipant
XEncounterParticipant
ADM
ADM
ATND
ATND
CON
CON
DIS
DIS
REF
REF
XEncounterPerformerParticipation
XEncounterPerformerParticipation
PRF
PRF
CON
CON
SPRF
SPRF
XEntityClassDocumentReceiving
XEntityClassDocumentReceiving
HCE
HCE
PSN
PSN
NAT
NAT
ORG
ORG
PUB
PUB
STATE
STATE
XEntityClassPersonOrOrgReceiving
XEntityClassPersonOrOrgReceiving
PSN
PSN
NAT
NAT
ORG
ORG
PUB
PUB
STATE
STATE
XInformationRecipient
XInformationRecipient
PRCP
PRCP
TRC
TRC
XInformationRecipientRole
XInformationRecipientRole
ASSIGNED
ASSIGNED
HLTHCHRT
HLTHCHRT
XOrganizationNamePartType
XOrganizationNamePartType
DEL
DEL
PFX
PFX
SFX
SFX
XParticipationAuthorPerformer
XParticipationAuthorPerformer
PRF
PRF
AUT
AUT
XParticipationEntVrf
XParticipationEntVrf
VRF
VRF
ENT
ENT
XParticipationPrfEntVrf
XParticipationPrfEntVrf
PRF
PRF
VRF
VRF
ENT
ENT
XParticipationVrfRespSprfWit
XParticipationVrfRespSprfWit
VRF
VRF
RESP
RESP
SPRF
SPRF
WIT
WIT
XPersonNamePartType
XPersonNamePartType
DEL
DEL
FAM
FAM
GIV
GIV
PFX
PFX
SFX
SFX
XRoleClassAccommodationRequestor
XRoleClassAccommodationRequestor
AGNT
AGNT
PAT
PAT
PROV
PROV
PRS
PRS
XRoleClassCoverage
XRoleClassCoverage
COVPTY
COVPTY
POLHOLD
POLHOLD
SPNSR
SPNSR
UNDWRT
UNDWRT
XRoleClassCoverageInvoice
XRoleClassCoverageInvoice
PAYEE
PAYEE
PAYOR
PAYOR
XRoleClassCredentialedEntity
XRoleClassCredentialedEntity
ASSIGNED
ASSIGNED
QUAL
QUAL
LIC
LIC
NOT
NOT
PROV
PROV
XRoleClassPayeePolicyRelationship
XRoleClassPayeePolicyRelationship
COVPTY
COVPTY
GUAR
GUAR
POLHOLD
POLHOLD
PROV
PROV
PRS
PRS
XServiceEventPerformer
XServiceEventPerformer
PRF
PRF
PPRF
PPRF
SPRF
SPRF
NullFlavor
NullFlavor
ASKU
ASKU
MSK
MSK
NA
NA
NASK
NASK
NAV
NAV
NI
NI
NINF
NINF
OTH
OTH
PINF
PINF
TRC
TRC
UNK
UNK
NP
NP
OP
OP
xdlab
XDLABSpec
RootTemplate
TemplateSpec
RootTemplate
1.3.6.1.4.1.19376.1.3.3
cdalab-POCDMT000040ClinicalDocument
constraint_realmCode
realmCode SHALL be present and is valued from the RealmOfUse [2.16.840.1.113883.1.11.11050] subset, within the VocabularyDomainQualifier value set (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.3)
(not self.realmCode->isEmpty()) and self.realmCode->forAll(cs : CS | (not cs.code.oclIsUndefined()) and (not (cs.code='')))
ERROR
constraint_typeId
typeId SHALL be present and valued as follows:ClinicalDocument/typeId@root = 2.16.840.1.113883.1.3, ClinicalDocument.typeId@extension = POCD_HD000040 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.4)
(not self.typeId.oclIsUndefined()) and (not self.typeId.root.oclIsUndefined()) and self.typeId.root='2.16.840.1.113883.1.3' and (not self.typeId.extension.oclIsUndefined()) and self.typeId.extension='POCD_HD000040'
ERROR
constraint_Id
ClinicalDocument/Id SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.6)
(not self.id.oclIsUndefined()) and (not self.id.root.oclIsUndefined()) and (not (self.id.root=''))
ERROR
constraint_code1
ClinicalDocument/code SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.7)
not self.code.oclIsUndefined() and (not self.code.code.oclIsUndefined())
ERROR
constraint_code2
The laboratory report can be either a multi-disciplinary report or a single discipline report (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.7)
self.code.oclIsUndefined() or
(
(not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='2.16.840.1.113883.6.1' and
(not self.code.codeSystemName.oclIsUndefined()) and self.code.codeSystemName='LOINC' and
(not self.code.code.oclIsUndefined()) and self.code.code='11502-2' and
(not self.code.displayName.oclIsUndefined()) and self.code.displayName='LABORATORY REPORT.TOTAL'
)
or self.code.machesValueSet('', self.code.code, self.code.codeSystem, self.code.codeSystemName, self.code.displayName)
ERROR
constraint_effectiveTime
ClinicalDocument/effectiveTime SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.8)
(not self.effectiveTime.oclIsUndefined()) and (not self.effectiveTime.value.oclIsUndefined()) and (not (self.effectiveTime.value=''))
ERROR
constraint_confidentialityCode
ClinicalDocument/confidentialityCode SHALL be present in accordance with the HL7 CDA R2 standard (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.9)
(not self.confidentialityCode.oclIsUndefined()) and
(not self.confidentialityCode.code.oclIsUndefined()) and
(not self.confidentialityCode.codeSystem.oclIsUndefined()) and
self.confidentialityCode.machesValueSet('1.3.6.1.4.1.12559.11.4.3.3',self.confidentialityCode.code, self.confidentialityCode.codeSystem, self.confidentialityCode.codeSystemName, self.confidentialityCode.displayName)
ERROR
connstraint_languageCode
ClinicalDocument/languageCode SHALL be present in accordance with the HL7 CDA R2 standard (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.10)
(not self.languageCode.oclIsUndefined()) and (not self.languageCode.code.oclIsUndefined())
ERROR
constraint_setId
ClinicalDocument/setId SHALL be present to enable further updates of the clinical document (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.11)
(not self.setId.oclIsUndefined()) and (not self.setId.root.oclIsUndefined())
ERROR
constraint_versionNumber
ClinicalDocument/versionNumber MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.12)
(not self.versionNumber.oclIsUndefined()) and (not self.versionNumber.value.oclIsUndefined())
INFO
constraint_recordTarget1
ClinicalDocument/recordTarget SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13)
self.recordTarget->size()>0
ERROR
constraint_recordTarget2
ClinicalDocument/recordTarget SHALL conform to the Human Patient, Non-Human Subject or Human Patient with Non-Human Subject templates (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13)
self.recordTarget->forAll(rt : POCDMT000040RecordTarget |
(
(rt.templateId->size()=1) and
(not rt.templateId->first().root.oclIsUndefined()) and
(rt.templateId->first().root='1.3.6.1.4.1.19376.1.3.3.1.2' or rt.templateId->first().root='1.3.6.1.4.1.19376.1.3.3.1.3')
) or
(
rt.templateId->size()=0
)
)
ERROR
constraint_NonHumanSubject
if non human subject are recorded, it SHALL be represented in a Subject element in level 3 entries in the structuredBody as described in (2.3.5.3) (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.2)
self.recordTarget->select(rt : POCDMT000040RecordTarget |
(not rt.templateId->isEmpty()) and
rt.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.2' )
)->size()=0
or
(
(not self.component.oclIsUndefined()) and
(not self.component.structuredBody.oclIsUndefined()) and
(not self.component.structuredBody.component->isEmpty()) and
self.component.structuredBody.component->exists(comp : POCDMT000040Component3 |
(not comp.section.oclIsUndefined()) and
(
comp.section.entry->exists(entr : POCDMT000040Entry |
(not entr.act.oclIsUndefined()) and
(not entr.act.subject.oclIsUndefined()) and
(not entr.act.subject.templateId->isEmpty()) and
entr.act.subject.templateId->exists(tm : II | (not tm.root.oclIsUndefined()) and tm.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' )
)
or
(
comp.section.component->exists(comp2 : POCDMT000040Component5 |
(not comp.section.oclIsUndefined()) and
comp.section.entry->exists(entr : POCDMT000040Entry |
(not entr.act.oclIsUndefined()) and
(not entr.act.subject.oclIsUndefined()) and
(not entr.act.subject.templateId->isEmpty()) and
entr.act.subject.templateId->exists(tm : II | (not tm.root.oclIsUndefined()) and tm.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' )
)
)
)
)
)
)
ERROR
constraint_NonHumanSubjectAndHumanPatient
if non human subject are recorded with human patient, it SHALL be represented in a Subject element in level 3 entries in the structuredBody as described in (2.3.5.4) (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
self.recordTarget->select(rt : POCDMT000040RecordTarget | (not rt.templateId->isEmpty()) and rt.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.3' ))->size()=0
or
(not self.component.oclIsUndefined()) and
self.component.structuredBody.oclIsUndefined() and
self.component.structuredBody.component->isEmpty() and
self.component.structuredBody.component->select(comp : POCDMT000040Component3 |
(not comp.section.oclIsUndefined()) and
(comp.section.entry->size()=1) and
comp.section.entry->forAll(entr : POCDMT000040Entry |
(not entr.act.oclIsUndefined()) and
(not entr.act.subject.oclIsUndefined()) and
(not entr.act.subject.templateId->isEmpty()) and
entr.act.subject.templateId->exists(tm : II | (not tm.root.oclIsUndefined()) and tm.root='1.3.6.1.4.1.19376.1.3.3.1.3.1' )
)
)->size()=self.recordTarget->select(rt : POCDMT000040RecordTarget | (not rt.templateId->isEmpty()) and rt.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.3' ))->size()
ERROR
constraint_author
At least one ClinicalDocument/author SHALL be present with a time (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.14)
(not self.author->isEmpty()) and
self.author->exists(auth : POCDMT000040Author | (not auth.time.oclIsUndefined()) and (not auth.time.value.oclIsUndefined()))
ERROR
constraint_author_name
author, in accordance with the HL7 CDA R2 standard requires the presence of name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.14)
self.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
(
(not auth.assignedAuthor.assignedPerson.oclIsUndefined()) and
(not auth.assignedAuthor.assignedPerson.name->isEmpty())
)
or
(
(not auth.assignedAuthor.assignedAuthoringDevice.oclIsUndefined()) and
( (not auth.assignedAuthor.assignedAuthoringDevice.softwareName.oclIsUndefined()) or (not auth.assignedAuthor.assignedAuthoringDevice.manufacturerModelName.oclIsUndefined()) )
)
)
ERROR
constraint_author_addr
author, in accordance with the HL7 CDA R2 standard requires the presence of addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.14)
self.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
(not auth.assignedAuthor.addr->isEmpty())
)
ERROR
constraint_author_telecom
author, in accordance with the HL7 CDA R2 standard requires the presence of telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.14)
self.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
(not auth.assignedAuthor.telecom->isEmpty())
)
ERROR
constraint_custodian
ClinicalDocument/custodian SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.15)
(not self.custodian.oclIsUndefined())
ERROR
constraint_custodian_id
custodian id shall be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.15)
(not self.custodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.id->isEmpty())
ERROR
constraint_custodian_name
custodian, in accordance with the HL7 CDA R2 standard requires the presence of name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.15)
(not self.custodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.name.oclIsUndefined())
ERROR
constraint_custodian_addr
custodian, in accordance with the HL7 CDA R2 standard requires the presence of addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.15)
(not self.custodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.addr.oclIsUndefined())
ERROR
constraint_custodian_telecom
custodian, in accordance with the HL7 CDA R2 standard requires the presence of telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.15)
(not self.custodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.oclIsUndefined()) and
(not self.custodian.assignedCustodian.representedCustodianOrganization.telecom.oclIsUndefined())
ERROR
constraint_intendedRecipient
ClinicalDocument/informationRecipient MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.16)
not self.informationRecipient->isEmpty()
INFO
constraint_intendedRecipient_templateId
informationRecipient when present must have the templateId 1.3.6.1.4.1.19376.1.3.3.1.4 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.16)
(self.informationRecipient->isEmpty()) or self.informationRecipient->forAll(ir : POCDMT000040InformationRecipient | (not ir.templateId->isEmpty()) and ir.templateId->exists(ii : II | ii.root='1.3.6.1.4.1.19376.1.3.3.1.4') )
ERROR
constraint_legalAuthenticator
ClinicalDocument/legalAuthenticator MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.17)
not self.legalAuthenticator.oclIsUndefined()
ERROR
constraint_legalAuthenticator_name
legalAuthenticator, in accordance with the HL7 CDA R2 standard requires the presence of name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.17)
self.legalAuthenticator.oclIsUndefined() or
(
(not self.legalAuthenticator.assignedEntity.oclIsUndefined()) and
(not self.legalAuthenticator.assignedEntity.assignedPerson.oclIsUndefined()) and
(not self.legalAuthenticator.assignedEntity.assignedPerson.name->isEmpty())
)
ERROR
constraint_legalAuthenticator_addr
legalAuthenticator, in accordance with the HL7 CDA R2 standard requires the presence of addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.17)
self.legalAuthenticator.oclIsUndefined() or
(
(not self.legalAuthenticator.assignedEntity.oclIsUndefined()) and
(not self.legalAuthenticator.assignedEntity.addr->isEmpty())
)
ERROR
constraint_legalAuthenticator_telecom
legalAuthenticator, in accordance with the HL7 CDA R2 standard requires the presence of telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.17)
self.legalAuthenticator.oclIsUndefined() or
(
(not self.legalAuthenticator.assignedEntity.oclIsUndefined()) and
(not self.legalAuthenticator.assignedEntity.telecom->isEmpty())
)
ERROR
constraint_authenticator
The ClinicalDocument/authenticator element MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.18)
(not self.authenticator->isEmpty())
INFO
constraint_multiple_authenticator
In the case of multiple validators, each individual validator SHALL be associated with the particular sections of the report he or she validated (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.19)
if (self.authenticator->size()>1)
then
self.authenticator->forAll(auth : POCDMT000040Authenticator | (not auth.assignedEntity.oclIsUndefined()) and (not auth.assignedEntity.id->isEmpty()) ) and
(
self.component.oclIsUndefined() or
self.component.structuredBody.oclIsUndefined() or
self.component.structuredBody.component->forAll(comp : POCDMT000040Component3 |
comp.section.oclIsUndefined() or
(comp.section.component->isEmpty()) or
comp.section.component->forAll(comp2 : POCDMT000040Component5 |
comp2.section.oclIsUndefined() or
comp2.section.entry->forAll(entr : POCDMT000040Entry |
entr.act.oclIsUndefined() or
entr.act.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.observation.oclIsUndefined() or
entrr.observation.participant->exists(part : POCDMT000040Participant2 |
(not part.typeCode.oclIsUndefined()) and
part.typeCode=ParticipationType::AUTHEN and
(not part.participantRole.oclIsUndefined()) and
part.participantRole.id->exists(ip : II |
self.authenticator->exists(auth : POCDMT000040Authenticator | (not auth.assignedEntity.oclIsUndefined()) and (not auth.assignedEntity.id->isEmpty()) and auth.assignedEntity.id->exists(id1 : II |
((id1.root.oclIsUndefined()) or id1.root=ip.root) and
((id1.extension.oclIsUndefined()) or id1.extension=ip.extension) and
( (not id1.root.oclIsUndefined()) or (not id1.extension.oclIsUndefined()) )
) )
)
)
)
)
)
)
)
else true
endif
ERROR
constraint_participant
ClinicalDocument/participant(s) MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.20)
not self.participant->isEmpty()
INFO
constraint_participant_template
when present, participant shall have the template 1.3.6.1.4.1.19376.1.3.3.1.6 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.20)
self.participant->forAll(part : POCDMT000040Participant1 | part.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.6' ))
ERROR
constraint_infulfillmentOf
The inFulfillmentOf/order element MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.20)
not self.inFulfillmentOf->isEmpty()
INFO
constraint_inFulfillmentOfId
inFulfillmentOf/order/id is required, It represents the Placer Order or the Placer Group that was fulfilled (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.20)
self.inFulfillmentOf->forAll((not order.oclIsUndefined()) and (not order.id->isEmpty()) )
ERROR
constraint_documentationOf
ClinicalDocument/documentationOf(s) MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.21)
(not self.documentationOf->isEmpty())
ERROR
constraint_documentationOf_effectiveTime
Use of sub element documentationOf/serviceEvent/effectiveTime to document the time boundaries of events in the document is appropriate (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.21)
self.documentationOf->forAll(doc : POCDMT000040DocumentationOf |
(not doc.serviceEvent.oclIsUndefined()) and
(not doc.serviceEvent.effectiveTime.oclIsUndefined())
)
WARNING
constraint_laboratory_performer
Laboratory Performers MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
(not self.documentationOf->isEmpty()) and
self.documentationOf->forAll(doc : POCDMT000040DocumentationOf |
(not doc.serviceEvent.oclIsUndefined()) and
(not doc.serviceEvent.performer->isEmpty())
)
ERROR
constraint_performer_templateId
performer shall have root=1.3.6.1.4.1.19376.1.3.3.1.7 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
(not self.documentationOf->isEmpty()) and
self.documentationOf->forAll(doc : POCDMT000040DocumentationOf |
(not doc.serviceEvent.oclIsUndefined()) and
(not doc.serviceEvent.performer->isEmpty()) and
doc.serviceEvent.performer->forAll(perf : POCDMT000040Performer1 |
perf.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.7' )
)
)
ERROR
constraint_singlePerformer
the number of performer on ClinicalDocument/documentationOf/serviceEvent shall not be more than one, otherwise the performer must be present on the body (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
self.documentationOf->forAll(doc : POCDMT000040DocumentationOf |
(not doc.serviceEvent.oclIsUndefined()) and
(doc.serviceEvent.performer->size()<2)
) and
(self.documentationOf->select(doc : POCDMT000040DocumentationOf |
(not doc.serviceEvent.oclIsUndefined()) and
(doc.serviceEvent.performer->size()=1)
)->size()<2)
ERROR
constraint_relatedDocument
ClinicalDocument/relatedDocument/parentDocument SHALL be present in case of an update replacement of a previous report. In this case relatedDocument@typeCode attribute SHALL be valued RPLC (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.23)
(not self.relatedDocument->isEmpty()) and
self.relatedDocument->forAll(doc : POCDMT000040RelatedDocument |
(not doc.parentDocument.oclIsUndefined()) and
doc.parentDocument.id->exists(ii : II | (not ii.root.oclIsUndefined()) ) and
(not doc.typeCode.oclIsUndefined()) and
doc.typeCode=XActRelationshipDocument::RPLC
)
WARNING
constraint_encompassingEncounter
The ClinicalDocument/componentOf/encompassingEncounter element MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
(not self.componentOf.oclIsUndefined()) and
(not self.componentOf.encompassingEncounter.oclIsUndefined())
INFO
constraint_encompassingEncounter_id
When present the encounter SHALL be identified with an id element: encompassingEncounter/id (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
(
(self.componentOf.encompassingEncounter.id->size()>0) and
self.componentOf.encompassingEncounter.id->exists(ii : II | (not ii.root.oclIsUndefined()))
)
ERROR
constraint_encompassingEncounter_effectiveTime
When present the encounter SHALL have an effective time that represents the time interval of the encounter (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
(
(not self.componentOf.encompassingEncounter.effectiveTime.oclIsUndefined())
)
ERROR
constraint_encompassingEncounter_entityName
When present, encounter participants SHALL be in accordance with the HL7 CDA R2 standard with a name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
self.componentOf.encompassingEncounter.encounterParticipant->isEmpty() or
self.componentOf.encompassingEncounter.encounterParticipant->forAll(encp : POCDMT000040EncounterParticipant |
(not encp.assignedEntity.oclIsUndefined()) and
(not encp.assignedEntity.assignedPerson.oclIsUndefined()) and
(not encp.assignedEntity.assignedPerson.name->isEmpty())
)
ERROR
constraint_encompassingEncounter_entityaddr
When present, encounter participants SHALL be in accordance with the HL7 CDA R2 standard with a addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
self.componentOf.encompassingEncounter.encounterParticipant->isEmpty() or
self.componentOf.encompassingEncounter.encounterParticipant->forAll(encp : POCDMT000040EncounterParticipant |
(not encp.assignedEntity.oclIsUndefined()) and
(not encp.assignedEntity.addr->isEmpty())
)
ERROR
constraint_encompassingEncounter_entityTelecom
When present, encounter participants SHALL be in accordance with the HL7 CDA R2 standard with a telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
self.componentOf.encompassingEncounter.encounterParticipant->isEmpty() or
self.componentOf.encompassingEncounter.encounterParticipant->forAll(encp : POCDMT000040EncounterParticipant |
(not encp.assignedEntity.oclIsUndefined()) and
(not encp.assignedEntity.telecom->isEmpty())
)
ERROR
constraint_encompassingEncounter_entityTime
When present, encounter participants SHALL be in accordance with the HL7 CDA R2 standard with a time (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
self.componentOf.encompassingEncounter.encounterParticipant->isEmpty() or
self.componentOf.encompassingEncounter.encounterParticipant->forAll(encp : POCDMT000040EncounterParticipant |
(not encp.time.oclIsUndefined())
)
ERROR
constraint_encompassingEncounter_typeCode
When present, encounter participants SHALL have a typeCode (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.24)
self.componentOf.oclIsUndefined() or
self.componentOf.encompassingEncounter.oclIsUndefined() or
self.componentOf.encompassingEncounter.encounterParticipant->isEmpty() or
self.componentOf.encompassingEncounter.encounterParticipant->forAll(encp : POCDMT000040EncounterParticipant |
(not encp.typeCode.oclIsUndefined())
)
ERROR
constraint_structuredBody
A laboratory report SHALL have a structuredBody (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4)
(not self.component.oclIsUndefined()) and (not self.component.structuredBody.oclIsUndefined())
ERROR
sonstraint_sections_level
This body is organized as a tree of up to two levels of sections (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4)
(self.component.oclIsUndefined()) or (self.component.structuredBody.oclIsUndefined()) or
(self.component.structuredBody.component->isEmpty()) or
self.component.structuredBody.component->forAll(comp1 : POCDMT000040Component3 |
comp1.section.oclIsUndefined() or
comp1.section.component->isEmpty() or
comp1.section.component->forAll(comp2 : POCDMT000040Component5 |
comp2.section.oclIsUndefined() or
comp2.section.component->isEmpty()
)
)
ERROR
constraint_required_sections
Every Laboratory Report SHALL contain at least one Laboratory Specialty Section (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4, 2.3.4.1.1)
(not self.component.oclIsUndefined()) and ( not self.component.structuredBody.oclIsUndefined()) and
(not self.component.structuredBody.component->isEmpty()) and
self.component.structuredBody.component->exists(comp : POCDMT000040Component3 |
(not comp.section.oclIsUndefined()) and
comp.section.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.2.1' )
)
ERROR
constraint_entry_performer
Entry/act/performer must be present if the number of performer is more than one (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(
self.documentationOf->size()=1 and
self.documentationOf->forAll(doc : POCDMT000040DocumentationOf | (not doc.serviceEvent.oclIsUndefined()) and (doc.serviceEvent.performer->size()=1))
) or
(
self.component.oclIsUndefined() or
self.component.structuredBody.oclIsUndefined() or
self.component.structuredBody.component->isEmpty() or
self.component.structuredBody.component->forAll(comp : POCDMT000040Component3 |
comp.section.oclIsUndefined() or
(
comp.section.entry->forAll(entr : POCDMT000040Entry |
(not entr.act.oclIsUndefined()) and
(not entr.act.performer->isEmpty()) and
entr.act.performer->forAll(perf : POCDMT000040Performer2 | (not perf.typeCode.oclIsUndefined()) and perf.typeCode=ParticipationPhysicalPerformer::PRF)
)
and
comp.section.component->forAll(comp2 : POCDMT000040Component5 |
comp2.section.oclIsUndefined() or
comp2.section.entry->isEmpty() or
comp2.section.entry->forAll(entr2 : POCDMT000040Entry |
(not entr2.act.oclIsUndefined()) and
(not entr2.act.performer->isEmpty()) and
entr2.act.performer->forAll(perf2 : POCDMT000040Performer2 | (not perf2.typeCode.oclIsUndefined()) and perf2.typeCode=ParticipationPhysicalPerformer::PRF)
)
)
)
)
)
ERROR
constraint_entry_author
Entry/act/author used if different from the author of the header, to supersede it for this section (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(self.author->size()>1) or
(
self.component.oclIsUndefined() or
self.component.structuredBody.oclIsUndefined() or
self.component.structuredBody.component->isEmpty() or
self.component.structuredBody.component->forAll(comp : POCDMT000040Component3 |
comp.section.oclIsUndefined() or
comp.section.entry->isEmpty() or
comp.section.entry->forAll(entr : POCDMT000040Entry |
(entr.act.oclIsUndefined()) or
entr.act.author->isEmpty() or
entr.act.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
(not auth.assignedAuthor.id->isEmpty()) and
auth.assignedAuthor.id->select(ii : II |
self.author->select(autho : POCDMT000040Author |
(not autho.assignedAuthor.oclIsUndefined()) and
autho.assignedAuthor.id->exists(i2 : II |
((i2.root.oclIsUndefined()) or i2.root=ii.root) and
((i2.extension.oclIsUndefined()) or i2.extension=ii.extension) and
((not i2.extension.oclIsUndefined()) or (not i2.root.oclIsUndefined()))
)
)->size()=0
)->size()>0
)
)
-- TODO constraint about leaf section
)
)
ERROR
constraint_NHSubjR2
Non human subject recordTarget is required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, Table 2.3.1-1)
self.recordTarget->exists(rt : POCDMT000040RecordTarget |
rt.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.2' )
)
WARNING
constraint_HPwithNHS
Human (Patient) paired with Non-Human Subject template in the CDA header required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, Table 2.3.1-1)
self.recordTarget->exists(rt : POCDMT000040RecordTarget |
rt.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.3' )
)
WARNING
constraint_labspecR
Laboratory Specialty Section template in the CDA body required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, Table 2.3.1-1)
(not self.component.oclIsUndefined()) and
(not self.component.structuredBody.oclIsUndefined()) and
self.component.structuredBody.component->forAll(comp : POCDMT000040Component3|
(not comp.section.oclIsUndefined()) and
comp.section.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.2.1')
)
ERROR
XDLabSpec
ConstraintsSpec
XDLabSpec
cdalab-POCDMT000040ClinicalDocument
constraint_templateId
The templateId SHALL be present and valued to 1.3.6.1.4.1.19376.1.3.3 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.5)
(not self.templateId->isEmpty()) and self.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3')
ERROR
HumanPatientRT
ConstraintsSpec
HumanPatientRT
cda-POCDMT000040RecordTarget
constraint_name
XD-LAB requires the presence of name for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.name->isEmpty())
)
ERROR
constraint_addr
XD-LAB requires the presence of addr for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.addr->isEmpty())
)
ERROR
constraint_telecom
XD-LAB requires the presence of telecom for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.telecom->isEmpty())
)
ERROR
constraint_id
The patientRole/id SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.id->isEmpty())
)
ERROR
constraint_administrativeGenderCode
The patientRole/patient/administrativeGenderCode SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()<>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
)
ERROR
newConstraint
The patientRole/patient/birthTime SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.1)
(self.templateId->size()<>0) or
(
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.birthTime.oclIsUndefined())
)
ERROR
NonHumanSubjectRT
TemplateSpec
NonHumanSubjectRT
1.3.6.1.4.1.19376.1.3.3.1.2
cda-POCDMT000040RecordTarget
constraint_templateId
templateId SHALL have root=1.3.6.1.4.1.19376.1.3.3.1.2 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.2)
(self.templateId->size()=1) and (not self.templateId->first().root.oclIsUndefined()) and self.templateId->first().root='1.3.6.1.4.1.19376.1.3.3.1.2'
ERROR
constraint_id
/patientRole/id SHALL be present and SHALL represent the id of the non-human subject (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.2)
(not self.patientRole.oclIsUndefined()) and (self.patientRole.id->size()=1) and (not self.patientRole.id->first().root.oclIsUndefined())
ERROR
constraint_patient
The recordTarget/patientRole SHALL have a patient sub-element and its nullFlavor SHALL be set to OTH (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.2)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.nullFlavor.oclIsUndefined()) and
self.patientRole.patient.nullFlavor=NullFlavor::OTH
ERROR
HPatNHSubj
TemplateSpec
HPatNHSubj
1.3.6.1.4.1.19376.1.3.3.1.3
cda-POCDMT000040RecordTarget
constraint_name
XD-LAB requires the presence of name for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.name->isEmpty())
ERROR
constraint_addr
XD-LAB requires the presence of addr for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.addr->isEmpty())
ERROR
constraint_telecom
XD-LAB requires the presence of telecom for all entities in the document including the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.telecom->isEmpty())
ERROR
constraint_templateId
The templateId SHALL have root=1.3.6.1.4.1.19376.1.3.3.1.3 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(self.templateId->size() = 1) and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.3')
ERROR
constraint_id
recordTarget/patientRole/id SHALL be present. It SHALL be representative of the id of the human patient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.id->isEmpty())
ERROR
constraint_administrativeGenderCode
The patientRole/patient/administrativeGenderCode SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.administrativeGenderCode.oclIsUndefined())
ERROR
constraint_birthTime
The patientRole/patient/birthTime SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.13.3)
(not self.patientRole.oclIsUndefined()) and
(not self.patientRole.patient.oclIsUndefined()) and
(not self.patientRole.patient.birthTime.oclIsUndefined())
ERROR
InformationRecipientT
TemplateSpec
InformationRecipientT
1.3.6.1.4.1.19376.1.3.3.1.4
cda-POCDMT000040InformationRecipient
constraint_name
XD-LAB requires the presence of name for all informationRecipient (on the informationRecipient and/or receivedOrganization) (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.16)
(not self.intendedRecipient.oclIsUndefined()) and
(
(
(not self.intendedRecipient.informationRecipient.oclIsUndefined()) and
(not self.intendedRecipient.informationRecipient.name->isEmpty())
) or
(
(not self.intendedRecipient.receivedOrganization.oclIsUndefined()) and
(not self.intendedRecipient.receivedOrganization.name->isEmpty())
)
)
ERROR
constraint_addr
XD-LAB requires the presence of addr for all informationRecipient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.16)
(not self.intendedRecipient.oclIsUndefined()) and
(not self.intendedRecipient.addr->isEmpty())
ERROR
constraint_telecom
XD-LAB requires the presence of telecom for all informationRecipient (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.16)
(not self.intendedRecipient.oclIsUndefined()) and (not (self.intendedRecipient.telecom->isEmpty()) )
ERROR
AuthenticatorT
TemplateSpec
AuthenticatorT
1.3.6.1.4.1.19376.1.3.3.1.5
cda-POCDMT000040Authenticator
constraint_name
authenticator require the presence of name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.18)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.assignedPerson.oclIsUndefined()) and
(not self.assignedEntity.assignedPerson.name->isEmpty())
ERROR
constraint_addr
authenticator require the presence of addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.18)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.addr->isEmpty())
ERROR
constraint_telecom
authenticator require the presence of telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.18)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.telecom->isEmpty())
ERROR
constraint_templateId
The templateId SHALL have root=1.3.6.1.4.1.19376.1.3.3.1.5 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.18)
self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.5')
ERROR
ParticipantOrderingProviderT
TemplateSpec
ParticipantOrderingProviderT
1.3.6.1.4.1.19376.1.3.3.1.6
cda-POCDMT000040Participant1
constraint_name
participant require name attribute (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.19)
(not self.associatedEntity.oclIsUndefined()) and
(
(
(not self.associatedEntity.associatedPerson.oclIsUndefined()) and
(not self.associatedEntity.associatedPerson.name->isEmpty())
) or
(
(not self.associatedEntity.scopingOrganization.oclIsUndefined()) and
(not self.associatedEntity.scopingOrganization.name->isEmpty())
)
)
ERROR
constraint_addr
participant require addr attribute (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.19)
(not self.associatedEntity.oclIsUndefined()) and
(not self.associatedEntity.addr->isEmpty())
ERROR
constraint_telecom
participant require telecom attribute (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.19)
(not self.associatedEntity.oclIsUndefined()) and
(not self.associatedEntity.telecom->isEmpty())
ERROR
LabPerformerT
TemplateSpec
LabPerformerT
1.3.6.1.4.1.19376.1.3.3.1.7
cda-POCDMT000040Performer1
constraint_time
A Laboratory Performer, when present, SHALL be in accordance with the HL7 CDA R2 standard with a time element (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
not self.time.oclIsUndefined()
ERROR
constraint_name
A Laboratory Performer, when present, SHALL be in accordance with the HL7 CDA R2 standaand require the presence of name (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.assignedPerson.oclIsUndefined()) and
(not self.assignedEntity.assignedPerson.name->isEmpty())
ERROR
constraint_addr
A Laboratory Performer, when present, SHALL be in accordance with the HL7 CDA R2 standaand require the presence of addr (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.addr->isEmpty())
ERROR
constraint_telecom
A Laboratory Performer, when present, SHALL be in accordance with the HL7 CDA R2 standaand require the presence of telecom (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.3.22)
(not self.assignedEntity.oclIsUndefined()) and
(not self.assignedEntity.telecom->isEmpty())
ERROR
SpecialtySection
TemplateSpec
SpecialtySection
1.3.6.1.4.1.19376.1.3.3.2.1
cdalab-POCDMT000040Section
constraint_textORreport
A top level section SHALL contain either on text block carrying all the text results produced for this specialty along with a single LaboratoryData Processing Entry or a set of Laboratory Report Item Sections
(IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4)
(
(not self.text.oclIsUndefined()) and
(self.entry->size()=1)
)
xor
(
(self.component->size()>0) and
self.component->exists(comp : POCDMT000040Component5 |
(not comp.section.oclIsUndefined()) and
comp.section.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.2.2')
)
)
ERROR
constraint_code
The Laboratory Specialty Sections use the LOINC codes defined as report subject identifier codes (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.1)
(not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined()) and self.code.machesValueSet('1.3.6.1.4.1.12559.11.4.4.1', self.code.code, self.code.codeSystem, self.code.codeSystemName, self.code.displayName)
ERROR
constraint_specialty_section_nest
Laboratory Specialty Sections SHALL NOT be nested (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.1)
self.component->isEmpty() or
self.component->forAll(comp : POCDMT000040Component5 |
comp.section.oclIsUndefined() or
comp.section.templateId->select(ii : II| (not ii.root.oclIsUndefined()) and (ii.root='1.3.6.1.4.1.19376.1.3.3.2.1'))->size()=0
)
ERROR
constraint_title
title MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.2)
not self.title.oclIsUndefined()
INFO
constraint_choiceLabReport
if lab report item present, this Laboratory Specialty Section SHALL contain NEITHER a top level text NOR entry elements (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.2)
self.component->isEmpty() or
self.component->forAll(comp : POCDMT000040Component5 |
comp.section.oclIsUndefined() or
comp.section.templateId->select(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.2.2')->size()=0
) or (self.text.oclIsUndefined() and self.entry->isEmpty() )
ERROR
constraint_text_notnull
if text and entry specified, the text must not be blank (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.2)
not (
(not self.text.oclIsUndefined()) and
(self.entry->size()=1)
)
or
(
(not self.text.br->isEmpty()) or
(not self.text.content->isEmpty()) or
(not self.text.footnote->isEmpty()) or
(not self.text.footnoteRef->isEmpty()) or
(not self.text.linkHtml->isEmpty()) or
(not self.text.list->isEmpty()) or
(not self.text.paragraph->isEmpty()) or
(not self.text.renderMultiMedia->isEmpty()) or
(not self.text.sub->isEmpty()) or
(not self.text.sup->isEmpty()) or
(not self.text.table->isEmpty())
)
ERROR
constraint_entry_choice2
if text and entry specified, Laboratory Report Data Processing Entry SHALL be present with attribute typeCode=DRIV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.1.2)
not (
(not self.text.oclIsUndefined()) and
(self.entry->size()=1)
)
or
(
self.entry->forAll(entr : POCDMT000040Entry | entr.typeCode=XActRelationshipEntry::DRIV)
)
ERROR
constraint_entry_choice2_codes
When section is a Specialty Section, code of section/entry/act/ is a LOINC Specialty (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
not (
(not self.text.oclIsUndefined()) and
(self.entry->size()=1)
)
or
(
self.entry->forAll(entr : POCDMT000040Entry |
entr.act.oclIsUndefined() or
entr.act.code.oclIsUndefined() or
entr.act.code.machesValueSet('1.3.6.1.4.1.12559.11.4.4.1', entr.act.code.code, entr.act.code.codeSystem, entr.act.code.codeSystemName, entr.act.code.displayName)
)
)
ERROR
constraint_entryR
Laboratory Data Processing Entry template in the CDA body required on a lab report CDA (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, Table 2.3.1-1)
self.entry->exists(entr : POCDMT000040Entry | entr.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1' ) ) or
self.component->exists(comp : POCDMT000040Component5 |
(not comp.section.oclIsUndefined()) and
comp.section.entry->exists(entr : POCDMT000040Entry | entr.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1' ) )
)
ERROR
ReportItemSection
TemplateSpec
ReportItemSection
1.3.6.1.4.1.19376.1.3.3.2.2
cdalab-POCDMT000040Section
constraint_entry_number
Any leaf section SHALL contain a single Laboratory Data Processing Entry (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4)
self.entry->size()=1
ERROR
constraint_code
code is required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2)
not self.code.oclIsUndefined()
ERROR
constraint_codeAttr
The code, codeSystem, and displayName SHALL be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2)
(not self.code.oclIsUndefined()) and
(not self.code.code.oclIsUndefined()) and
(not self.code.codeSystem.oclIsUndefined()) and
(not self.code.displayName.oclIsUndefined())
ERROR
constraint_title
title MAY be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2)
not self.title.oclIsUndefined()
INFO
constraint_text
The Laboratory Report Item Section text SHALL be present and not blank (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2)
(not self.text.oclIsUndefined()) and
(
(not self.text.br->isEmpty()) or
(not self.text.content->isEmpty()) or
(not self.text.footnote->isEmpty()) or
(not self.text.footnoteRef->isEmpty()) or
(not self.text.linkHtml->isEmpty()) or
(not self.text.list->isEmpty()) or
(not self.text.paragraph->isEmpty()) or
(not self.text.renderMultiMedia->isEmpty()) or
(not self.text.sub->isEmpty()) or
(not self.text.sup->isEmpty()) or
(not self.text.table->isEmpty())
)
ERROR
constraint_entry
The Laboratory Report Item Section SHALL contain a Lab Report Data Processing Entry with typeCode=DRIV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2, 2.3.5.1.1)
(not self.entry->isEmpty()) and
self.entry->forAll(entr : POCDMT000040Entry | (not entr.typeCode.oclIsUndefined()) and entr.typeCode=XActRelationshipEntry::DRIV )
ERROR
constraint_entry_template
The Laboratory Report Item Section SHALL contain only one Lab Report Data Processing Entry and its root is root=1.3.6.1.4.1.19376.1.3.1 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.4.2, 2.3.5.2)
(not self.entry->isEmpty()) and
(self.entry->size()=1) and
self.entry->forAll(entr : POCDMT000040Entry | (not entr.typeCode.oclIsUndefined()) and entr.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1' ) )
ERROR
LabReportDPEntry
TemplateSpec
LabReportDPEntry
1.3.6.1.4.1.19376.1.3.1
cdalab-POCDMT000040Entry
constraint_act
The entry SHALL contain a single act sub-element (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2)
not self.act.oclIsUndefined()
ERROR
constraint_labobservation
The Specimen Act shall contain at least one Laboratory Observation (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.observation.oclIsUndefined()) and
entrr.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.6')
)
ERROR
constraint_typeCode
typeCode is required and shall be DRIV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(not self.typeCode.oclIsUndefined()) and self.typeCode=XActRelationshipEntry::DRIV
ERROR
constraint_templateId
only one templateId is allowed (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
self.templateId->size()=1
ERROR
constraint_act_classCode
entry/act@classCode is required and fixed to ACT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(not self.act.oclIsUndefined()) and (not self.act.classCode.oclIsUndefined()) and self.act.classCode=XActClassDocumentEntryAct::ACT
ERROR
constraint_act_moodCode
entry/act@moodCode is required and shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(not self.act.oclIsUndefined()) and (not self.act.moodCode.oclIsUndefined()) and self.act.moodCode=XDocumentActMood::EVN
ERROR
constraint_act_code_required
act/code required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(not self.act.oclIsUndefined()) and (not self.act.code.oclIsUndefined()) and (not self.act.code.code.oclIsUndefined())
ERROR
constraint_statusCode
act/statusCode required and must be completed, active, or aborded (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
(not self.act.oclIsUndefined()) and (not self.act.statusCode.oclIsUndefined()) and (not self.act.statusCode.code.oclIsUndefined()) and
(
self.act.statusCode.code='completed' or
self.act.statusCode.code='active' or
self.act.statusCode.code='aborded'
)
ERROR
constraint_act_participant
act/participant@typeCode if present must be AUTHEN or RESP or DEV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
self.act.oclIsUndefined() or
self.act.participant->forAll(part : POCDMT000040Participant2 | (not part.typeCode.oclIsUndefined()) or part.typeCode=ParticipationType::AUTHEN or part.typeCode=ParticipationType::RESP or part.typeCode=ParticipationType::DEV )
ERROR
constraint_entryRelationship
entryRelationShip is required and must have the typeCode=COMP (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.2, Table 2.3.5.2-1)
self.act.oclIsUndefined() or
(self.act.entryRelationship->size()>0) and
self.act.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.typeCode.oclIsUndefined()) and entrr.typeCode=XActRelationshipEntryRelationship::COMP )
ERROR
constraint_notificationOrganizer1
notification organizer may be present in an entryRelationship under the Specimen Act of a Laboratory Data Processing Entry (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.organizer.oclIsUndefined()) and entrr.organizer.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1')
)
INFO
constraint_notificationOrganizer2
notificationorganizer SHALL be present when any of the following Notifications are present: Notifiable Condition, Case Identification, and/or Outbreak Identification (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7)
(self.act.oclIsUndefined()) or
self.act.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.organizer.oclIsUndefined() or
entrr.organizer.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1' ) or
entrr.organizer.component->isEmpty() or
entrr.organizer.component->select(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined()) and
comp.observation.templateId->exists(ii : II |
(not ii.root.oclIsUndefined()) and
(
ii.root='1.3.6.1.4.1.19376.1.3.1.1.1' or
ii.root='1.3.6.1.4.1.19376.1.3.1.1.2' or
ii.root='1.3.6.1.4.1.19376.1.3.1.1.3'
)
)
)->size()=0
)
ERROR
constraint_statusToIsolateOrganizer
If the Report_Entry is completed, then the SpecimenObservationCluster_Organizer cannot be active (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Note 2)
self.act.oclIsUndefined() or
self.act.statusCode.oclIsUndefined() or
self.act.statusCode.code.oclIsUndefined() or
(not (self.act.statusCode.code='completed')) or
self.act.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.organizer->select(org : POCDMT000040Organizer |
org.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.5')
)->forAll(org2 : POCDMT000040Organizer |
org2.statusCode.oclIsUndefined() or
org2.statusCode.code.oclIsUndefined() or
(not (org2.statusCode.code='active'))
)
)
ERROR
constraint_labObservation1
The document SHALL contain at least one Laboratory Observation under the Specimen Act of each Laboratory Data Processing Entry (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
entrr.observation->exists(obs : POCDMT000040Observation |
obs.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.6')
)
or
entrr.organizer->exists(org : POCDMT000040Organizer |
org.component->exists(comp : POCDMT000040Component4 |
comp.observation->exists(obs : POCDMT000040Observation |
obs.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.6')
)
)
)
)
ERROR
constraint_labObservation2
The Laboratory Observation SHALL record a single laboratory observation in the document, either standalone or as part of a battery (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.organizer->forAll(org : POCDMT000040Organizer |
org.component->select(comp : POCDMT000040Component4 |
comp.observation->exists(obs : POCDMT000040Observation |
obs.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.6')
)
)->size()=0 or org.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.4' )
)
)
ERROR
constraint_multimedia1
The embedded content SHALL be B64 encoded (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.11)
self.observationMedia.oclIsUndefined() or
self.observationMedia.value.oclIsUndefined() or
(
(not self.observationMedia.value.representation.oclIsUndefined()) and
self.observationMedia.value.representation=BinaryDataEncoding::B64
)
ERROR
constraint_multimedia2
XDLAB supports only small images in gif, jpeg, png or bmp format (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.11)
self.observationMedia.oclIsUndefined() or
self.observationMedia.value.oclIsUndefined() or
(
(not self.observationMedia.value.mediaType.oclIsUndefined()) and
(
self.observationMedia.value.mediaType='image/gif' or
self.observationMedia.value.mediaType='image/jpeg' or
self.observationMedia.value.mediaType='image/png' or
self.observationMedia.value.mediaType='image/bmp'
)
)
ERROR
constraint_specimenCollection_requiredIfKnown
specimen collection if required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.11)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.procedure.oclIsUndefined()) and
entrr.procedure.templateId->exists( ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.2')
)
WARNING
constraint_notificationOrganizer_requiredIfKnown
Notification Organizer template in an entry of the CDA body required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, table 2.3.1-1)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.organizer.oclIsUndefined()) and
entrr.organizer.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1' )
)
ERROR
constraint_labIsolateOrg_requiredIfKnown
Laboratory Isolate Organizer template in an entry of the CDA body required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, table 2.3.1-1)
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.organizer.oclIsUndefined()) and
entrr.organizer.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.5' )
)
ERROR
constraint_labBatteryOrg_requiredIfKnown
Laboratory Battery Organizer template in an entry of the CDA body required if known
(not self.act.oclIsUndefined()) and self.act.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.organizer.oclIsUndefined()) and
entrr.organizer.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.4' )
)
ERROR
NonHumanSubject
TemplateSpec
NonHumanSubject
1.3.6.1.4.1.19376.1.3.3.1.2.1
cda-POCDMT000040Subject
constraint_templateId
templateId is unique and valued to 1.3.6.1.4.1.19376.1.3.3.1.2.1 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.3, Table 2.3.5.3-1)
(not self.templateId->isEmpty()) and self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' )
ERROR
constraint_relatedSubject
subject/relatedSubject required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.3, Table 2.3.5.3-1)
(not self.relatedSubject.oclIsUndefined())
ERROR
constraint_code
subject/relatedSubject/code is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.3, Table 2.3.5.3-1)
(not self.relatedSubject.oclIsUndefined()) and (not self.relatedSubject.code.oclIsUndefined()) and (not self.relatedSubject.code.code.oclIsUndefined())
ERROR
constraint_addr
subject/relatedSubject/addr is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.3, Table 2.3.5.3-1)
(not self.relatedSubject.oclIsUndefined()) and (self.relatedSubject.addr->size()=1)
ERROR
NonHumanWithHumanSubject
TemplateSpec
NonHumanWithHumanSubject
1.3.6.1.4.1.19376.1.3.3.1.3.1
cda-POCDMT000040Subject
constraint_templateId
templateId required, unique and valued to 1.3.6.1.4.1.19376.1.3.3.1.3.1 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.4, Table 2.3.5.4-1)
(self.templateId->size()=1) and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.3.1.3.1' )
ERROR
constraint_relatedSubject
subject/relatedSubject required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.4, Table 2.3.5.4-1)
not self.relatedSubject.oclIsUndefined()
ERROR
constraint_code
subject/relatedSubject/code required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.4, Table 2.3.5.4-1)
(not self.relatedSubject.oclIsUndefined()) and (not self.relatedSubject.code.oclIsUndefined()) and (not self.relatedSubject.code.code.oclIsUndefined())
ERROR
constraint_addr
subject/relatedSubject/addr is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.4, Table 2.3.5.4-1)
(not self.relatedSubject.oclIsUndefined()) and (self.relatedSubject.addr->size()=1)
ERROR
SpecimenCollection
TemplateSpec
SpecimenCollection
1.3.6.1.4.1.19376.1.3.1.2
cdalab-POCDMT000040Procedure
constraint_classCode
procedure@classCode fixed to PROC for specimen collection (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(not self.classCode.oclIsUndefined()) and self.classCode=ActClass::PROC
ERROR
constraint_moodCode
procedure@moodCode fixed to EVN for specimen collection IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentProcedureMood::EVN
ERROR
constraint_templateId
templateId is unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.templateId->size()=1
ERROR
constraint_code
if present, procedure/code@code fixed to 33882-2 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.code.oclIsUndefined() or (
(not self.code.code.oclIsUndefined()) and
self.code.code='33882-2'
)
ERROR
constraint_effectiveTime
effectiveTime required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(not self.effectiveTime.oclIsUndefined())
ERROR
constraint_targetSiteCode
procedure specimen collection can not have more than one targetSiteCode (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.targetSiteCode->size()<2
ERROR
constraint_performer
procedure specimen collection can not have more than one performer (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.performer->size()<2
ERROR
constraint_participant
specimen collection shall have only one participant with a typeCode=PRD (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.participant->size()=1 and
self.participant->forAll(part : POCDMT000040Participant2 |
(not part.typeCode.oclIsUndefined()) and part.typeCode=ParticipationType::PRD
)
ERROR
constraint_participantRole
specimen collection shall have only one participantRole with classCode=SPEC (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(self.participant->size()=1) and self.participant->forAll(part : POCDMT000040Participant2 |
(not part.participantRole.oclIsUndefined()) and (not part.participantRole.classCode.oclIsUndefined()) and part.participantRole.classCode=RoleClassRoot::SPEC
)
ERROR
constraint_participantRole_id
participantRole id is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(self.participant->size()=1) and self.participant->forAll(part : POCDMT000040Participant2 |
(not part.participantRole.oclIsUndefined()) and (not part.participantRole.id->isEmpty()) and
part.participantRole.id->exists(ii: II | (not ii.root.oclIsUndefined()) )
)
ERROR
constraint_playingEntity_code
procedure/participantRole/playingEntity/code required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
(self.participant->size()=1) and self.participant->forAll(part : POCDMT000040Participant2 |
(not part.participantRole.oclIsUndefined()) and
(not part.participantRole.oclIsUndefined()) and
(not part.participantRole.playingEntity.oclIsUndefined()) and
(not part.participantRole.playingEntity.code.oclIsUndefined()) and
(not part.participantRole.playingEntity.code.code.oclIsUndefined())
)
ERROR
constraint_entryRelationship_card
collection specimen can have less than one value of procedure/entryRelationship/act (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.entryRelationship->size()<2
ERROR
constraint_specimen_received_typeCode
if act contains a specimen received, it must have entryRelationShip/typeCode=COMP (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
self.entryRelationship->select(entrr : POCDMT000040EntryRelationship |
(not entrr.act.oclIsUndefined()) and
entrr.act.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.3' )
)->forAll(entrr : POCDMT000040EntryRelationship |
(not entrr.typeCode.oclIsUndefined()) and entrr.typeCode=XActRelationshipEntryRelationship::COMP
)
ERROR
constraint_specimenReceived_requiredIfKnown
Specimen Received template in an entry of the CDA body is required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.1, Table 2.3.1-1)
self.entryRelationship->exists(entrr : POCDMT000040EntryRelationship |
(not entrr.act.oclIsUndefined()) and
entrr.act.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.3')
)
WARNING
ActSpec
ConstraintsSpec
ActSpec
cdalab-POCDMT000040Act
constraint_specimenCollection
the entryRelationship of act if the act containts a specimen collection must be equal to COMP (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.5, Table 2.3.5.5-1)
self.entryRelationship->select(entrr : POCDMT000040EntryRelationship |
(not entrr.procedure.oclIsUndefined()) and
entrr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.2' )
)->forAll(entrr : POCDMT000040EntryRelationship |
(not entrr.typeCode.oclIsUndefined()) and entrr.typeCode=XActRelationshipEntryRelationship::COMP
)
ERROR
SpecimenReceivedAct
TemplateSpec
SpecimenReceivedAct
1.3.6.1.4.1.19376.1.3.1.3
cdalab-POCDMT000040Act
constraint_classCode
act@classCode shall be ACT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryAct::ACT
ERROR
constraint_moodCode
act@moodCode shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentActMood::EVN
ERROR
constraint_templateId
templateId is unique and required and shall be 1.3.6.1.4.1.19376.1.3.1.3 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.3')
ERROR
constraint_code
code is required and unique and must be code=SPRECEIVE, codeSystem=1.3.5.1.4.1.19376.1.5.3.2 and codeSystemName=IHEActCode (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
(not self.code.oclIsUndefined()) and
(not self.code.code.oclIsUndefined()) and self.code.code='SPRECEIVE' and
(not self.code.codeSystem.oclIsUndefined()) and self.code.codeSystem='1.3.5.1.4.1.19376.1.5.3.2' and
(not self.code.codeSystemName.oclIsUndefined()) and self.code.codeSystemName='IHEActCode'
ERROR
constraint_effectiveTime
effectiveTime is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.6, Table 2.3.5.6-1)
(not self.effectiveTime.oclIsUndefined())
ERROR
NotificationOrganizer
TemplateSpec
NotificationOrganizer
1.3.6.1.4.1.19376.1.3.1.1
cdalab-POCDMT000040Organizer
constraint_classCode
classCode must be CLUSTER (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
constraint_moodCode
moodCode shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=ActMood::EVN
ERROR
constraint_templateId
templateId is required and unique, root=1.3.6.1.4.1.19376.1.3.1.1 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1' )
ERROR
constraint_statusCode
statusCode is required and unique, values supported are completed and nullify (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='nullify')
ERROR
constraint_component1
organizer must have at least one component (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
self.component->size()>0
ERROR
constraint_component2
organizer/component contains one or more of the following Notifications: Notifiable Condition, Case Identification, Outbreak Identification (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7, Table 2.3.5.7-1)
self.component->forAll(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined()) and
comp.observation.templateId->exists(ii : II |
(not ii.root.oclIsUndefined()) and
(
ii.root='1.3.6.1.4.1.19376.1.3.1.1.1' or
ii.root='1.3.6.1.4.1.19376.1.3.1.1.2' or
ii.root='1.3.6.1.4.1.19376.1.3.1.1.3'
)
)
)
ERROR
constraint_notifialbeCondition_requiredIfKnown
Notifiable Condition template in an entry of the CDA body is required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3..1, Table 2.3.1-1)
self.component->exists(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined()) and
comp.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.1')
)
WARNING
constraint_caseIdentifier_requiredIfKnown
Case Identifier template in an entry of the CDA body (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3..1, Table 2.3.1-1)
self.component->exists(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined()) and
comp.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.2')
)
WARNING
constraint_OutbreakIdentifier_requiredIfKnown
Outbreak Identifier template in an entry of the CDA body required if known (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3..1, Table 2.3.1-1)
self.component->exists(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined()) and
comp.observation.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.3')
)
WARNING
NotifiableConditionObservation
TemplateSpec
NotifiableConditionObservation
1.3.6.1.4.1.19376.1.3.1.1.1
cdalab-POCDMT000040Observation
constraint_classCode
observation@classCode required and shall be COND (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.classCode.oclIsUndefined()) and self.classCode=ActClassObservation::COND
ERROR
constraint_moodCode
observation@moodCode requred and shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
ERROR
constraint_templateId
templateId required, unique and templateId@root=1.3.6.1.4.1.19376.1.3.1.1.1 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.1')
ERROR
constraint_code
observation/code is required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
not self.code.oclIsUndefined()
ERROR
constraint_code_qualifier
observation/code/qualifier is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.code.oclIsUndefined()) and self.code.qualifier->size()=1
ERROR
constraint_code_qualifier_name
code/qualifier/name required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.code.oclIsUndefined()) and self.code.qualifier->size()=1 and
self.code.qualifier->forAll(qq : CR | (not qq.name.oclIsUndefined()))
ERROR
constraint_code_qualifier_value
code/qualifier/value required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.code.oclIsUndefined()) and self.code.qualifier->size()=1 and
self.code.qualifier->forAll(qq : CR | (not qq.value.oclIsUndefined()))
ERROR
constraint_statusCode
observation/statusCode required and statusCode@code=completed or aborded (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='aborted' )
ERROR
constraint_value
observation/value required, unique and SHALL use the type CE (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.1, Table 2.3.5.7.1-1)
self.value->size()=1 and self.value->forAll(val : ANY | val.oclIsKindOf(CE))
ERROR
CaseIdentificationObservation
TemplateSpec
CaseIdentificationObservation
1.3.6.1.4.1.19376.1.3.1.1.2
cdalab-POCDMT000040Observation
constraint_classCode
classCode required and shall be CASE (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
(not self.classCode.oclIsUndefined()) and self.classCode=ActClassObservation::CASE
ERROR
constraint_moodCode
moodCode required and shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
ERROR
constraint_templateId
templateId required and unique, and its root=1.3.6.1.4.1.19376.1.3.1.1.2 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.2' )
ERROR
constraint_code
code required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
(not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined())
ERROR
constraint_statusCode
statusCode required and unique, and statusCode@code=completed or aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and ( self.statusCode.code='completed' or self.statusCode.code='aborted')
ERROR
constraint_value
value is required, unique and must be of type CE (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.2, Table 2.3.5.7.2-1)
self.value->size()=1 and self.value->forAll(val : ANY | val.oclIsKindOf(CE))
ERROR
OutBreakIdentificationObservation
TemplateSpec
OutBreakIdentificationObservation
1.3.6.1.4.1.19376.1.3.1.1.3
cdalab-POCDMT000040Observation
constraint_classCode
observation@classCode required and shall be OUTB (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
(not self.classCode.oclIsUndefined()) and self.classCode=ActClassObservation::OUTB
ERROR
constraint_moodCode
moodCode required and shall have EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
ERROR
constraint_templateId
templateId unique and required and root=1.3.6.1.4.1.19376.1.3.1.1.3 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.1.3')
ERROR
constraint_code
code is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
(not self.code.oclIsUndefined()) and (not self.code.code.oclIsUndefined())
ERROR
constraint_statusCode
statusCode required and unique, and its attribute code shall be completed or aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='aborted')
ERROR
constraint_value
value is required and unique and must be type as CE (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.7.3, Table 2.3.5.7.3-1)
self.value->size()=1 and self.value->forAll(val : ANY | val.oclIsKindOf(CE))
ERROR
LabIsolateOrganizer
TemplateSpec
LabIsolateOrganizer
1.3.6.1.4.1.19376.1.3.1.5
cdalab-POCDMT000040Organizer
constraint_classCode
organizer@classCode requred and must be CLUSTER (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::CLUSTER
ERROR
constraint_moodCode
organizer@moodCode shall be EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=ActMood::EVN
ERROR
constraint_id
organizer can have at most one id (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.id->size()<2
ERROR
constraint_statusCode
statusCode is required and unique, and its attribute code shall be completed, active, or aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='active' or self.statusCode.code='aborted')
ERROR
constraint_subject1
if subject present, it shall be with attribute typeCode=SBJ (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.subject.oclIsUndefined() or
(
(not self.subject.typeCode.oclIsUndefined()) and
self.subject.typeCode=ParticipationTargetSubject::SBJ
)
ERROR
constraint_subject2
organizer/subject can be present only if a non human subject attached to the isolate (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.subject.oclIsUndefined() or
self.subject.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and (ii.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' or ii.root='1.3.6.1.4.1.19376.1.3.3.1.3.1') )
ERROR
constraint_specimen
organizer/specimen is required and unique, and its typeCode shall be SBJ (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.specimen->size()= 1 and self.specimen->forAll(spec : POCDMT000040Specimen | (not spec.typeCode.oclIsUndefined()) and spec.typeCode=ParticipationType::SPC )
ERROR
constraint_specimenRole
speciment/specimentRole is required and unique, its classCode attribute shall be SPEC (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.specimen->size()=1 and
self.specimen->forAll(spec : POCDMT000040Specimen |
(not spec.specimenRole.oclIsUndefined()) and
(not spec.specimenRole.classCode.oclIsUndefined()) and
spec.specimenRole.classCode=RoleClassSpecimen::SPEC
)
ERROR
constraint_specimenRole_id
specimentRole can have at most one id (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.specimen->size()=1 and
self.specimen->forAll(spec : POCDMT000040Specimen |
(spec.specimenRole.oclIsUndefined()) or
spec.specimenRole.id->size()<2
)
ERROR
constraint_specimenPlayingEntity
specimen/specimentRole/specimenPlayingEntity is required and unique, and its attribute classCode shall be MIC (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.specimen->size()=1 and
self.specimen->forAll(spec : POCDMT000040Specimen |
(not spec.specimenRole.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.classCode.oclIsUndefined()) and
spec.specimenRole.specimenPlayingEntity.classCode=EntityClassRoot::MIC
)
ERROR
constraint_specimenPlayingEntity_code
specimen/specimentRole/specimenPlayingEntity/code is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.specimen->size()=1 and
self.specimen->forAll(spec : POCDMT000040Specimen |
(not spec.specimenRole.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.code.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.code.code.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.code.codeSystem.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.code.codeSystemName.oclIsUndefined()) and
(not spec.specimenRole.specimenPlayingEntity.code.displayName.oclIsUndefined())
)
ERROR
constraint_performer
if performer present, its typeCode is required and its typeCode shall be PRF (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.performer->isEmpty() or self.performer->forAll(perf : POCDMT000040Performer2 |
(not perf.typeCode.oclIsUndefined()) and
perf.typeCode=ParticipationPhysicalPerformer::PRF
)
ERROR
constraint_author
organizer/author if presents shall have the attribute typeCode qith the value AUT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.author->isEmpty() or self.author->forAll(aut : POCDMT000040Author | (not aut.typeCode.oclIsUndefined()) and aut.typeCode=ParticipationType::AUT )
ERROR
constraint_participant
organizer/participant if present shall have the typeCode attribute valued to AUTHEN, or RESP, or DEV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.participant->forAll(part : POCDMT000040Participant2 |
(not part.typeCode.oclIsUndefined()) and
(
part.typeCode=ParticipationType::AUTHEN or
part.typeCode=ParticipationType::RESP or
part.typeCode=ParticipationType::DEV
)
)
ERROR
constraint_component1
organizer shall have at least one component, and all component shall have typeCode=COMP (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.component->size()>0 and
self.component->forAll(comp : POCDMT000040Component4 |
(not comp.typeCode.oclIsUndefined()) and
comp.typeCode=ActRelationshipHasComponent::COMP
)
ERROR
constraint_component2
component can have any number of observations, battery organizers and multimedia (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.8, Table 2.3.5.8-1)
self.component->forAll(comp : POCDMT000040Component4 |
comp.organizer.oclIsUndefined() or
comp.organizer.classCode=XActClassDocumentEntryOrganizer::BATTERY
)
ERROR
LabBatteryOrganizer
TemplateSpec
LabBatteryOrganizer
1.3.6.1.4.1.19376.1.3.1.4
cdalab-POCDMT000040Organizer
constraint_classCode
classCode mandatory and fixed to BATTERY (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryOrganizer::BATTERY
ERROR
constraint_moodCode
moodCode mandatory and fixed to EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=ActMood::EVN
ERROR
constraint_templateId
templateId is required and unique, and has attribute root=1.3.6.1.4.1.19376.1.3.1.4 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.4')
ERROR
constraint_id
organizer can have at most one id (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.id->size()<2
ERROR
constraint_statusCode
statusCode required and its code attribute shall be completed or aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='aborted')
ERROR
constraint_subject1
organizer/subject if present shall have typeCode equal to SBJ (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.subject.oclIsUndefined() or ((not self.subject.typeCode.oclIsUndefined()) and self.subject.typeCode=ParticipationTargetSubject::SBJ)
ERROR
constraint_subject2
organizer/subject can be present only if a non human subject attached to the isolate (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.subject.oclIsUndefined() or
self.subject.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and (ii.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' or ii.root='1.3.6.1.4.1.19376.1.3.3.1.3.1') )
ERROR
constraint_performer
if performer present, its typeCode is required and its typeCode shall be PRF (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.performer->isEmpty() or self.performer->forAll(perf : POCDMT000040Performer2 |
(not perf.typeCode.oclIsUndefined()) and
perf.typeCode=ParticipationPhysicalPerformer::PRF
)
ERROR
constraint_author
organizer/author if presents shall have the attribute typeCode qith the value AUT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.author->isEmpty() or self.author->forAll(aut : POCDMT000040Author | (not aut.typeCode.oclIsUndefined()) and aut.typeCode=ParticipationType::AUT )
ERROR
constraint_participant
organizer/participant if present shall have the typeCode attribute valued to AUTHEN, or RESP, or DEV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.participant->forAll(part : POCDMT000040Participant2 |
(not part.typeCode.oclIsUndefined()) and
(
part.typeCode=ParticipationType::AUTHEN or
part.typeCode=ParticipationType::RESP or
part.typeCode=ParticipationType::DEV
)
)
ERROR
constraint_component1
organizer shall have at least one component, and all component shall have typeCode=COMP (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.component->size()>0 and
self.component->forAll(comp : POCDMT000040Component4 |
(not comp.typeCode.oclIsUndefined()) and
comp.typeCode=ActRelationshipHasComponent::COMP
)
ERROR
constraint_component2
organizer/component can have any number of observations and or multimedia (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Table 2.3.5.9-1)
self.component->forAll(comp : POCDMT000040Component4 |
comp.organizer->size()=0
)
ERROR
constraint_component3
organizer/component shall have at least one observation, or its statusCode must be aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.9, Note 3)
self.component->exists(comp : POCDMT000040Component4 |
(not comp.observation.oclIsUndefined())
)
or
(
(not self.statusCode.oclIsUndefined()) and
(not self.statusCode.code.oclIsUndefined()) and
self.statusCode.code='aborted'
)
ERROR
LaboratoryObservation
TemplateSpec
LaboratoryObservation
1.3.6.1.4.1.19376.1.3.1.6
cdalab-POCDMT000040Observation
constraint_classCode
classCode mandatory and fixed to OBS (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
(not self.classCode.oclIsUndefined()) and self.classCode=ActClassObservation::OBS
ERROR
constraint_moodCode
moodCode mandatory and fixed to EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XActMoodDocumentObservation::EVN
ERROR
constraint_templateId
templateId required, unique and fixed to 1.3.6.1.4.1.19376.1.3.1.6 (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.templateId->size()=1 and self.templateId->forAll(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.6' )
ERROR
constraint_id
observation/id can have at mos one value (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.id->size()<2
ERROR
constraint_code
code is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
not self.code.oclIsUndefined()
ERROR
constraint_statusCode
statusCode required and its code attribute shall be completed or aborted (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and (self.statusCode.code='completed' or self.statusCode.code='aborted')
ERROR
constraint_value1
observation can have at most one value (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.value->size()<2
ERROR
constraint_value2
observation/value has type PQ (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.value->forAll(val : ANY | val.oclIsTypeOf(PQ))
ERROR
constraint_interpretationCode1
observation can have at most one interpretationCode (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.interpretationCode->size()<2
ERROR
constraint_interpretationCode2
interpretationCodemust be from ObservationInterpretation vocabulary or ObservationInterpretationSusceptibility Microbiology vocabulary (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.interpretationCode->forAll(inter : CE |
inter.machesValueSet('1.3.6.1.4.1.12559.11.4.4.2', inter.code, inter.codeSystem, inter.codeSystemName, inter.displayName) or
inter.machesValueSet('1.3.6.1.4.1.12559.11.4.4.3', inter.code, inter.codeSystem, inter.codeSystemName, inter.displayName)
)
ERROR
constraint_methodCode1
observation can have at most one methodCode (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.methodCode->size()<2
ERROR
constraint_methodCode2
methodCode must be expressed with ObservationMethod vocabulary (CWE) (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.methodCode->forAll(mc : CE| (mc.codeSystem.oclIsUndefined()) or mc.codeSystem='2.16.840.1.113883.5.84')
ERROR
constraint_subject1
if present, subject must have the typeCode=SBJ (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.subject.oclIsUndefined() or ( (not self.subject.typeCode.oclIsUndefined()) and self.subject.typeCode=ParticipationTargetSubject::SBJ )
ERROR
constraint_subject2
subject can be present only if a non human subject is attached to the observation (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.subject.oclIsUndefined() or
self.subject.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and (ii.root='1.3.6.1.4.1.19376.1.3.3.1.2.1' or ii.root='1.3.6.1.4.1.19376.1.3.3.1.3.1') )
ERROR
constraint_performer
if present, performer must have typeCode=PRF (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.performer->forAll(perf : POCDMT000040Performer2 |
(not perf.typeCode.oclIsUndefined()) and perf.typeCode=ParticipationPhysicalPerformer::PRF
)
ERROR
constraint_author
if author present, it must have typeCode=AUT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.author->forAll(auth : POCDMT000040Author | (not auth.typeCode.oclIsUndefined()) and auth.typeCode=ParticipationType::AUT)
ERROR
constraint_participant
participants if present shall have typeCode equals to AUTHEN, or RESP, or DEV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.participant->forAll(part : POCDMT000040Participant2 |
(not part.typeCode.oclIsUndefined()) and
(part.typeCode=ParticipationType::AUTHEN or part.typeCode=ParticipationType::RESP or part.typeCode=ParticipationType::DEV)
)
ERROR
constraint_entryRelationship
observation/entryRelationship shall be specimen collection, or annotation comment (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
(
(not entrr.procedure.oclIsUndefined()) and
entrr.procedure.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.3.1.2')
)
or
(
(not entrr.act.oclIsUndefined()) and
entrr.act.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.5.3.1.4.2')
)
)
ERROR
constraint_previousObs1
if entryRelationship@typeCode=REFR, entryRelationship/observation is required, and entryRelationship/observation@classCode=OBS, entryRelationship/observation@moodCode=EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.typeCode.oclIsUndefined() or
(not (entrr.typeCode=XActRelationshipEntryRelationship::REFR)) or
(
(not entrr.observation.oclIsUndefined()) and
(not entrr.observation.classCode.oclIsUndefined()) and
entrr.observation.classCode=ActClassObservation::OBS and
(not entrr.observation.moodCode.oclIsUndefined()) and
entrr.observation.moodCode=XActMoodDocumentObservation::EVN
)
)
ERROR
constraint_previousObs2
if entryRelationship@typeCode=REFR, entryRelationship/observation/code is required, and have the same test code (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.typeCode.oclIsUndefined() or
(not (entrr.typeCode=XActRelationshipEntryRelationship::REFR)) or
(
(not entrr.observation.oclIsUndefined()) and
(not entrr.observation.code.oclIsUndefined()) and
(not entrr.observation.code.code.oclIsUndefined()) and
(not self.code.oclIsUndefined()) and
(not self.code.code.oclIsUndefined()) and
entrr.observation.code.code=self.code.code
)
)
ERROR
constraint_previousObs3
if entryRelationship@typeCode=REFR, entryRelationship/observation/statusCode is required, and have the value completed (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.typeCode.oclIsUndefined() or
(not (entrr.typeCode=XActRelationshipEntryRelationship::REFR)) or
(
(not entrr.observation.oclIsUndefined()) and
(not entrr.observation.statusCode.oclIsUndefined()) and
(not entrr.observation.statusCode.code.oclIsUndefined()) and
entrr.observation.statusCode.code='completed'
)
)
ERROR
constraint_previousObs4
if entryRelationship@typeCode=REFR, entryRelationship/observation/effectiveTime required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.typeCode.oclIsUndefined() or
(not (entrr.typeCode=XActRelationshipEntryRelationship::REFR)) or
(
(not entrr.observation.oclIsUndefined()) and
(not entrr.observation.effectiveTime.oclIsUndefined())
)
)
ERROR
constraint_previousObs5
if entryRelationship@typeCode=REFR, entryRelationship/observation/value is required and unique (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
entrr.typeCode.oclIsUndefined() or
(not (entrr.typeCode=XActRelationshipEntryRelationship::REFR)) or
(
(not entrr.observation.oclIsUndefined()) and
entrr.observation.value->size()=1
)
)
ERROR
constraint_referenceRange1
if observation/referenceRange is present, its typeCode shall be REFV (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
(not rr.typeCode.oclIsUndefined()) and
rr.typeCode=ActRelationshipType::REFV
)
ERROR
constraint_referenceRange2
observation can have at most one referenceRange (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->size()<2
ERROR
constraint_referenceRange3
if observation/referenceRange presents, observationRange is required (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange | (not rr.observationRange.oclIsUndefined()))
ERROR
constraint_referenceRange4
if observation/referenceRange presents, observationRange shall have classCode=OBS (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
(not rr.observationRange.oclIsUndefined()) and
(not rr.observationRange.classCode.oclIsUndefined()) and
rr.observationRange.classCode=ActClassObservation::OBS
)
ERROR
constraint_referenceRange5
if observation/referenceRange presents, observationRange shall have moodCode=EVN.CRT (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
(not rr.observationRange.oclIsUndefined()) and
(not rr.observationRange.moodCode.oclIsUndefined()) and
rr.observationRange.moodCode=ActMood::EVNCRT
)
ERROR
constraint_referenceRange6
if observation/referenceRange presents, observationRange can have a value, and its type is an interval IVL (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
(not rr.observationRange.oclIsUndefined()) and
(
rr.observationRange.value.oclIsUndefined() or
rr.observationRange.value.oclIsKindOf(PIVLTS) or
rr.observationRange.value.oclIsKindOf(EIVLTS) or
rr.observationRange.value.oclIsKindOf(IVLPQ) or
rr.observationRange.value.oclIsKindOf(PIVLPPDTS) or
rr.observationRange.value.oclIsKindOf(EIVLPPDTS) or
rr.observationRange.value.oclIsKindOf(IVLPPDPQ) or
rr.observationRange.value.oclIsKindOf(IVLINT) or
rr.observationRange.value.oclIsKindOf(IVLREAL) or
rr.observationRange.value.oclIsKindOf(IVLMO) or
rr.observationRange.value.oclIsKindOf(BXITIVLPQ)
)
)
ERROR
constraint_referenceRange7
if observation/referenceRange presents, observationRangeshall have an interpretationCode with interpretationCode@code=N (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
(not rr.observationRange.oclIsUndefined()) and
(not rr.observationRange.interpretationCode.oclIsUndefined()) and
(not rr.observationRange.interpretationCode.code.oclIsUndefined()) and
rr.observationRange.interpretationCode.code='N'
)
ERROR
constraint_entryRelationShip2
In case there is more than one previous result, the entryRelationship elements are numbered from 1 to n by sequenceNumber. (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.entryRelationship->size()<2 or
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship | (not entrr.sequenceNumber.oclIsUndefined()) and (not entrr.sequenceNumber.value.oclIsUndefined())) and
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
self.entryRelationship->one(entrr2 : POCDMT000040EntryRelationship | entrr2.sequenceNumber.value=entrr.sequenceNumber.value)
) and
self.entryRelationship->forAll(entrr : POCDMT000040EntryRelationship |
self.entryRelationship->select(entrr2 : POCDMT000040EntryRelationship | entrr2.sequenceNumber.value<entrr.sequenceNumber.value)->size()=(entrr.sequenceNumber.value-1)
)
ERROR
constraint_precondition1
if observation/referenceRange/preCondition present, its typeCode shall be PRCN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
rr.precondition->forAll(lpre :LabPrecondition |
(not lpre.typeCode.oclIsUndefined()) and
lpre.typeCode=ActRelationshipType::PRCN
)
)
ERROR
constraint_precondition2
if observation/referenceRange/preCondition present, precondition/criterion is required and shall have classCode=COND and moodCode=EVN (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
rr.precondition->forAll(lp :LabPrecondition |
(not lp.criterion.oclIsUndefined()) and
(not lp.criterion.classCode.oclIsUndefined()) and
(not lp.criterion.moodCode.oclIsUndefined()) and
lp.criterion.classCode=ActClassObservation::COND and
lp.criterion.moodCode=ActMood::EVN
)
)
ERROR
constraint_precondition3
if observation/referenceRange/preCondition present, criterion/code shall be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
rr.precondition->forAll(lp :LabPrecondition |
(not lp.criterion.oclIsUndefined()) and
(not lp.criterion.code.oclIsUndefined())
)
)
ERROR
constraint_precondition4
if observation/referenceRange/preCondition present, criterion/valion shall be present (IHE Laboratory Technical Framework, Volume 3 (LAB TF-3) 2.3.5.10, Table 2.3.5.10-1)
self.referenceRange->forAll(rr : LabReferenceRange |
rr.precondition->forAll(lp :LabPrecondition |
(not lp.criterion.oclIsUndefined()) and
(not lp.criterion.value.oclIsUndefined())
)
)
ERROR
AnnotationComment
TemplateSpec
AnnotationComment
1.3.6.1.4.1.19376.1.5.3.1.4.2
cdalab-POCDMT000040Act
constraint_moodCode
The related statement is an event (moodCode=EVN) (PCC TF-2 6.3.4.6)
(not self.moodCode.oclIsUndefined()) and self.moodCode=XDocumentActMood::EVN
ERROR
constraint_classCode
The related statement describe an act (classCode=ACT) of making an arbitrary comment or providing instruction on the related entry (PCC TF-2 6.3.4.6)
(not self.classCode.oclIsUndefined()) and self.classCode=XActClassDocumentEntryAct::ACT
ERROR
constraint_templateId
templateId that identify this <act> as a comment are (2.16.840.1.113883.10.20.1.40, 1.3.6.1.4.1.19376.1.5.3.1.4.2) (PCC TF-2 6.3.4.6)
self.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='2.16.840.1.113883.10.20.1.40') and
self.templateId->exists(ii : II | (not ii.root.oclIsUndefined()) and ii.root='1.3.6.1.4.1.19376.1.5.3.1.4.2')
ERROR
constraint_code
code is required, and code@code=48767-8 and codeSystem=2.16.840.1.113883.6.1 (PCC TF-2 6.3.4.6)
(not self.code.oclIsUndefined()) and
(not self.code.code.oclIsUndefined()) and
(not self.code.codeSystem.oclIsUndefined()) and
self.code.code='48767-8' and
self.code.codeSystem='2.16.840.1.113883.6.1'
ERROR
constraint_text
act/text/reference shall be present (PCC TF-2 6.3.4.6)
(not self.text.oclIsUndefined()) and (not self.text.reference.oclIsUndefined()) and (not self.text.reference.value.oclIsUndefined())
ERROR
constraint_statusCode
The code attribute of <statusCode> for all comments must be completed (PCC TF-2 6.3.4.6)
(not self.statusCode.oclIsUndefined()) and (not self.statusCode.code.oclIsUndefined()) and self.statusCode.code='completed'
ERROR
constraint_author1
The comment may have an author (PCC TF-2 6.3.4.6)
self.author->size()>0
INFO
constraint_time
The time of the comment creation shall be recorded in the <time> element when the <author> element is present (PCC TF-2 6.3.4.6)
self.author->size()=0 or (not self.effectiveTime.oclIsUndefined())
ERROR
constraint_author2
The identifier of the author, and their address and telephone number must be present inside the <id>, <addr> and <telecom> elements when the <author> element is present (PCC TF-2 6.3.4.6)
self.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
auth.assignedAuthor.id->size()>0 and
auth.assignedAuthor.addr->size()>0 and
auth.assignedAuthor.telecom->size()>0
)
ERROR
constraint_author3
The author's and/or the organization's name must be present when the <author> element is present. (PCC TF-2 6.3.4.6)
self.author->forAll(auth : POCDMT000040Author |
(not auth.assignedAuthor.oclIsUndefined()) and
((not auth.assignedAuthor.assignedPerson.oclIsUndefined()) and (not auth.assignedAuthor.assignedPerson.name->isEmpty())) or
( (not auth.assignedAuthor.representedOrganization.oclIsUndefined()) and (not auth.assignedAuthor.representedOrganization.name->isEmpty()) )
)
ERROR