Update the resource with vonk.fire.ly

Hi all,

May I update the existed resource i just uploaded via “https://vonk.fire.ly/administration/R4/StructureDefinition/{resourceName}” ?
(I used PUT in Postman and resourceName is MyObservation)
BUT, i still got “Argument is not supported”

{
   "resourceType":"OperationOutcome",
   "id":"21d49c3c-fa05-463c-9138-e5079333d4a2",
   "meta":{
      "versionId":"51f8e966-b907-4dc6-b4fa-82a659b8710f",
      "lastUpdated":"2020-02-13T02:13:54.323+00:00"
   },
   "issue":[
      {
         "severity":"error",
         "code":"invalid",
         "details":{
            "coding":[
               {
                  "system":"http://hl7.org/fhir/dotnet-api-operation-outcome",
                  "code":"5002"
               }
            ],
            "text":"An existing resource with id StructureDefinition/af5e6176-7909-4a88-819c-b110f0db1e55 has the same canonical url http://example.org/fhir/StructureDefinition/MyObservation_jeff3."
         }
      },
      {
         "severity":"warning",
         "code":"not-supported",
         "details":{
            "coding":[
               {
                  "system":"http://hl7.org/fhir/dotnet-api-operation-outcome",
                  "code":"5003"
               }
            ],
            "text":"Argument is not supported"
         },
         "diagnostics":"/StructureDefinition"
      },
      {
         "severity":"warning",
         "code":"not-supported",
         "details":{
            "coding":[
               {
                  "system":"http://hl7.org/fhir/dotnet-api-operation-outcome",
                  "code":"5003"
               }
            ],
            "text":"Argument is not supported"
         },
         "diagnostics":"/MyObservation"
      }
   ]
}

Thanks !
Best,
Jeff,

What was the specific URL you were posting to?

Did you mean " https://vonk.fire.ly/administration/R4/StructureDefinition/{resourceName} " ?

Vonk complains that you are trying to create a new StructureDefinition that has the same canonical URL as one that already exists (StructureDefinition/af5e6176-7909-4a88-819c-b110f0db1e55). Please do a PUT with your updated resource to https://vonk.fire.ly/administration/R4/StructureDefinition/af5e6176-7909-4a88-819c-b110f0db1e55. Make sure the technical id in the resource is the same as on the url.

1 Like

Hi @mirjam
OK, it works now
Thank you so much !

1 Like