Stream: implementers
Topic: Errors of profile validation with vonk.fire.ly
Jeff Chen (Feb 07 2020 at 05:14):
Hi, all
I validated this profile ( http://hl7.org/fhir/vitalsigns.profile.json.html ) in Postman.
The validation link is https://vonk.fire.ly/r4/StructureDefinition/$validate
But errors shown below:
{
"resourceType": "OperationOutcome",
"id": "2f36413e-3427-45e2-97c8-d0116939ef5b",
"meta": {
"versionId": "2677b8ec-a113-4e1e-b126-983d13e8bded",
"lastUpdated": "2020-02-07T03:59:46.286+00:00"
},
"issue": [
{
"severity": "error",
"code": "code-invalid",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "6001"
}
],
"text": "Code '4.0.1' from system '' does not exist in valueset 'http://hl7.org/fhir/ValueSet/FHIR-version'"
},
"location": [
"StructureDefinition.fhirVersion[0]"
]
},
{
"severity": "error",
"code": "incomplete",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "4000"
}
],
"text": "Unable to resolve reference to profile 'http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type'"
},
"location": [
"StructureDefinition.snapshot[0].element[1].type[0].extension[0]"
]
},
{
"severity": "error",
"code": "incomplete",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "4000"
}
],
"text": "Unable to resolve reference to profile 'http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type'"
},
"location": [
"StructureDefinition.snapshot[0].element[3].type[0].extension[0]"
]
},
{
"severity": "error",
"code": "invariant",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "1012"
}
],
"text": "Instance failed constraint sdf-19 \"FHIR Specification models only use FHIR defined types\""
},
"diagnostics": "url.startsWith('http://hl7.org/fhir/StructureDefinition') implies (differential.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')) and snapshot.element.type.code.all(hasValue() implies matches('^[a-zA-Z0-9]+$')))",
"location": [
"StructureDefinition"
]
},
{
"severity": "warning",
"code": "invariant",
"details": {
"coding": [
{
"system": "http://hl7.org/fhir/dotnet-api-operation-outcome",
"code": "1013"
}
],
"text": "Instance failed constraint sdf-0 \"Name should be usable as an identifier for the module by machine processing applications such as code generation\""
},
"diagnostics": "name.matches('A-Z{0,254}')",
"location": [
"StructureDefinition"
]
}
]
}
It seemed some profiles couldn’t be resolved or instances failed.
Is this link of validation outdated?
How do i fix this problem?
Thanks,
Jeff Chen (Feb 07 2020 at 05:37):
This problem was answered on http://community.fhir.org/t/errors-of-profile-validation-with-vonk-fire-ly/1768/2?u=jeff1
Lloyd McKenzie (Feb 07 2020 at 06:09):
Best practice is to only ask questions in one place at a time and give some time for the community to respond.
Jeff Chen (Feb 07 2020 at 06:11):
Best practice is to only ask questions in one place at a time and give some time for the community to respond.
Got it :)
Last updated: Apr 12 2022 at 19:14 UTC