Awaiting input. No structural diagnostics.

Developer utility · local only

Read the shape of a healthcare message

Paste an HL7 v2 message or a standalone FHIR R4/R5 Encounter, Observation, Condition, or MedicationAdministration resource, or a standalone FHIR R5 Patient, Organization, or ServiceRequest JSON resource, for a quick, human-readable structural pass. Built for sample payloads and test fixtures—not production validation.

The FHIR Observation checks are bounded structural checks against the selected R4/R5 standalone base definition only; they do not validate terminology, profile conformance, references, or clinical meaning. Other checks cover the listed R4/R5 Encounter base structures, Condition.code structure, and Patient base structure for FHIR R5 only; Patient is unsupported for FHIR R4. The R5 Patient check covers bounded Patient and inherited Resource/DomainResource fields, primitive metadata, repeated-value alignment, and supported nested shapes. It does not establish full FHIR conformance. MedicationAdministration has bounded, release-specific structural checks for FHIR R4 (4.0.1) and R5 (5.0.0). FHIR R5 Organization receives bounded base-structure checks, including the name-or-identifier rule and supported JSON serialization shapes; Organization is unsupported under R4. FHIR R5 ServiceRequest checks cover its bounded base structure, required status, intent, and Reference-shaped subject, supported choices and nested shapes, and two base invariants; status and intent values are not terminology-validated. ServiceRequest is unsupported under R4. These checks run in this browser without sending or saving the input. Use sample/test data only; the checks do not validate terminology, profiles, reference resolution, clinical meaning or safety, or full FHIR conformance.

Paste → inspect

The local message workbench

Results update as you type or change the selected release. HL7 v2 checks are basic heuristics. FHIR checks cover only the listed resource and release combinations; MedicationAdministration checks use the selected release's structure. They do not establish clinical correctness or safety, implementation-profile conformance, terminology-binding validation, or full FHIR conformance.

Input sample
Local structural checks run here. Optional AI explanations use a separate request.
0 characters

Paste or type a message, or drop a local .hl7 or .json file onto the editor. Use synthetic or de-identified test content only; no submit button is needed.

The file is read and validated in this browser; it is not uploaded or saved.

Selecting a resource starts JSON when the editor is empty. On an existing JSON object it updates resourceType and keeps the other fields; other input is replaced only after confirmation.

The JSON resource does not declare its base release. Choose the release to validate against.

Ready-to-try JSON

Synthetic FHIR samples

These examples use invented values for structure checks, not real patient records. They load and validate in this browser only.

Automatic format check

Parsed output
Waiting for sample input
Validation status: Awaiting input

Your parsed result will appear here

Local parsing needs no submit action or validation request. Optional AI explanations use a separate request.

Structural flags
Obvious shape issues are listed by level. Passing here does not establish production safety or standards conformance.

Structural flags will appear here when you enter a message.

Optional · account subscription

AI explanations for HL7 v2 and FHIR R4/R5 diagnostics
Local rule checks stay free in this browser. An AI request contains only bounded rule codes, severity, safe paths, and fixed rule messages; it never includes the editor contents, patient values, or field values. Guidance covers the supplied structural rules only and does not assess clinical correctness or full FHIR conformance. Suggestions stay separate and are never applied automatically.
Checking account and subscription access…

Checks included · FHIR R4 (4.0.1) · Encounter + Observation + Condition + MedicationAdministration

  • Required check: One JSON resource objectThe input must parse as one JSON object.
  • Required check: Supported standalone FHIR R4 resource typesSupports Encounter, Observation, Condition, and MedicationAdministration. Condition checks cover code structure only; MedicationAdministration has bounded R4 (4.0.1) structural checks.
  • Required check: Encounter.status required exactly onceA non-empty JSON string from planned, arrived, triaged, in-progress, onleave, finished, cancelled, entered-in-error, unknown is required.
  • Required check: Encounter.class required CodingEncounter.class must use one JSON property containing one Coding object. Coding field types are checked; extensible ActEncounterCode values are not treated as a closed list.
  • Required check: Condition.code required CodeableConceptCondition.code must appear once as an object; text, coding, and Coding field JSON types are checked without terminology or profile binding validation.
  • Required check: Observation base structureObservation.status and Observation.code are required. Defined R4 Observation elements are checked for cardinality, JSON shape and primitive or common complex types.
  • Required check: Observation choice fieldsR4 effective[x] and value[x] choices are checked against the R4 base definitions, including one-choice cardinality.
  • Required check: MedicationAdministration base structure (R4)Checks the required status, one medication[x], subject, and effective[x]; performer.actor when performers are supplied; and dose or one rate[x] when dosage is supplied. Relevant primitive, object, array, nested, cardinality, duplicate-property, and choice shapes are checked. References are not resolved, and clinical meaning, profiles, terminology bindings, and full FHIR conformance are not checked.