Hi, all
I validated this profile 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]([A-Za-z0-9_]){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,