Hi,
i just tried to parse the json files form DSTU3 profiles-resources.json
i used the hapi on FHIR classes with Bundle.
but parsing was not ok. It stop cause “Unknown ContactPointSystem code ‘url’”
So i check the doc of ContactPoint and i see that ContactPoint.system should be a code from the valueset that contain " phone | fax | email | pager | other".
so to me hapi on fhir was right to stop the parsing as the code is wrong and that valueset is setted as “Required” …
I check the profiles-resources and i can see many things like :
" “contact”: [
{
“telecom”: [
{
“system”: “url”,
“value”: “http://hl7.org/fhir”
}
]
}
So my question is :
is this an error or something i dont understand ?
if i customize the file and replace the wrong code with “other” for example, should i expect similar problemes with other valueset ?
thanks