Skip to content

TX7: send-patient-update ​

Transaction Overview ​

send-patient-update sends updated patient information to an organization that previously received information about the patient. Previously shared patient information is used to support matching to the existing patient record; the transaction payload conveys the updated patient information.

The canonical transaction code is send-patient-update. TX7 is a local editorial label assigned by the cc-maternal-health-birth Use Case Guide for readability and navigation; it is not the interoperable transaction identifier. The canonical transaction code is intended to remain stable and reusable across use cases.

This transaction deliberately separates prior identity information used for matching from the new information being asserted. The exact machine-processable payload representation is not yet fixed by the source specifications reviewed for this draft; fields marked TBD remain to be completed when that representation is selected.

SMTP/MIME Message Header ​

The following SMTP/MIME message-header metadata supports early message routing and processing, use-case awareness, reusable transaction identification, Payload Metadata representation, Direct final-destination delivery notification, and optional workflow-status return.

Message-header layering. x-direct-useCase identifies the use-case context known to the sender; x-direct-transaction identifies the reusable exchange behavior; and x-direct-metadataTypeCode identifies how Payload Metadata is represented. Message Delivery confirms arrival of the Message at its Final Destination. Workflow Status provides the stronger assurance that the Payload reached its intended workflow. Both responses use the Direct address supplied in Disposition-Notification-To.

Final Destination is intentionally implementation-dependent. Depending on the receiving architecture and edge protocol, successful delivery may be established through SMTP, an IMAP/mailbox arrangement, XDR, a custom API, or another supported receiving interface. A successful Final Destination Delivery Notification does not establish that the Payload was parsed, matched, routed, accepted, or delivered into its intended business workflow.

Conf.Header elementFixed value / constraintImplementation guidance
RContent-Typemultipart/mixedOuter Direct message content type.
Rx-direct-metadata-payload-versionIdentifier1Metadata and Payload Framework version identifier.
Rx-direct-useCasecc-maternal-health-birthIdentifies the use-case context known to the sender. It is not an exclusive internal-routing instruction; the Receiver Actor may apply received information to other authorized workflows for which it is relevant.
Rx-direct-metadataTypeCodeurn:dt-org:dsm:map:SMTP+XD:1.0Identifies the Payload Metadata representation. This value indicates that XD metadata/XDM package processing applies; Subject is not used as an XDM processing signal.
Ox-direct-purposeTREATMENTPurpose of use when applicable.
Ox-direct-workflow-status-requestedtrue | false; absent = falseWhen true, requests TX8 send-workflow-status after the Payload reaches, or fails to reach, its intended workflow. The response is sent to Disposition-Notification-To.
OSubjectNo fixed value specifiedHuman-readable subject line. SHALL NOT be relied upon as the machine-processable indication that the message carries XD/XDM metadata.
ODisposition-Notification-OptionsX-DIRECT-FINAL-DESTINATION-DELIVERY=optional,trueInclude when Direct Final Destination Delivery Notification is requested.
RE/R2Disposition-Notification-ToSender-designated Direct addressReturn address for a requested MDN and for requested TX8 Workflow Status. SHALL be populated when x-direct-workflow-status-requested=true and when final-destination delivery notification is requested.
Rx-direct-transactionsend-patient-updateCanonical, stable reusable transaction code. SHALL carry the canonical transaction identity, not the local editorial TX number.

XD Metadata Guidance ​

XD is the fully specified representation of Payload Metadata for this transaction. The requirements in this section define the package-level and payload-object metadata semantics used as the source requirements for alternative metadata representations.

This transaction does not establish persistent stateful work and therefore does not require an outbound FHIR Task. When Workflow Status is requested, the Receiver responds using TX8 as specified by that transaction.

Payload Packaging Structure ​

Conf.MIME part / package objectContentMIME type
RMIME Part 1Human-readable healthcare communicationtext/plain
OMIME Part 1 alternativeHTML healthcare communicationtext/html
RMIME Part 2XDM ZIP packageapplication/zip
RXDM SubmissionSetXDM SubmissionSetn/a
RContained XDM document 2Updated Patient Information payloadTBD
RContained XDM document 3Human-readable healthcare communicationtext/plain
OContained XDM document 3 alternativeHTML healthcare communicationtext/html

MIME Part 1 - Human Readable Communication ​

MIME Part 1 SHALL provide a concise human-readable communication sufficient for a person to understand the event, information supplied, or workflow status without requiring machine processing.

MIME Part 2 - Structured Data Package ​

MIME Part 2 holds the XDM structured data package and the machine-processable payload modules associated with the transaction.

Conf.Metadata elementValue / constraintNotes
RContent-Typeapplication/zipThe second outer MIME part is the XDM package.
RContent-Transfer-Encodingbase64Required for the binary ZIP package.
RContent-IDSystem-assignedPopulate a MIME Content-ID.
RContent-Dispositionattachment; filename="xdm.zip"Fixed package disposition.

SubmissionSet ​

Conf.Metadata elementValue / sourceUse-case guidance
RuniqueIdSystem-assignedGlobally unique SubmissionSet identifier.
RavailabilityStatusurn:oasis:names:tc:ebxml-regrep:StatusType:ApprovedFixed status.
RsubmissionTimeSystem-generatedNo additional use-case constraint.
RintendedRecipientDirect address selected for organization that previously received informationThe recipient is expected to have an existing patient record to update.
RE/R2patientIdPreviously known patient identifier when known to intended recipientUse for correlation to the existing recipient record.
RsourcePatientIdCurrent/source patient identifierPreserve assigning authority.
RsourcePatientInfoPreviously shared patient-identifying information plus current information as required by the selected payloadPrior information supports matching; updated information is carried in the payload.
RauthorActual Sender Actor / represented organizationIdentifies who assembled/sent the package.
Rpurposesend-patient-updateCanonical transaction code used as the transaction purpose. SHALL match x-direct-transaction.
RE/R2contentTypeCodesend-patient-updateCanonical transaction code. SHALL match x-direct-transaction and identify the reusable transaction represented by this package. The local editorial TX number is not carried as interoperable metadata.
OtitlePatient UpdateConcise human-readable package title.
OdescriptionDescription of patient information changeDo not expose unnecessary sensitive detail in the title.
OreferenceIdListPregnancy or other applicable Context Instance identifiersCarry only when the update is associated with a defined context.

Workflow Task Applicability ​

When included, the Task conveys workflow Context Instance identity, current state, intent, responsibility, and timing. It SHOULD be the first DocumentEntry, but typeCode is the authoritative recognition mechanism.

Conf.Metadata elementValue / sourceUse-case guidance
OentryUUIDSystem-assignedRegistry entry identifier.
OURISystem-assigned package URIAs required by the selected XDM option.
OuniqueIdSystem-assignedGlobally unique payload identifier.
OmimeTypeapplication/fhir+xmlInitial recommended serialization for examples; equivalent JSON may be supported where specified.
OclassCodesend-patient-updateCanonical transaction classification. SHALL match x-direct-transaction and SubmissionSet.contentTypeCode. DocumentEntry.typeCode separately identifies the specific payload object or clinical/event type.
OtitleHuman-readable workflow-module titleMay identify the transaction and workflow context.
OpatientIdPatient identifier known to intended recipient when availableAlign with SubmissionSet patient identity strategy.

Document Entry - Updated Patient Information ​

Conf.Metadata elementValue / sourceUse-case guidance
RentryUUIDSystem-assignedRegistry entry identifier.
RuniqueIdSystem-assignedGlobally unique payload identifier.
RmimeTypeTBDTo be fixed when the machine-processable payload representation is selected.
RE/R2formatCodeTBDTo be fixed with the payload representation.
RE/R2classCodesend-patient-updateCanonical transaction classification. SHALL match x-direct-transaction and SubmissionSet.contentTypeCode. DocumentEntry.typeCode separately identifies the specific payload object or clinical/event type.
RE/R2typeCodePatient Update code TBDLocal or standardized terminology still to be assigned.
RE/R2patientIdPreviously known patient identifier when availableSupports matching to the recipient's existing record.
RE/R2sourcePatientIdCurrent/source patient identifierPreserve assigning authority.
RE/R2sourcePatientInfoPatient demographics needed to interpret the updateMaintain clear distinction between prior matching information and updated values.
RE/R2creationTimePayload creation timeRepresents creation of the update payload, not an unrelated clinical encounter.
RE/R2authorInformation Source / actual Content Creator as applicablePreserve responsible-party provenance.

FHIR Metadata Guidance ​

When FHIR is used to represent Payload Metadata, implementers SHALL apply the same metadata requirements, coding, and semantics specified in the XD Metadata Guidance, using Appendix C - Mapping XD Metadata to FHIR Resources. SubmissionSet metadata is represented in a FHIR List Resource, and corresponding XD DocumentEntry metadata is represented in FHIR DocumentReference Resources referenced by the List. This is an alternative representation of the same Payload Metadata, not a different metadata model.

FHIR Task profiling for Workflow Status is defined by TX8; it is not duplicated in this transaction.

Context IG Metadata Guidance ​

TBD - Context IG Metadata Guidance. Guidance for representing this transaction's Payload Metadata using the DirectTrust Context IG specification will be added following completion of the current major Context IG redesign.

Context informationUse-case guidance
Pregnancy Context InstanceCarry or correlate when the exchanged information belongs to the established pregnancy episode.
Visit / Encounter ContextCarry when a specific visit or stay is relevant to the transaction.
Workflow / Request ContextCarry when the transaction establishes or advances a bounded workflow.
Context statusDo not confuse status with context identity. The Context Instance Identifier remains stable while lifecycle state changes.

Technical Actor Functional Requirements ​

ActorRequirement categoryNormative requirement
Content CreatorPrior identity informationSHALL provide sufficient previously shared patient information to support matching at the receiving organization.
Content CreatorUpdated informationSHALL clearly distinguish the updated patient information from prior information used only for matching.
Message SenderTransmissionSHALL package and transmit the Direct message using the selected payload representation and applicable metadata.
Message ReceiverReceiptSHALL receive and validate the message and make the payload/metadata available to the Content Consumer.
Content ConsumerMatch before updateSHALL match the subject to the appropriate existing patient record before applying the new information.
Content ConsumerUpdate processingSHALL process the updated patient information according to organizational policy and preserve relevant provenance.
Receiver ActorWorkflow statusWhen x-direct-workflow-status-requested=true, SHALL initiate TX8 after determining whether the Payload reached its intended workflow and SHALL send the TX8 Direct message to the address specified by Disposition-Notification-To. Defined processing anomalies may require TX8 regardless of the request flag.