I want to create a Media resource in my Azure FHIR, I follow the standard definition on https://www.hl7.org/fhir/media.html (In summary, there are only 2 mandatory fields: status and Content) but It did not work!.
I try the simplest possible example: { "resourceType": "Media", "id": "", "status": "unknown", "content": { "id": "a1", "contentType": "audio/mpeg", "data": "" } }
But Server shows an error: "Type checking the data: Encountered unknown element 'status' at location 'Resource.status[0]' while parsing"
When remove the status field, the server shows a different error: "Element with min. cardinality 1 cannot be null".
Can anybody tell me what is the correct syntax for creating a Media Resource?
Thanks