Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Example CodeSystem/bundle-type (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemBundleType

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "bundle-type"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "normative" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version" ];
     fhir:Extension.value [ fhir:value "4.0.0" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "5" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/bundle-type"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.621" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "BundleType"];
  fhir:CanonicalResource.title [ fhir:value "BundleType"];
  fhir:CanonicalResource.status [ fhir:value "active"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CanonicalResource.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "Indicates the purpose of a bundle - how it is intended to be used."];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/bundle-type"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.621" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "BundleType"];
  fhir:CodeSystem.title [ fhir:value "BundleType"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2021-01-05T10:01:24+11:00"];
  fhir:CodeSystem.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CodeSystem.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Indicates the purpose of a bundle - how it is intended to be used."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/bundle-type"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "document" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Document" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a document. The first resource is a Composition." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "message" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Message" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a message. The first resource is a MessageHeader." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "transaction" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Transaction" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a transaction - intended to be processed by a server as an atomic commit." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "transaction-response" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Transaction Response" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a transaction response. Because the response is a transaction response, the transaction has succeeded, and all responses are error free." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "batch" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Batch" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a set of actions - intended to be processed by a server as a group of independent actions." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "batch-response" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Batch Response" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a batch response. Note that as a batch, some responses may indicate failure and others success." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "history" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "History List" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a list of resources from a history interaction on a server." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "searchset" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Search Results" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a list of resources returned as a result of a search/query interaction, operation, or message." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "collection" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Collection" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "subscription-notification" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Subscription Notification" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The bundle has been generated by a Subscription to communicate information to a client." ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.