createCondition
Generate and record patient conditions or diagnoses by specifying a patient ID, condition code, and clinical status. Facilitates accurate healthcare data management for Medplum FHIR servers.
Instructions
Creates a new condition or diagnosis for a patient. Requires a patient ID and a condition code.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clinicalStatus | No | The clinical status of the condition. For example: "active", "inactive", "resolved". | |
code | Yes | The code representing the condition. Must include a coding system, code, and display text. | |
onsetString | No | Estimated date, state, or age when the condition began (e.g., "about 3 years ago"). Optional. | |
patientId | Yes | The ID of the patient for whom the condition is being created. | |
recordedDate | No | The date the condition was recorded, in YYYY-MM-DD format. Optional. |