yhabotensomata
04/18/2024, 12:23 PM{"resourceType":"Medication","identifier":[{"system":"https://aylohealth.com/medication/rxId","value":"282899"}],"code":{"coding":[{"system":"http://hl7.org/fhir/sid/ndc","code":"73796-79192","display":"10 Series+ BP Monitr/Upper Arm Device"},{"system":"https://aylohealth.com/medication/name","code":"10 Series+ BP Monitr/Upper Arm Device"}]},"form":{"coding":[{"system":"http://snomed.info/sct","code":"385055001","display":"Tablet"},{"system":"https://aylohealth.com/medication/formulation","code":"Device","display":"Device"},{"system":"https://aylohealth.com/medication/strength","code":"- "}]}}
and getting an error response:
{"outcome":{"resourceType":"OperationOutcome","issue":[{"severity":"error","code":"structure","details":{"text":"Invalid code format"},"expression":["Medication.form.coding.code"]}]},"status":"400"}
What is wrong with the resource structure I'm passing in?node5585
04/18/2024, 4:31 PMcode :
ts
code: /^[^\s]+( [^\s]+)*$/,
I think that - is invalid code format
FHIR spec for code format https://arc.net/l/quote/behhnvxayhabotensomata
04/18/2024, 8:13 PMrahul1
04/22/2024, 6:01 PMrahul1
04/22/2024, 6:01 PM