Closed oliveregger closed 3 years ago
Every value that goes into a CDA ID attribute should be checked. For this file,
{
"resource":{
"resourceType":"Binary",
"id":"1",
...
}
}
gives the invalid
<observationMedia ID="1" ... />
CDA IDs must follow the xs:NCName restrictions:
NCName ::= (Letter | '_') (NCNameChar)*
NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
patientRole.id missing -> Patient.identifier system is http based, this is not working with CDA, we need an oid system identifier.
missing id on the representedCustodianOrganization -> Organization.identifier system is http based, this is not working with CDA, we need an oid system identifier.
timingevents occured multiple times, because sequence numbers were not provided for dosage.
CDA Validation: https://ehealthsuisse.ihe-europe.net/EVSClient//detailedResult.seam?type=CDA&oid=1.3.6.1.4.1.12559.11.25.1.13.48407
CH-EMED Validation https://ehealthsuisse.ihe-europe.net/EVSClient//detailedResult.seam?type=FHIR&oid=1.3.6.1.4.1.12559.11.25.1.13.48408 (error due to truncated pdf)
Validation is not converting correctly:
https://ehealthsuisse.ihe-europe.net/EVSClient//detailedResult.seam?type=FHIR&oid=1.3.6.1.4.1.12559.11.25.1.13.47855
https://ehealthsuisse.ihe-europe.net/EVSClient//detailedResult.seam?type=CDA&oid=1.3.6.1.4.1.12559.11.25.1.13.47845