Hello friends. I am doing some testing and trying to $validate a very simple resource. I am posting it to:
Base URL: https://lforms-fhir.nlm.nih.gov/baseR4
Path: /DeviceMetric/$validate
Here is the resource:
{
“resourceType”:“DeviceMetric”,
“id”:“devicemetric1”,
“text”:{“status”:“generated”,“div”:“<div xmlns="http://www.w3.org/1999/xhtml\”>P measurement"},
“type”:{“coding”:[{“code”:“131072”,“display”:“MDC_ECG_LEAD”,“system”:“urn:iso:std:iso:11073:10101”}]},
“category”:“measurement”
}
I get the following error:
None of the codes provided are in the value set
http://hl7.org/fhir/ValueSet/devicemetric-type
, and a code is recommended to come from this value set) (codes = urn:iso:std:iso:11073:10101#131072)
My issue is that this code actually does exist in the valueset. Its the first one in the list at http://hl7.org/fhir/ValueSet/devicemetric-type.
Am I doing something wrong?