patientId | string | Yes | Patient reference |
authorId | string | No | Practitioner who authored the note |
encounterId | string | No | Encounter reference |
type | NoteType | No | Type of clinical note |
title | string | Yes | Note title |
content | string | Yes | Note content (plain text or markdown) |
contentType | string | No | MIME type (default: text/plain) |
docStatus | string | No | preliminary, final, amended |
category | string | No | Category tag |
date | string | No | Clinically relevant date |
relatesTo | Array<{ code, targetId }> | No | Relationships to other documents |
securityLabel | Array<{ system?, code, display? }> | No | Document security tags |
authenticatorId | string | No | Who authenticated the document |
custodianId | string | No | Organization maintaining the document |
servicePeriod | { start?, end? } | No | Time period of service documented |
facilityType | string | No | Kind of facility |
practiceSetting | string | No | Clinical specialty |