For the PractitionerRole specialty, what is the correct code system? Based on the PractitionerRole examples in the official FHIR documentation, we tried using http://snomed.info/sct
, but when using the official FHIR validator, we are getting the following warning:
ValueSet http://hl7.org/fhir/ValueSet/c80-practice-codes not found by validator
.
Thanks!
Can you share your instance and the full log of the validator console?
Is this what you mean by the validator console logs?
And here is the PractitionerRole instance:
{
"resourceType": "PractitionerRole",
"id": "4e5d21b5-1322-4c90-b66f-f9d563f8bec2",
"practitioner": {
"reference": "Practitioner/4e0194d8-03e4-4156-b1d6-5a28ad598be4"
},
"specialty": [ {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "408443003",
"display": "General medical practice"
} ],
"text": "general-medicine"
} ],
"location": [ {
"reference": "Location/88e72ce8-63d4-495f-95b7-acf2046a9c40"
} ]
}
Let me know if you need more info and thanks for the help!
Two issues. One, you’re not declaring the -version parameter, which means your instance is validating against the R5 draft, rather than R4 (as you probably intend). Second, the relevant value set has migrated to http://terminology.hl7.org, but the R5 resource hasn’t been updated to point to it yet. That will be fixed before the official release of R5 is published.
1 Like
Thank you so much, Lloyd! That’s very helpful to know.