Recording patient consent and signatures in Medplum: what it does and when you need it
Medplum records consents as versioned FHIR Consent resources rather than opaque PDFs, recommends one Consent per agreement, and can link a handwritten digital signature to the record. If your clinical or patient-facing app must prove what a patient agreed to and when, this is the data model you will build around. Teams usually reach this need when a patient authorizes data sharing, agrees to telehealth or research use, accepts a portal's terms, or grants a third party access to their records, and someone later asks for proof of that specific agreement, its wording at the time, and who recorded it. A stored PDF can answer the first question poorly. A structured Consent resource can answer all of them in a form your application and reviewers can query.
The structure matters because each Consent should cover one agreement with one scope and one policy coding, so that revoking or replacing one permission does not silently change others. Questionnaire capture lets the agreement wording and the patient's answers be stored alongside the Consent, and a linked signature image shows the patient's handwritten approval. Consent records also need to be read correctly by your access policies and any SMART app grants, so the same agreement must drive what the system actually allows. Confirm with your own clinical and compliance leads which agreements your product requires and how each must be versioned.
What Medplum does not do on its own is make a consent legally sufficient. Whether a particular form, signature method or capture flow meets the consent rules in your jurisdiction and under your regulators depends on the wording, the context of collection and your organization's obligations, and that determination belongs to qualified counsel and your compliance function, not to the platform. Medplum's consent documentation describes how the resources and signatures are represented, which is the starting point for the technical design. Before build, ask counsel to review the agreement text, the signature method and retention rules, and plan the audit trail for who recorded or changed each Consent.
How a Medplum Consent resource is structured
A Medplum Consent is a versioned FHIR resource, so the design work sits in a few fields that every later query, audit and policy depends on. The cards below cover the decisions to settle before the first consent is recorded, in roughly the order a team meets them.
One Consent per agreement
Medplum recommends one Consent resource for each agreement, such as a treatment authorization, a research opt-in or a release of information. Combining several agreements into one record makes it hard to revoke one without touching the others. Decide the agreement catalog early, because each entry will need its own scope and policy coding. Confirm the recommendation and any exceptions in the consent documentation before modeling.
Consent docsPatient reference
Each Consent points to the Patient it applies to, and that reference is what access policies and searches later use to find a person's consents. Check that the reference uses the same identifier your registration and matching processes produce, so duplicate patient records do not split one person's consent history. Also decide who may create a Consent for a patient, such as a clinician, the patient through a portal, or a legal representative.
Scope and policy coding
The scope field states the kind of consent (for example, patient privacy or treatment), and the policy coding identifies the specific rule or document the patient agreed to. Agree on one code system and a small, governed value set with compliance and clinical owners before go-live. Free-text values make later reporting and access decisions unreliable. Confirm the exact coding elements and recommended code systems in the consent docs.
Status and period fields
The status field records whether the consent is active, inactive or otherwise not in force, and the period field bounds when it applies. Together they answer the question your auditors and access rules will ask: was this patient's agreement in effect on a given date? Define who sets each status, and whether an expired consent is closed by a time limit or by a person. Verify the allowed values against the Medplum consent docs.
Versioning and change history
Changes should create a new version rather than overwrite the record. When a patient revises or withdraws an agreement, the earlier Consent remains available as evidence of what was in force at that time. Decide how the new version links to the one it replaces, and how a withdrawal is represented so that an older active version is not still treated as current. Test this path with a withdrawal case before launch.
Consent docsQuestionnaire and signature links
Consents can be captured through a questionnaire, with a handwritten digital signature linked to the record. Decide which questionnaire version the patient completed, and store enough context (language, date and the wording shown) to reproduce the agreement later. Check how the signature is attached and who can read it, because it is personal data in its own right. Confirm the linking method against the Medplum consent docs before building the form.
Capturing consent through questionnaires, signatures or both
In this pattern, the patient or staff member answers a structured questionnaire, and the answers are stored as a QuestionnaireResponse. Your application then derives a Consent resource from those answers, so the agreement is recorded as data the system can query, not as a scanned form. Staff typically walk the patient through the questions in a clinic or the patient completes them in a portal before a visit.
- Questionnaire design: Write each consent question as a discrete item with a stable linkId, so the mapping to the Consent resource does not depend on wording.
- Mapping logic: Build the step that reads the QuestionnaireResponse and creates one Consent per agreement, setting the scope and policy coding from the answers.
- Versioning: Store the questionnaire version alongside the response so you can show which wording the patient accepted.
- Incomplete answers: Decide how the flow handles skipped or declined items and make sure no Consent is created from a partial response.
- Patient or staff entry: Confirm who can submit the response and what the patient sees when a question is unanswered.
Verify that a test response produces exactly the expected Consent, that a changed questionnaire version does not overwrite earlier records, and that the link between the response and the Consent is preserved. Confirm the exact questionnaire and Consent capabilities against the Medplum consent documentation before you finalize the design.
In this pattern, the patient signs by hand on a device or paper, and the captured image is linked to the Consent as a digital signature. The Consent records the agreement, and the signature provides evidence that the patient signed it. This suits workflows where the written form and the signature are already part of the clinic's process and the team wants to keep that step.
- Capture device: Choose a signing surface that writes a stable image, and decide whether signing happens in clinic, at check-in or on a portal.
- Storage and linking: Store the signature image as a Binary with a securityContext and attach it to the Consent, so it cannot be read outside the intended access rules.
- Signer identity: Record who signed and when, and confirm the signature is tied to the Consent it supports, not to a loose file.
- Witness or staff step: Decide whether a staff member must confirm identity before the signature is accepted.
- Revocation: Plan how a new signature or a withdrawn agreement creates a new Consent version instead of editing the old signature.
Verify that the signature image is only retrievable by users with the right access, that a signature cannot be attached to the wrong patient, and that a re-signed agreement produces a new record. Check the binary handling steps in the Medplum consent documentation before relying on them.
The combined flow captures structured answers first and then links a handwritten signature to the Consent they produce. This gives the team queryable consent data and a signature artifact in one sequence. It is common where a regulator, a payer or an internal policy asks for both a recorded choice and a signed form, and where staff need to show that the patient reviewed specific items before signing.
- Sequencing: Fix the order: questionnaire answers first, signature last, so the signature attests to a completed response.
- Single Consent: Create one Consent per agreement and link the QuestionnaireResponse and the signature to it, rather than splitting the agreement across records.
- Edit control: Block changes to answers after signing, and route any correction through a new response and a new Consent.
- Audit trail: Log who completed each step and which user recorded any change, so each part of the sequence can be traced.
- Failure handling: Decide what happens when the signature step fails after answers are saved, and whether the Consent stays pending.
Verify that the signature cannot be captured before the questionnaire is complete, that corrections create new versions, and that the audit records show every step for a sample patient. Confirm the logging and versioning behavior in your own environment before go-live.
Consent configuration options and when each fits
This table compares the main configuration choices for recording consents in Medplum: how to code the scope and policy, whether staff or patients record the consent, how the consent is captured, and how signatures are collected. Read each row against your consent types and your intake workflow, and expect the build effort to rise as you add more capture paths and coding rules.
| Decision | When it fits | Build effort and trade-off | What to confirm |
|---|---|---|---|
| Consent scope and policy coding from standard code systems | Consents that must be understood by outside systems, payers or auditors who expect recognized codes | Moderate. Your team maps each agreement type to chosen codes and keeps a written mapping that clinical and compliance staff can review | Which code systems your partners accept and whether your local terminology needs a custom CodeSystem |
| Custom local codes for scope and policy | Internal consent types with no fit in a standard code system, such as a practice-specific research program | Lower upfront mapping but more ongoing governance, since every custom code needs an owner and a retirement path | Whether downstream consumers can interpret your local codes without extra documentation |
| Questionnaire-driven capture | Intake that asks the patient several questions before the consent applies, or where answers must be stored with the agreement | Higher build effort. Questionnaire logic, response mapping to the Consent resource and review screens all need testing | Whether the questionnaire version is pinned so each recorded consent points to the wording the patient saw |
| Direct entry of a Consent resource | Simple, single-question agreements completed by staff at the front desk or during a visit | Lower build effort, but staff need a consistent data entry standard to keep one agreement per resource | Which fields staff must complete and how entry errors are caught before saving |
| Staff-recorded consent | Consents given on paper or verbally that a trained staff member records on the patient's behalf | Access rules must limit who can create or change consents. Requires clear procedures for witnessing and attestation | Which roles can record consents and whether your access policies enforce that split |
| Patient-recorded consent through a portal or app | Patients who manage their own preferences or sign agreements before arrival | Higher effort. Patient identity checks, SMART or patient-scoped access and a tested signing flow must be in place first | How patient identity is verified before the patient can create or change a consent |
| Signature capture on a staff tablet | In-clinic signing where the patient signs at the same location as the staff member | Moderate. The device, the signature image storage and the link to the Consent need testing on every device you deploy | How the signature image is stored and whether it is linked through Binary resources with the right security context |
| Signature capture on a patient's own device | Remote or pre-visit signing where the patient uses a personal phone or computer | Higher effort. Device variation, session timeouts and identity checks add testing and support load | Whether your signing flow meets your legal and records requirements for remote signatures |
| Consent recorded with no handwritten signature | Agreements where your policy accepts a recorded click or checkbox as the consent record | Lowest capture effort, but the evidence standard must be agreed with your compliance team before build | Which evidence your regulators, payers and auditors accept for each consent type |
Setting up consent recording in Medplum step by step
This sequence takes a team from an agreed consent catalog to a working write path that stores each agreement as a versioned FHIR Consent resource, with a handwritten signature attached and access rules that control who can record and read it. Each step ends with a check so problems surface before live patient data is involved.
Agree the consent catalog and coding with compliance
Before anything is built, the compliance or privacy lead and the implementation team list every consent type the organization needs, such as treatment, data sharing or research participation. For each type, agree the wording version, the scope it covers, and the code values that will identify its policy in the Consent resource. Record the agreed list in a controlled document that the build references. The step is done when compliance has signed off the catalog and every consent type has one agreed code and one owner.
Define the consent questionnaire
Build a Questionnaire in Medplum for each consent type, using the approved wording as the question text and separate items for the patient's decision, the scope they accept, and any limits they set. Keep the questionnaire version tied to the catalog version so a later change to the wording produces a new version rather than an edit to the old one. Preview the form in the Medplum app with sample patients that exist only in a test project. The check is that every catalog entry has one questionnaire, and each answer maps to a field you intend to store.
Create the Consent write path
Configure the write path that turns a completed QuestionnaireResponse into a Consent resource. Each Consent should cover one agreement, with the patient reference, the policy code from the catalog, the status, the dateTime, and a link back to the questionnaire response. Recommended practice is one Consent per agreement, so a patient who signs two consent types gets two resources. Confirm the exact mapping with your Medplum implementation team and test it against a non-production project. The check is that a single test submission creates one Consent with the expected coding and a traceable link to its source response.
Attach the handwritten signature Binary
Capture the handwritten signature as an image and store it as a Binary resource, then link that Binary from the Consent's signature or provision element so the agreement and the signed evidence stay together. Set the securityContext on the Binary so it is tied to the patient's compartment, because Binary resources do not follow compartment rules by default. Confirm the signature capture method and file format with your compliance team before rollout. The check is that a signed test Consent resolves to its image and that a user without access to the patient cannot retrieve the Binary.
Set access policies for writing and reading consents
Create access policies that separate who can record a consent from who can read it. Recording is typically limited to registration or front-desk roles, while clinicians may need read access and nobody should edit a Consent after it is signed. Grant write access on Consent resources to the recording role only, and restrict update and delete for everyone except an administrator. Use the policy testing tools in Medplum with test users for each role before you proceed. The check is that each test user can perform exactly the actions their role allows, and an attempt to edit a signed Consent is refused.
Test versioning and the audit trail
Record a second Consent for the same patient and agreement, changing the scope or the signature, and confirm the first version still exists unchanged. Medplum keeps versioned FHIR history, so check that the earlier resource can be read by version ID and that the new one is distinct. Then review the audit events to confirm they show which user created or changed each Consent and when. Repeat the test for a withdrawal or revocation and record the outcome. The check is that a second version does not overwrite the first, and the audit record names the user responsible for each change.
How a consent moves from patient capture to audit
The flow starts in the app, where a patient or staff member completes a questionnaire. The app then writes a versioned Consent resource to the Medplum server and links a handwritten signature stored as a Binary. When the agreement changes, a new Consent version is created rather than overwriting the old one, and the server's audit trail records which user made each change. The trust boundary sits between the app and the Medplum server, so check that the app's credentials can only write the consent data it should.
Consent capture, signature linking, versioning and audit across the app and Medplum server boundary.
Auditing who recorded or changed a consent
A consent is only defensible if you can show who recorded it, when, and what changed afterward. The cards below cover how versioning, audit data and history queries work together, and what to confirm in your own deployment before an inspection.
Record author and time on every change
Each consent change should be a new version of the Consent resource rather than an overwrite, so the previous state remains readable. Medplum's audit data records the actor and time for create and update operations, and your service account or user identity should be the only path that writes consents. Check that clinicians and integrations use their own identities, not shared logins, because the author on a shared login tells an inspector nothing about who acted.
Consent docsQuery version history for inspections
Before an inspection, you need to reproduce the consent that was in force on a given date. Retrieve the resource history for a Consent and filter by the time window under review, then match each version against the signature and questionnaire response it references. Test this query on a sample patient before you need it under pressure, and keep a written procedure for the export.
Confirm which audit events are logged
Ask your deployment team exactly which audit events the server writes for Consent reads, creates and updates, and for signature and questionnaire submissions. Confirm whether failed writes and access denials are logged, and whether the log captures the request source. These answers vary by configuration and version, so verify them in your environment rather than assuming the defaults cover your inspection needs.
Confirm log retention and location
Audit records are only useful if they outlive the period an inspector or litigant asks about. Confirm where the server ships its logs, who can read them, and how long each store keeps them. For a self-hosted deployment, retention sits with your infrastructure and your backup policy, so write the retention period into your compliance records and test that you can restore an old log export.
Separate consent authorship from clinical edits
A consent recorded by a front-desk user and later amended by a compliance officer should show two distinct authors. Decide who may revise a consent, whether a revision supersedes the old one or sits beside it, and how a withdrawal is recorded. Enforce those rules with access policies and confirm in testing that a user without the right role cannot edit or delete a Consent.
Test the audit trail before go-live
Run a scripted scenario: create a consent, sign it, amend it, withdraw it, then pull the history and audit records for that patient. Compare the output to what you expected at each step. Repeat the test after every upgrade, since audit behavior and retention settings can change between releases and must be rechecked.
Questions teams ask before recording consents in Medplum
What drives the cost of recording consents in Medplum?
The cost follows the amount of design and build work, not the Medplum license, because the platform's Consent resource and questionnaire capture are part of the product. The main drivers are how many consent types you need, how many questionnaire items each one carries, whether signatures must be captured and stored as digital signatures, and how many existing systems the consents must reach, such as an EHR or patient portal. A written scope should list each consent type, its questions, its signature method, and every integration, so the quote can be compared line by line. Hosting costs are separate and recur, since they depend on whether you use Medplum Cloud or self-host. Ask for the one-time build items and the recurring items as separate lines.
How long does a consent build take in Medplum?
Duration depends on the same drivers as cost: the number of consent types, questionnaire complexity, signature handling and integration count. A single consent type with a fixed questionnaire and no external system is a much smaller piece of work than a set of versioned consents for several clinical services that must feed an EHR. Clinical and compliance review often sets the pace more than engineering does, because wording, versions and sign-off take time to settle. Ask any partner to show the phases, the review gates and the dependencies on your content, rather than accepting a single total without a breakdown.
What do we need to provide before consent work starts?
Three inputs usually decide whether the work moves smoothly. First, compliance sign-off on which consent types you need, the legal wording for each, and the version rules you will follow when wording changes. Second, clinical or business content: the questionnaire items, answer options and the clinical meaning of each consent scope, supplied by people who own those decisions. Third, test patients and test users in a non-production Medplum project, along with a named person who can approve test results. Your team should also confirm which signature method your legal team accepts before the build, because that choice shapes how signatures are captured and stored.
Can our internal team build consent recording in Medplum on its own?
Yes, a capable internal team can build it, because Medplum's documentation describes how to store consents as versioned FHIR Consent resources, link questionnaires and attach a handwritten digital signature. The work is most often limited by the people and time available rather than by platform knowledge. Teams that build in-house usually need developers who understand FHIR, staff who can write access policies so consent records are read and changed only by the right people, and a clinical or compliance owner for the content. A partner is more useful when the timeline is short, when several systems must integrate, or when the internal team lacks FHIR experience. Consider a scoped pilot with one consent type to test the skills before committing to the full set.
How does integrating with an existing EHR or patient portal change the effort?
Integration usually adds the largest share of effort and the most unknowns. Each system must agree on how it identifies the patient, how it sends or reads consent records, what happens when a consent is revoked or a new version is issued, and how errors are reported. Expect work on mapping fields, testing message flows and agreeing on who owns the data when systems disagree. Ask whether the integration must run in both directions, whether real-time or batch exchange is required, and which system is the source of truth for each consent. Medplum's integrations are described in a separate section of this site and are a good next read before scoping this work.
Which compliance and audit checks apply to recorded consents?
Medplum's compliance documentation covers several frameworks and states that compliance is a shared responsibility between Medplum and its customers. For consents, the question is which regulations your organization answers to and what evidence each one requires, such as who recorded each change and when. Medplum's documentation describes consents as versioned, which supports an audit trail, but you must still configure access, retention and review to meet your own obligations. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue any audit reports or certifications. Ask your compliance lead which evidence they will request before the build starts.
What should we test before consents go live?
Test the full path a real consent takes, not only the form. Check that each consent type creates exactly one Consent resource per agreement, that questionnaire answers map to the right scope and policy coding, and that the signature is linked to the correct record. Test revocation and new versions, confirm that a changed consent does not silently overwrite the earlier one, and verify that only authorized staff can record or alter a consent. Run these tests with test patients in a non-production project, record the results, and have a named clinical or compliance owner approve them. Ask any partner for its test plan and acceptance criteria in writing.
Does DeployOpen issue compliance certifications for consent workflows?
No. DeployOpen plans, implements, tests and documents the platform and prepares the systems, controls and evidence that an assessment will review, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. For consent work, DeployOpen can help define the record structure, the access controls, the change history and the test evidence, then give your compliance team material to review. Ask your auditor in advance which evidence they expect, so the build produces it from the start.
How DeployOpen scopes and delivers consent recording on Medplum
DeployOpen plans, implements and tests consent workflows on Medplum inside your own infrastructure, whether that is your AWS account, a Kubernetes cluster you run, or another environment you control. The work is normally sold as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before build starts. The written scope should name which consent types are covered (for example, treatment, research or data sharing), which questionnaires drive capture, how signatures are linked, which roles can record or revise consents, and which downstream systems read the Consent resources. A quote follows from that scope, and DeployOpen does not publish a price list, so ask for the scope to be written out line by line before comparing offers.
Testing is part of delivery. DeployOpen checks that each Consent carries the intended scope and policy coding, that questionnaire responses map to the right resource, and that access policies stop users from reading or changing consents outside their role. It also checks that audit records show who recorded each change. The output is the configuration, test evidence and operating notes your compliance and security teams need for review. DeployOpen prepares these systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies make those determinations, and you should confirm early which evidence your assessor will ask for.
Ongoing changes are usually handled through a support retainer. Consent categories, policy wording and questionnaires tend to change after go-live, and each Medplum upgrade needs regression testing of the consent flow. Ask in the quote whether retainer hours, retesting after upgrades and emergency fixes are included, and how change requests move through approval. Medplum's own versioning policy sets the upgrade cadence that the retainer has to follow, so align the scope with it from the start.

