Stream: implementers
Topic: 0..* type if present, can also be in the form of an object?
Saumitra Dobhal (Feb 12 2021 at 09:14):
For DiagnosticReport Resource, "specimen" field is defined as 0..*.
However, in one of the provided examples on the HL7 website it is provided as -
"specimen": {
"reference": "Specimen/urine",
"display": "Urine Sample"
}
Shouldn't this be -
"specimen": [{
"reference": "Specimen/urine",
"display": "Urine Sample"
}]
@Lloyd McKenzie can you please help?
Thanks
Lloyd McKenzie (Feb 12 2021 at 14:12):
Can you post the URL of the example in question?
Saumitra Dobhal (Feb 15 2021 at 05:51):
@Lloyd McKenzie
Example url - https://www.hl7.org/fhir/diagnosticreport-example-ghp.json.html ("specimen" field in the last entry )
Resource url - https://www.hl7.org/fhir/diagnosticreport.html
Thanks!
Jean Duteau (Feb 15 2021 at 07:30):
The last entry in that example Bundle is an Observation and Observation.specimen is 0..1.
"resource": {
"resourceType": "Observation",
...
"specimen": {
"reference": "Specimen/urine",
"display": "Urine Sample"
}
Saumitra Dobhal (Feb 15 2021 at 08:08):
@Jean Duteau
Thanks a lot Jean! I completely missed to check the resource type for that entry :)
Last updated: Apr 12 2022 at 19:14 UTC