Learn R Programming

fhircrackr (version 2.3.0)

transaction_bundle_example: Toy examples to POST/PUT on a server

Description

These data examples are simple examples to try out POSTing/PUTing resources to a server. See Source for how the xml versions look.

Usage

transaction_bundle_example

example_resource1

example_resource2

example_resource3

Arguments

Format

An object of class fhir_bundle_serialized of length 1277.

An object of class fhir_resource_serialized of length 267.

An object of class fhir_resource_serialized of length 290.

An object of class fhir_resource_serialized of length 608.

Details

transaction_bundle_example contains 1 transaction bundle with 2 Patient resources.

example_resource1 contains 1 patient resource without id for POSTing

example_resource2 contains 1 patient resource with id for PUTing

example_resource3 contains 1 Medication resource with an id xml attribute

Examples

Run this code
#unserialize xml objects before doing anything else with them!
fhir_unserialize(bundles = transaction_bundle_example)
#unserialize xml objects before doing anything else with them!
fhir_unserialize(example_resource1)
#unserialize xml objects before doing anything else with them!
fhir_unserialize(example_resource2)
#unserialize xml objects before doing anything else with them!
fhir_unserialize(example_resource3)

Run the code above in your browser using DataLab