Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload 400 status at https://fhir-drills.github.io/patient-with-references.html #16

Open
xta opened this issue Nov 8, 2023 · 1 comment

Comments

@xta
Copy link

xta commented Nov 8, 2023

On this page (https://fhir-drills.github.io/patient-with-references.html), when I click the Upload button, the page is not successfully updated. There are references to "(press Upload first)" in the page after pressing the Upload button.

The JS console has these errors:

Uploading resource-examples/Patient-f001.json
wildfhir3.aegis.net/fhir3-0-2/Patient:1 
        
Failed to load resource: the server responded with a status of 400 (Bad Request)
post-resources.js:72 upload failed: {
  "resourceType": "OperationOutcome",
  "text": {
    "status": "extensions",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"grid\"><tr><td><b>Severity</b></td><td><b>Location</b></td><td><b>Code</b></td><td><b>Details</b></td><td><b>Diagnostics</b></td><td><b>Source</b></td></tr><tr><td>ERROR</td><td>Patient.contact[0].relationship[0].coding[0] (line 1, col 2072) (line 1, col 2072), Patient.contact[0].relationship[0].coding[0] (line 1, col 2072)</td><td>Invalid Code</td><td>Unknown Code System 'http://hl7.org/fhir/patient-contact-relationship'</td><td/><td>InstanceValidator</td></tr><tr><td>WARNING</td><td>Patient.contact[0].relationship[0].coding[0].system (line 1, col 2132) (line 1, col 2132), Patient.contact[0].relationship[0].coding[0].system (line 1, col 2132)</td><td>Structural Issue</td><td>URL value 'http://hl7.org/fhir/patient-contact-relationship' does not resolve</td><td/><td>InstanceValidator</td></tr></table></div>"
  },
  "issue": [
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line",
          "valueInteger": 1
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col",
          "valueInteger": 2072
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
          "valueString": "InstanceValidator"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id",
          "valueCode": "Terminology_TX_System_Unknown"
        }
      ],
      "severity": "error",
      "code": "code-invalid",
      "details": {
        "text": "Unknown Code System 'http://hl7.org/fhir/patient-contact-relationship'"
      },
      "location": [
        "Patient.contact[0].relationship[0].coding[0] (line 1, col 2072)"
      ],
      "expression": [
        "Patient.contact[0].relationship[0].coding[0] (line 1, col 2072)"
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-line",
          "valueInteger": 1
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-col",
          "valueInteger": 2132
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source",
          "valueString": "InstanceValidator"
        },
        {
          "url": "http://hl7.org/fhir/StructureDefinition/operationoutcome-message-id",
          "valueCode": "Type_Specific_Checks_DT_URL_Resolve"
        }
      ],
      "severity": "warning",
      "code": "structure",
      "details": {
        "text": "URL value 'http://hl7.org/fhir/patient-contact-relationship' does not resolve"
      },
      "location": [
        "Patient.contact[0].relationship[0].coding[0].system (line 1, col 2132)"
      ],
      "expression": [
        "Patient.contact[0].relationship[0].coding[0].system (line 1, col 2132)"
      ]
    }
  ]
}

@dvanbeek
Copy link

dvanbeek commented Jan 9, 2024

I'm running into the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants