hl7-be / lab

Creative Commons Zero v1.0 Universal
6 stars 9 forks source link

Timestamp as versionId #325

Open tomdebacker-corilus opened 2 weeks ago

tomdebacker-corilus commented 2 weeks ago

For one of the labs we are testing with, we notice that the versionId they provide in the diagnosticReport is a timestamp

<DiagnosticReport>
<id value="Report-2409137941" />
<meta>
<versionId value="2024091315171535" />
<profile value="https://www.ehealth.fgov.be/standards/fhir/lab/StructureDefinition/be-laboratory-report" />
</meta>

As of now we fail on this versionId because we expect (sequential) integers and not a timestamp. Can a timestamp be used as versionId?

tomdebacker-corilus commented 3 days ago

@bdc-ehealth would it be possible to have a look at this one?

bdc-ehealth commented 3 days ago

@tomdebacker-corilus

Hi Tom, the answer you need is here: https://hl7.org/fhir/R4/resource.html#Meta:~:text=Usage-,versionId,-(0..1) , see the Usage column in particular. I fear the answer is 'yes'.

AlexisVZ-MDS commented 2 days ago

Hello, if this is to be supported, can it be added is a testcase on the testserver ? Or at least, can you provide an example test file here.