Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Last active February 25, 2022 07:32
Show Gist options
  • Save KevinMayfield/4578267510b64825df4d5f949432ed64 to your computer and use it in GitHub Desktop.
Save KevinMayfield/4578267510b64825df4d5f949432ed64 to your computer and use it in GitHub Desktop.
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "warning",
"code": "business-rule",
"diagnostics": "No FHIR package extension found",
"location": [
"OAS: info.extensions.x-HL7-FHIR-NpmPackages"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "cpb-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Rule 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "cpb-1: 'A Capability Statement SHALL have at least one of REST, messaging or document element.' Rule 'A Capability Statement SHALL have at least one of REST, messaging or document element.' Failed",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "cpb-2: 'A Capability Statement SHALL have at least one of description, software, or implementation element.' Rule 'A Capability Statement SHALL have at least one of description, software, or implementation element.' Failed",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "cpb-14: 'If kind = instance, implementation must be present and software may be present' Rule 'If kind = instance, implementation must be present and software may be present' Failed",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "cpb-15: 'If kind = capability, implementation must be absent, software must be present' Rule 'If kind = capability, implementation must be absent, software must be present' Failed",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "CapabilityStatement.date: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-CapabilityStatement)",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "CapabilityStatement.publisher: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-CapabilityStatement)",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "CapabilityStatement.kind: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-CapabilityStatement)",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "CapabilityStatement.format: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/NHSDigital-CapabilityStatement)",
"location": [
"CapabilityStatement",
"Line 1, Col 2",
"OAS: /metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/metadata/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1861: Failed to parse JSON encoded FHIR content: HAPI-1859: Content does not appear to be FHIR JSON, first non-whitespace character was: '/' (must be '{')",
"location": [
"/MessageDefinition/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/MessageDefinition/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/MessageDefinition/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1825: Unknown element 'type' found during parse",
"location": [
"/$process-message/post/requestBody/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1825: Unknown element 'type' found during parse",
"location": [
"/$process-message/post/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/$process-message/post/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/$process-message/post/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "code-invalid",
"diagnostics": "Query parameter format for: status is missing. Should be token",
"location": [
"OAS: /Slot/get/status/schema/type"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Parameter schema type for : status should be a string/(FHIR Search: token)",
"location": [
"OAS: /Slot/get/status/schema/type"
]
},
{
"severity": "warning",
"code": "code-invalid",
"diagnostics": "Query parameter format for: start should be date (FHIR) is datetime",
"location": [
"OAS: /Slot/get/start/schema/type"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: end",
"location": [
"OAS: /Slot/get/end"
]
},
{
"severity": "error",
"code": "incomplete",
"diagnostics": "_include parameters MUST have an enumeration listing possible values"
},
{
"severity": "warning",
"code": "code-invalid",
"diagnostics": "Query parameter format for: _include is missing. Should be string",
"location": [
"OAS: /Slot/get/_include/schema/type"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Parameter schema type for : _include should be a string/(FHIR Search: string)",
"location": [
"OAS: /Slot/get/_include/schema/type"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/Slot/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/Slot/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: patientIdentifier",
"location": [
"OAS: /Appointment/get/patientIdentifier"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1825: Unknown element 'type' found during parse",
"location": [
"/Appointment/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/Appointment/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/Appointment/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "app-3: 'Only proposed or cancelled appointments can be missing start/end dates' Rule 'Only proposed or cancelled appointments can be missing start/end dates' Failed",
"location": [
"Appointment",
"Line 1, Col 2",
"OAS: /Appointment/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "Appointment.status: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-Appointment)",
"location": [
"Appointment",
"Line 1, Col 2",
"OAS: /Appointment/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "Appointment.participant: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-Appointment)",
"location": [
"Appointment",
"Line 1, Col 2",
"OAS: /Appointment/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/Appointment/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/Appointment/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: patientIdentifier",
"location": [
"OAS: /ServiceRequest/get/patientIdentifier"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1825: Unknown element 'type' found during parse",
"location": [
"/ServiceRequest/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/ServiceRequest/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/ServiceRequest/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.identifier: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.status: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.intent: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.category: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.subject: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "processing",
"diagnostics": "ServiceRequest.requester: minimum required = 1, but only found 0 (from https://fhir.nhs.uk/StructureDefinition/England-ServiceRequest)",
"location": [
"ServiceRequest",
"Line 1, Col 2",
"OAS: /ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"400\": Unknown IssueType code '400'",
"location": [
"/ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "HAPI-1821: [element=\"code\"] Invalid attribute value \"500\": Unknown IssueType code '500'",
"location": [
"/ServiceRequest/{id}/get/responses/application/fhir+json/example"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment