PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.r4.id.core@0.1.0
    https://fhir.kemkes.go.id/r4/StructureDefinition/Bundle
description: A container for a collection of resources.
package_name: hl7.fhir.r4.id.core
derivation: specialization
name: Bundle
type: Bundle
elements:
  identifier: {short: Persistent identifier for the bundle, type: Identifier, isSummary: true, index: 0}
  type:
    short: document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection
    type: code
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/bundle-type|4.0.1'}
    isSummary: true
    index: 1
  timestamp: {short: When the bundle was assembled, type: instant, isSummary: true, index: 2}
  total: {short: 'If search, the total number of matches', type: unsignedInt, isSummary: true, index: 3}
  link:
    type: BackboneElement
    short: Links related to this Bundle
    isSummary: true
    index: 4
    elements:
      relation: {type: string, short: 'See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1', isSummary: true, index: 5}
      url: {type: uri, short: Reference details for the link, isSummary: true, index: 6}
    required: [url, relation]
  entry:
    type: BackboneElement
    short: Entry in the bundle - will have a resource or information
    isSummary: true
    constraint:
      bdl-8: {human: fullUrl cannot be a version specific reference, source: 'http://hl7.org/fhir/StructureDefinition/Bundle', severity: error, expression: fullUrl.contains('/_history/').not()}
      bdl-5: {human: must be a resource unless there's a request or response, source: 'http://hl7.org/fhir/StructureDefinition/Bundle', severity: error, expression: resource.exists() or request.exists() or response.exists()}
    orderMeaning: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
    index: 7
    elements:
      link:
        type: BackboneElement
        short: Links related to this Bundle
        isSummary: true
        index: 8
        elements:
          relation: {type: string, short: 'See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1', isSummary: true, index: 9}
          url: {type: uri, short: Reference details for the link, isSummary: true, index: 10}
        required: [url, relation]
      fullUrl: {type: uri, short: URI for resource (Absolute URL server address or URI for UUID/OID), isSummary: true, index: 11}
      resource: {type: Resource, short: A resource in the bundle, isSummary: true, index: 12}
      search:
        type: BackboneElement
        short: Search related information
        isSummary: true
        index: 13
        elements:
          mode:
            short: match | include | outcome - why this is in the result set
            type: code
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1'}
            isSummary: true
            index: 14
          score: {type: decimal, short: Search ranking (between 0 and 1), isSummary: true, index: 15}
      request:
        type: BackboneElement
        short: Additional execution information (transaction/batch/history)
        isSummary: true
        index: 16
        elements:
          method:
            short: GET | HEAD | POST | PUT | DELETE | PATCH
            type: code
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/http-verb|4.0.1'}
            isSummary: true
            index: 17
          url: {short: URL for HTTP equivalent of this entry, type: uri, isSummary: true, index: 18}
          ifNoneMatch: {type: string, short: For managing cache currency, isSummary: true, index: 19}
          ifModifiedSince: {type: instant, short: For managing cache currency, isSummary: true, index: 20}
          ifMatch: {type: string, short: For managing update contention, isSummary: true, index: 21}
          ifNoneExist: {type: string, short: For conditional creates, isSummary: true, index: 22}
        required: [url, method]
      response:
        type: BackboneElement
        short: Results of execution (transaction/batch/history)
        isSummary: true
        index: 23
        elements:
          status: {type: string, short: Status response code (text optional), isSummary: true, index: 24}
          location: {type: uri, short: The location (if the operation returns a location), isSummary: true, index: 25}
          etag: {type: string, short: The Etag for the resource (if relevant), isSummary: true, index: 26}
          lastModified: {type: instant, short: Server's date time modified, isSummary: true, index: 27}
          outcome: {type: Resource, short: OperationOutcome with hints and warnings (for batch/transaction), isSummary: true, index: 28}
        required: [status]
  signature: {short: Digital Signature, type: Signature, isSummary: true, index: 29}
package_version: 0.1.0
class: resource
kind: resource
url: https://fhir.kemkes.go.id/r4/StructureDefinition/Bundle
base: http://hl7.org/fhir/StructureDefinition/Resource
version: 4.0.1
required: [type]