Value of 'ram:SubjectCode' is not allowed.
The value of ram:SubjectCode is not empty and does not match a value in its associated code list. This specific check also accepts an empty value.
The subject code classifies the note using a defined code list. Under this rule, a value that is not listed cannot be assigned to a valid category.
The value entered in ram:SubjectCode is not included in the code list checked for this field. You can check it against the allowed entries and adjust it.
- Locate the affected
ram:SubjectCodein the note. - Check whether its value is included in the code list applicable to this element.
- Generate the invoice again and validate it once more.
Technical details
The XPath test accepts an empty code or a value present in the code list identified by 5.
The rule applies to ram:SubjectCode within a note in the document header.
rule/@context)assert/@test)