Skip to content

Instantly share code, notes, and snippets.

@KevinMayfield
Created February 22, 2022 10:49
Show Gist options
  • Save KevinMayfield/fe6b789597076e53192e6847bcfef0b2 to your computer and use it in GitHub Desktop.
Save KevinMayfield/fe6b789597076e53192e6847bcfef0b2 to your computer and use it in GitHub Desktop.
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: _history",
"location": [
"OAS: /ServiceRequest/get/_history"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/{id}/put/requestBody/application/fhir+json/Responding to Advice (A+G Scenario Two)"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/{id}/put/requestBody/application/fhir+json/Requesting additional advice, increasing priority (A+G Scenario Three)"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/{id}/put/requestBody/application/fhir+json/Provider converts advice request (A+G Scenario Four and Six)"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/{id}/put/requestBody/application/fhir+json/Reviewing a Triage Deferral (Triage Scenario Three)"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: _history",
"location": [
"OAS: /Task/get/_history"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Bundle.entry[0].resource.ofType(Task).requester",
"Line 1, Col 1",
"OAS: /Task/get/responses/application/fhir+json/Worklist found"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"Task.requester",
"Line 1, Col 1",
"OAS: /Task/post/requestBody/application/fhir+json/Deferral Creation (Triage Scenario Two)"
]
},
{
"severity": "error",
"code": "code-invalid",
"diagnostics": "Unable to find FHIR SearchParameter of for: schedule.actor:HealthcareService",
"location": [
"OAS: /Slot/get/schedule.actor:HealthcareService"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"QuestionnaireResponse.source",
"Line 1, Col 1",
"OAS: /QuestionnaireResponse/post/requestBody/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "usercode-reference: 'An identifier reference plus a display name or resource reference must be provided' Rule 'An identifier reference plus a display name or resource reference must be provided' Failed",
"location": [
"QuestionnaireResponse.source",
"Line 1, Col 1",
"OAS: /QuestionnaireResponse/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "information",
"code": "processing",
"diagnostics": "None of the codings provided are in the value set http://hl7.org/fhir/ValueSet/c80-practice-codes (http://hl7.org/fhir/ValueSet/c80-practice-codes), and a coding is recommended to come from this value set) (codes = https://fhir.nhs.uk/CodeSystem/NHSDigital-Specialty#RESPIRATORY_MEDICINE, https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-clinical-specialty#340)",
"location": [
"Bundle.entry[0].resource.ofType(HealthcareService).specialty[0]",
"Line 1, Col 1062",
"OAS: /HealthcareService/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "URN reference is not locally contained within the bundle urn:uuid:8a5d7d67-64fb-44ec-9802-2dc214bb3dcb",
"location": [
"Bundle.entry[0].resource.ofType(HealthcareService).location[0]",
"OAS: /HealthcareService/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "nhsd-7: 'providedBy - a display name should be provided' Rule 'providedBy - a display name should be provided' Failed",
"location": [
"Bundle.entry[0].resource.ofType(HealthcareService).providedBy",
"Line 1, Col 1",
"OAS: /HealthcareService/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "nhsd-7: 'providedBy - a display name should be provided' Rule 'providedBy - a display name should be provided' Failed",
"location": [
"HealthcareService.providedBy",
"Line 1, Col 1",
"OAS: /HealthcareService/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "None of the codings provided are in the value set https://fhir.nhs.uk/ValueSet/NHSDigital-DocumentType (https://fhir.nhs.uk/ValueSet/NHSDigital-DocumentType), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = https://fhir.nhs.uk/STU3/CodeSystem/eRS-AttachmentType-1#REFERRER)",
"location": [
"DocumentReference.type",
"Line 1, Col 247",
"OAS: /DocumentReference/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "information",
"code": "processing",
"diagnostics": "Unknown extension https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy",
"location": [
"DocumentReference.content[0].attachment.extension[0]",
"Line 1, Col 627",
"OAS: /DocumentReference/{id}/get/responses/application/fhir+json/example"
]
},
{
"severity": "warning",
"code": "processing",
"diagnostics": "None of the codings provided are in the value set https://fhir.nhs.uk/ValueSet/NHSDigital-DocumentType (https://fhir.nhs.uk/ValueSet/NHSDigital-DocumentType), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = https://fhir.nhs.uk/STU3/CodeSystem/eRS-AttachmentType-1#REFERRER)",
"location": [
"DocumentReference.type",
"Line 1, Col 193",
"OAS: /DocumentReference/post/requestBody/application/fhir+json/Responding to Advice (A+G Scenario Two)"
]
},
{
"severity": "information",
"code": "processing",
"diagnostics": "Unknown extension https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AttachedBy",
"location": [
"DocumentReference.content[0].attachment.extension[0]",
"Line 1, Col 573",
"OAS: /DocumentReference/post/requestBody/application/fhir+json/Responding to Advice (A+G Scenario Two)"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment