HL7 FHIR R4 Virtual Sandbox
Test healthcare API integrations with this virtual server. HL4 FHIR search, and OperationOutcome error responses.
Build and verify healthcare API clients with this ready-to-use FHIR R4 JSON responses. Explore the resource types, including Patient, Observation, Encounter, and MedicationRequest, without connecting to an EHR system or configuring authentication. You can test resource retrieval, supported search queries, simulated create/update/delete responses, and selected error scenarios using FHIR OperationOutcome resources. Use /metadata to discover the supported resources and interactions. This sandbox is stateless: reads and searches return fixed example resources. Create and update requests echo submitted data without saving it, and delete requests acknowledge the operation without removing examples. It is intended for development, demos, and testing how your application handles the documented API responses.
Use cases:
1. EHR integration development: Test resource exchange between healthcare applications and simulated FHIR APIs. 2. Patient and provider workflows: Exercise Patient, Practitioner, Organization, and Encounter interactions. 3. Clinical application testing: Build screens and integrations using Observation, Condition, AllergyIntolerance, MedicationRequest, DiagnosticReport, and Procedure resources. 4. FHIR client testing: Verify request serialization, resource parsing, HTTP status handling, and supported RESTful interactions. 5. Search and pagination: Test supported _id, patient-reference, _count, and _summary=count queries with searchset Bundle responses.
N/A
{
"resourceType": "CapabilityStatement",
"id": "fhir-r4-mock",
"status": "active",
"date": "2026-11-13",
"kind": "instance",
"fhirVersion": "4.0.1",
"format": [
"json"
],
"software": {
"name": "Beeceptor FHIR R4 integration mock",
"version": "2.0.0-stateless"
},
"implementation": {
"url": "https://hl7-fhir-r4.mock.beeceptor.com",
"description": "Stateless JSON API-contract simulation. One fixed example per resource type; create/update echo submitted fields without persistence; delete returns 204 without removing examples. No seed state required. No full validation, XML, history, versioning, conditional writes, transactions, PATCH, terminology, or SMART authentication."
},
"rest": [
{
"mode": "server",
"resource": [
{
"type": "Patient",
"profile": "http://hl7.org/fhir/StructureDefinition/Patient",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
}
]
},
{
"type": "Practitioner",
"profile": "http://hl7.org/fhir/StructureDefinition/Practitioner",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
}
]
},
{
"type": "Organization",
"profile": "http://hl7.org/fhir/StructureDefinition/Organization",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
}
]
},
{
"type": "Encounter",
"profile": "http://hl7.org/fhir/StructureDefinition/Encounter",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "Observation",
"profile": "http://hl7.org/fhir/StructureDefinition/Observation",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "Condition",
"profile": "http://hl7.org/fhir/StructureDefinition/Condition",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "AllergyIntolerance",
"profile": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "MedicationRequest",
"profile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "DiagnosticReport",
"profile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
},
{
"type": "Procedure",
"profile": "http://hl7.org/fhir/StructureDefinition/Procedure",
"interaction": [
{
"code": "read",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "create",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "update",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "delete",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
},
{
"code": "search-type",
"documentation": "Stateless example interaction; writes do not persist or affect later requests."
}
],
"versioning": "no-version",
"updateCreate": false,
"conditionalCreate": false,
"conditionalRead": "not-supported",
"conditionalUpdate": false,
"conditionalDelete": "not-supported",
"searchParam": [
{
"name": "_id",
"type": "token",
"documentation": "Single exact ID; comma OR and modifiers unsupported."
},
{
"name": "patient",
"type": "reference",
"documentation": "Exact relative Patient/id reference; bare IDs unsupported."
}
]
}
]
}
]
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (body '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Patient?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}"}]{{#if (eq (body '_id' 'example') 'example')}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Patient/example", "resource": {"resourceType": "Patient", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": [{"use": "official", "family": "Example", "given": ["Alex"]}], "gender": "unknown", "birthDate": "1990-01-01"}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (body '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Practitioner?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}"}]{{#if (eq (body '_id' 'example') 'example')}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Practitioner/example", "resource": {"resourceType": "Practitioner", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": [{"family": "Example", "given": ["Morgan"]}]}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (body '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Organization?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}"}]{{#if (eq (body '_id' 'example') 'example')}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Organization/example", "resource": {"resourceType": "Organization", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": "Example Test Clinic"}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Encounter?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Encounter/example", "resource": {"resourceType": "Encounter", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "finished", "class": {"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "AMB"}, "subject": {"reference": "Patient/example"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Observation?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Observation/example", "resource": {"resourceType": "Observation", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "final", "code": {"coding": [{"system": "http://loinc.org", "code": "8867-4", "display": "Heart rate"}]}, "subject": {"reference": "Patient/example"}, "category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"effectiveDateTime": "2026-11-11T17:55:00Z", "valueQuantity": {"value": 72, "unit": "beats/minute", "system": "http://unitsofmeasure.org", "code": "/min"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Condition?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Condition/example", "resource": {"resourceType": "Condition", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "clinicalStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active"}]}, "subject": {"reference": "Patient/example"}, "code": {"text": "Synthetic test condition"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/AllergyIntolerance?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/AllergyIntolerance/example", "resource": {"resourceType": "AllergyIntolerance", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "patient": {"reference": "Patient/example"}, "clinicalStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "active"}]}, "code": {"text": "Synthetic test allergy"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/MedicationRequest?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/MedicationRequest/example", "resource": {"resourceType": "MedicationRequest", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "active", "intent": "order", "medicationCodeableConcept": {"text": "Synthetic test medication"}, "subject": {"reference": "Patient/example"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/DiagnosticReport?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/DiagnosticReport/example", "resource": {"resourceType": "DiagnosticReport", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "final", "code": {"text": "Synthetic heart rate report"}, "subject": {"reference": "Patient/example"}, "result": [{"reference": "Observation/example"}]}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}_id=example&_count=1{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Procedure?_id={{urlEncode (body '_id' 'example')}}&_count={{urlEncode (body '_count' '50')}}&_getpagesoffset={{urlEncode (body '_getpagesoffset' '0')}}&_summary={{urlEncode (body '_summary' 'false')}}&patient={{urlEncode (body 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (body '_id' 'example') 'example') (eq (body 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (body '_count' '50') 0)}}{{#if (eq (body '_summary') 'count')}}{{else}}{{#if (eq (body '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Procedure/example", "resource": {"resourceType": "Procedure", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "completed", "subject": {"reference": "Patient/example"}, "code": {"text": "Synthetic test procedure"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "WrongResourceType",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Patient"
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Patient"
}
]
}N/A
{
"resourceType": "Patient",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{
"resourceType": "Patient",
"id": "mismatched-id",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Patient",
"id": "example",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Patient",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (queryParam '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Patient?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}"}]{{#if (eq (queryParam '_id' 'example') 'example')}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Patient/example", "resource": {"resourceType": "Patient", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": [{"use": "official", "family": "Example", "given": ["Alex"]}], "gender": "unknown", "birthDate": "1990-01-01"}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Patient",
"id": "unknown-example",
"active": true,
"name": [
{
"use": "official",
"family": "Example",
"given": [
"Alex"
]
}
],
"gender": "unknown",
"birthDate": "1990-01-01"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Practitioner"
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Practitioner"
}
]
}N/A
{
"resourceType": "Practitioner",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{
"resourceType": "Practitioner",
"id": "mismatched-id",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Practitioner",
"id": "example",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Practitioner",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (queryParam '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Practitioner?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}"}]{{#if (eq (queryParam '_id' 'example') 'example')}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Practitioner/example", "resource": {"resourceType": "Practitioner", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": [{"family": "Example", "given": ["Morgan"]}]}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Practitioner",
"id": "unknown-example",
"active": true,
"name": [
{
"family": "Example",
"given": [
"Morgan"
]
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"active": true,
"name": "Example Test Clinic"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Organization"
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"active": true,
"name": "Example Test Clinic"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Organization"
}
]
}N/A
{
"resourceType": "Organization",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"active": true,
"name": "Example Test Clinic"
}{
"resourceType": "Organization",
"id": "mismatched-id",
"active": true,
"name": "Example Test Clinic"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Organization",
"id": "example",
"active": true,
"name": "Example Test Clinic"
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Organization",
"active": true,
"name": "Example Test Clinic"
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (eq (queryParam '_id' 'example') 'example')}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Organization?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}"}]{{#if (eq (queryParam '_id' 'example') 'example')}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Organization/example", "resource": {"resourceType": "Organization", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "active": true, "name": "Example Test Clinic"}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Organization",
"id": "unknown-example",
"active": true,
"name": "Example Test Clinic"
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Encounter"
}
]
}{
"resourceType": "Encounter",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Encounter.status is required."
}
]
}{
"resourceType": "Encounter",
"status": "finished",
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Encounter.class is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Encounter"
}
]
}{
"resourceType": "Encounter",
"id": "example",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Encounter.status is required."
}
]
}{
"resourceType": "Encounter",
"id": "example",
"status": "finished",
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Encounter.class is required."
}
]
}N/A
{
"resourceType": "Encounter",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "Encounter",
"id": "mismatched-id",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Encounter",
"id": "example",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Encounter",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Encounter?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Encounter/example", "resource": {"resourceType": "Encounter", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "finished", "class": {"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "AMB"}, "subject": {"reference": "Patient/example"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Encounter",
"id": "unknown-example",
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Observation"
}
]
}{
"resourceType": "Observation",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Observation.status is required."
}
]
}{
"resourceType": "Observation",
"status": "final",
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Observation.code is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Observation"
}
]
}{
"resourceType": "Observation",
"id": "example",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Observation.status is required."
}
]
}{
"resourceType": "Observation",
"id": "example",
"status": "final",
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Observation.code is required."
}
]
}N/A
{
"resourceType": "Observation",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"effectiveDateTime": "2026-11-11T17:55:00Z",
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "Observation",
"id": "mismatched-id",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Observation",
"id": "example",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Observation",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Observation?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Observation/example", "resource": {"resourceType": "Observation", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "final", "code": {"coding": [{"system": "http://loinc.org", "code": "8867-4", "display": "Heart rate"}]}, "subject": {"reference": "Patient/example"}, "category": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"effectiveDateTime": "2026-11-11T17:55:00Z", "valueQuantity": {"value": 72, "unit": "beats/minute", "system": "http://unitsofmeasure.org", "code": "/min"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Observation",
"id": "unknown-example",
"status": "final",
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8867-4",
"display": "Heart rate"
}
]
},
"subject": {
"reference": "Patient/example"
},
"valueQuantity": {
"value": 72,
"unit": "beats/minute",
"system": "http://unitsofmeasure.org",
"code": "/min"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Condition"
}
]
}{
"resourceType": "Condition",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Condition.subject is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Condition"
}
]
}{
"resourceType": "Condition",
"id": "example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Condition.subject is required."
}
]
}N/A
{
"resourceType": "Condition",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "Condition",
"id": "mismatched-id",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Condition",
"id": "example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Condition",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Condition?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Condition/example", "resource": {"resourceType": "Condition", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "clinicalStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active"}]}, "subject": {"reference": "Patient/example"}, "code": {"text": "Synthetic test condition"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Condition",
"id": "unknown-example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active"
}
]
},
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test condition"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal AllergyIntolerance"
}
]
}{
"resourceType": "AllergyIntolerance",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "AllergyIntolerance.patient is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal AllergyIntolerance"
}
]
}{
"resourceType": "AllergyIntolerance",
"id": "example",
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "AllergyIntolerance.patient is required."
}
]
}N/A
{
"resourceType": "AllergyIntolerance",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "AllergyIntolerance",
"id": "mismatched-id",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "AllergyIntolerance",
"id": "example",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "AllergyIntolerance",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/AllergyIntolerance?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/AllergyIntolerance/example", "resource": {"resourceType": "AllergyIntolerance", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "patient": {"reference": "Patient/example"}, "clinicalStatus": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "active"}]}, "code": {"text": "Synthetic test allergy"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "AllergyIntolerance",
"id": "unknown-example",
"patient": {
"reference": "Patient/example"
},
"clinicalStatus": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"code": {
"text": "Synthetic test allergy"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal MedicationRequest"
}
]
}{
"resourceType": "MedicationRequest",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.status is required."
}
]
}{
"resourceType": "MedicationRequest",
"status": "active",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.intent is required."
}
]
}{
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.subject is required."
}
]
}{
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "medicationCodeableConcept or medicationReference is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal MedicationRequest"
}
]
}{
"resourceType": "MedicationRequest",
"id": "example",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.status is required."
}
]
}{
"resourceType": "MedicationRequest",
"id": "example",
"status": "active",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.intent is required."
}
]
}{
"resourceType": "MedicationRequest",
"id": "example",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "MedicationRequest.subject is required."
}
]
}{
"resourceType": "MedicationRequest",
"id": "example",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "medicationCodeableConcept or medicationReference is required."
}
]
}N/A
{
"resourceType": "MedicationRequest",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "MedicationRequest",
"id": "mismatched-id",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "MedicationRequest",
"id": "example",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/MedicationRequest?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/MedicationRequest/example", "resource": {"resourceType": "MedicationRequest", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "active", "intent": "order", "medicationCodeableConcept": {"text": "Synthetic test medication"}, "subject": {"reference": "Patient/example"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "MedicationRequest",
"id": "unknown-example",
"status": "active",
"intent": "order",
"medicationCodeableConcept": {
"text": "Synthetic test medication"
},
"subject": {
"reference": "Patient/example"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal DiagnosticReport"
}
]
}{
"resourceType": "DiagnosticReport",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "DiagnosticReport.status is required."
}
]
}{
"resourceType": "DiagnosticReport",
"status": "final",
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "DiagnosticReport.code is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal DiagnosticReport"
}
]
}{
"resourceType": "DiagnosticReport",
"id": "example",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "DiagnosticReport.status is required."
}
]
}{
"resourceType": "DiagnosticReport",
"id": "example",
"status": "final",
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "DiagnosticReport.code is required."
}
]
}N/A
{
"resourceType": "DiagnosticReport",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "DiagnosticReport",
"id": "mismatched-id",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "DiagnosticReport",
"id": "example",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "DiagnosticReport",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/DiagnosticReport?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/DiagnosticReport/example", "resource": {"resourceType": "DiagnosticReport", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "final", "code": {"text": "Synthetic heart rate report"}, "subject": {"reference": "Patient/example"}, "result": [{"reference": "Observation/example"}]}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "DiagnosticReport",
"id": "unknown-example",
"status": "final",
"code": {
"text": "Synthetic heart rate report"
},
"subject": {
"reference": "Patient/example"
},
"result": [
{
"reference": "Observation/example"
}
]
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A
{
"resourceType": "WrongResourceType",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Procedure"
}
]
}{
"resourceType": "Procedure",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Procedure.status is required."
}
]
}{
"resourceType": "Procedure",
"status": "completed",
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Procedure.subject is required."
}
]
}{
"resourceType": "WrongResourceType",
"id": "example",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "resourceType must equal Procedure"
}
]
}{
"resourceType": "Procedure",
"id": "example",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Procedure.status is required."
}
]
}{
"resourceType": "Procedure",
"id": "example",
"status": "completed",
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "required",
"diagnostics": "Procedure.subject is required."
}
]
}N/A
{
"resourceType": "Procedure",
"id": "example",
"meta": {
"lastUpdated": "2026-11-11T18:00:00Z"
},
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "Procedure",
"id": "mismatched-id",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Body id must equal URL id example"
}
]
}{
"resourceType": "Procedure",
"id": "example",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}{
"resourceType": "Procedure",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{{#if (eq (header 'Prefer') 'return=minimal')}}{{else}}{{#if (eq (header 'Prefer') 'return=OperationOutcome')}}{"resourceType": "OperationOutcome", "issue": [{"severity": "information", "code": "informational", "diagnostics": "Stateless write simulation; no resource was stored."}]}{{else}}{{{json (objectMerge (jsonParse (body)) (object id='example' meta=(objectMerge (coalesce (jsonParse (body) 'meta') (object)) (object versionId=undefined lastUpdated=(now 'iso')))))}}}{{/if}}{{/if}}N/A
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-found",
"diagnostics": "Resource not found."
}
]
}N/A
{"resourceType":"Bundle","type":"searchset","total":{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}1{{else}}0{{/if}},"link":[{"relation":"self","url":"https://hl7-fhir-r4.mock.beeceptor.com/Procedure?_id={{urlEncode (queryParam '_id' 'example')}}&_count={{urlEncode (queryParam '_count' '50')}}&_getpagesoffset={{urlEncode (queryParam '_getpagesoffset' '0')}}&_summary={{urlEncode (queryParam '_summary' 'false')}}&patient={{urlEncode (queryParam 'patient' 'Patient/example')}}"}]{{#if (multiply (eq (queryParam '_id' 'example') 'example') (eq (queryParam 'patient' 'Patient/example') 'Patient/example'))}}{{#if (gt (queryParam '_count' '50') 0)}}{{#if (eq (queryParam '_summary') 'count')}}{{else}}{{#if (eq (queryParam '_getpagesoffset' '0') '0')}},"entry":[{"fullUrl": "https://hl7-fhir-r4.mock.beeceptor.com/Procedure/example", "resource": {"resourceType": "Procedure", "id": "example", "meta": {"lastUpdated": "2026-11-11T18:00:00Z"}, "status": "completed", "subject": {"reference": "Patient/example"}, "code": {"text": "Synthetic test procedure"}}, "search": {"mode": "match"}}]{{/if}}{{/if}}{{/if}}{{/if}}
}{
"resourceType": "Procedure",
"id": "unknown-example",
"status": "completed",
"subject": {
"reference": "Patient/example"
},
"code": {
"text": "Synthetic test procedure"
}
}{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "not-supported",
"diagnostics": "Updating nonexistent or deleted resources is unsupported; use POST to create."
}
]
}N/A
N/A