Publisert - 28.04.2026

Bundle

Based on the FHIR-model for Bundle.

Name Type Description Merknader
total int The amount of search results using search.mode="match" There may be multiple entries in the result, but these will have mode="include", and can, for example, be services that are linked to a location, if we are searching for locations.
link objekt Contains a list of links.
- self the URL of the performed search. Returned on all search operations.
- last points to the last page of results in the paginated response.
- first points to the first page of results in the paginated response.
- next points to the next page of results in the paginated response.
- previous points to the previous page of results in the paginated response.
entry liste Contains all results from the search. One entry per resource, with the URL to the resource in fullUrl, and the resource itself in resource. Any other details are in search; for example, in a geo‑search you get the distance to the search point here, and search.mode describes whether it is an exact match ("match") or included for other reasons ("include").

JSON structure

{
  "resourceType": "Bundle",
  // from Resource: id, meta, implicitRules, and language
  "type" : "<code>", // document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification
  "total" : "<unsignedInt>", // If search, the total number of matches
  "link" : [{ // I Links related to this Bundle
    "relation" : "<code>", // See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
    "url" : "<uri>" // Reference details for the link
  }],
  "entry" : [{ // Entry in the bundle - will have a resource or information
    "link" : [{ Content as for Bundle.link }], // Links related to this entry
    "fullUrl" : "<uri>", // URI for resource (e.g. the absolute URL server address, URI for UUID/OID, etc.)
    "resource" : { Resource }, // A resource in the bundle
    "search" : { // Search related information
      "mode" : "<code>", // match | include - why this is in the result set
    },
  }]
}

Søk i Utviklerportalen

Søket er fullført!