An element SHALL have be distinguishable [CDATEMP-002] OCL An element SHALL be from CDA model [CDATEMP-003] OCL true The minimum multiplicity SHALL be bigger or equals to the minimum multiplicity from the CDA model [CDATEMP-004] OCL true The maximum multiplicity SHALL be lower or equals to the maximum multiplicity from the CDA model [CDATEMP-005] OCL true isMandatory element SHALL not be set to false when it is equal to true from the CDA model [CDATEMP-006] OCL true When a datatype is specified it shall be from CDA datatypes [CDATEMP-007] OCL true When a datatype is specified it shall be equal or an extension of the original element datatype [CDATEMP-008] OCL true The maximum multiplicity SHALL be an integer or '*' [HL7TEMP-048] OCL true When <Text> is specified, the <element> SHALL reference a CDA mixed element (i.e. can contain text) [CDATEMP-021] OCL true When <Text> is specified it shall not be empty [HL7TEMP-036] OCL true When an attribute is specified, its name SHALL be detectable [HL7TEMP-002] OCL true When vocabulary is specified, the constrained attribute SHOULD not be a boolean [CDATEMP-011] OCL true In <property>, minInclude SHALL be less or equal to maxInclude [HL7TEMP-037] OCL true In <property>, minInclude SHALL be evaluated to Integer or real [HL7TEMP-049] OCL true In <property>, maxInclude SHALL be evaluated to Integer or real [HL7TEMP-050] OCL true In <property>, minLength SHALL be less or equal to maxLength [HL7TEMP-038] OCL true In <property>, fractionDigits SHALL have the structure (\d+)!? [HL7TEMP-039] OCL true In <property>, currency SHALL be from ISO 4217 [CDATEMP-023] OCL true When a <property> is declared, if it is for unit declaration, the parent element SHALL have a 'unit' attribute [CDATEMP-024] OCL true When a <property> is declared, if it is for a monetary declaration, the parent element SHALL have 'currency' attribute [CDATEMP-025] OCL true When a <property> is declared, if it is for a string length declaration, the parent element SHALL decribe a string (like ST datatype) [CDATEMP-026] OCL true When a <property> is declared, if it is for a value declaration, the parent element SHALL have a 'value' attribute [CDATEMP-027] OCL true When <assert> used, it shall contains only referenced variable to known ones (from <let> defined ones) [HL7TEMP-041] OCL true When <report> used, it shall contains only referenced variable to known ones (from <let> defined ones) [HL7TEMP-043] OCL true When <let> used, it shall not contains circular references to other <let> elements [HL7TEMP-045] OCL null When <choice> is specified and there are the same choice in CDA model, its maximumMultiplicity SHALL not be bigger than the default one from CDA model[CDATEMP-031] OCL true When <choice> is specified and there are the same choice in CDA model, its minimumMultiplicity SHALL not be lower than the default one from CDA model[CDATEMP-032] OCL true When <choice> is specified, it shall contain valid <element> from CDA model [CDATEMP-033] OCL true <valueset> SHALL not be circular when they use <include> element [HL7TEMP-047] OCL true <exception> SHALL contains codes coming from NullFlavor enumeration [CDATEMP-035] OCL true NP value of nullFlavor is not used for exception of value sets [CDATEMP-054] OCL true When a template contains context with path='/', and the template describe a CDA template, it shall be a ClinicalDocument template [CDATEMP-001] OCL true When an attribute is specified, it SHALL be from CDA attributes model for the parent CDA element [CDATEMP-009] OCL true When the datatype of an attribute is set_cs, the max attribute SHALL be * [CDATEMP-010] OCL true If isOptional attribute is specified with the value true, the original CDA attribute SHALL not be mandatory [CDATEMP-012] OCL true When datatype is specified for <attribute> element, it SHALL be a valid CDA datatype [CDATEMP-014] OCL true When datatype is specified for <attribute> element, it SHALL be supported by the CDA attribute [CDATEMP-015] OCL true if isProhibited is specified to true, then the original CDA attribute SHALL NOT be a mandatory element [CDATEMP-016] OCL true When a value is specified in <attribute>, it SHALL reference a valid value [CDATEMP-017] OCL true NP value of nullFlavor is not used for nullFlavor attribute [CDATEMP-053] OCL true When a valueset is specified, and the referenced attribute is an enumeration, the content of the @code SHALL be from the accepted enumeration values[CDATEMP-020] OCL true When act/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-036] OCL true When encounter/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-037] OCL true When observation/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-038] OCL -- constraint for Class L5RuleDefinitionSpec inv : -- insert invariant When procedure/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-039] OCL -- constraint for Class L5RuleDefinitionSpec inv : -- insert invariant When substanceAdministration/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-040] OCL true When supply/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-041] OCL true When consent/statusCode/@code has a value, it SHALL be from the valueSet ActStatus [CDATEMP-042] OCL true When authenticator/signatureCode/@code has a value, it SHALL be from the valueSet ParticipationSignature [CDATEMP-043] OCL true When legalAuthenticator/signatureCode/@code has a value, it SHALL be from the valueSet ParticipationSignature [CDATEMP-044] OCL true When OrganizationPartOf/statusCode/@code has a value, it SHALL be from the valueSet RoleStatus [CDATEMP-045] OCL true In observation/value, CS datatype SHALL NOT be used as datatype [CDATEMP-046] OCL -- constraint for Class L5RuleDefinitionSpec inv : -- insert invariant When observation/interpretationCode/@code has a value, it SHALL be from the valueSet ObservationInterpretation [CDATEMP-047] OCL true The code of RegionOfInterest if present SHALL be from ROIOverlayShape valueSet [CDATEMP-048] OCL true In observationRange/value, CS datatype SHALL NOT be used as datatype [CDATEMP-049] OCL true When observationRange/interpretationCode/@code has a value, it SHALL be from the valueSet ObservationInterpretation [CDATEMP-050] OCL true In criterion/value, CS datatype SHALL NOT be used as datatype [CDATEMP-051] OCL true consent.statusCode SHALL have the value 'completed' (or nothing) [CDATEMP-051] OCL true whe PN/@qualifier has specific values, they SHALL NOT include LS as value [CDATEMP-055] OCL true When a vocabulary is specified, it SHALL have at least a code or a codeSystem or a valueset [HL7TEMP-033] OCL true When a valueset is specified, it SHALL reference to a valid value set [HL7TEMP-034] OCL true The list of CDA templates SHALL not be empty [HL7TEMP-001] OCL true When a valueset is specified, and the referenced attribute is an enumeration, the content of the valueset SHALL be a restriction of the referenced attribute [CDATEMP-019] OCL true When a valueset is specified, and the referenced element is a coded datatype, the content of the code/codeSytem SHALL be in accordance to the <attribute> of the element i.e if there is already an attribute @code with a value, the vocabulary shall have the same thing for codeSystem, also valueSet shall be conformant to the attribute value [HL7TEMP-035 ] OCL true When <include> used, It SHALL not create a circular inclusion of templates [HL7TEMP-046] OCL true An element SHALL have a treatable name (without xpath predicates) [HL7TEMP-051] OCL true