Closed DaveSS closed 6 years ago
Do you have an update on this. We just want to verify how the dateTime data type in this context is defined. Is it an HL7 data type? JSON?
The String must be formatted by YYYYMMDDhhmmss±ZZzz.
This is specified by the DK Medcom Timestamp HL7 datatype template
Note: If LPR expects the value of an observation to be a dateTime and it for some reason fails to parse the value, the value is treated as missing (null) for business rule purposes.
@DaveSS
See #164
For the Observation Organizer section, the value of the observation is always sent as a string, but SDS defines different data types for different types of results. For example, an "injury time" is a dateTime while the "Cause of injury" is an SKS code.
Since these are all sent as strings in the CDA, I assume you will be validating the format of the data in the Business Rules. While I know how an SKS code should be represented, I am not sure how the dateTime should be formatted? Is the format for the dateTime string specified someplace?