Generate E/M codes asynchronously
POST/generate-em-codes-async
Creates an asynchronous task that generates Evaluation & Management (E/M) CPT codes from a clinical transcript and note, then keeps the response for two hours allowing it to be fetched using the poll endpoint.
The endpoint predicts the visit type (if not provided) and determines the MDM level in parallel (only if the visit_type is sick_visit or split_visit), then computes the appropriate CPT codes.
warning
This feature is a U.S. product release only; this should not be used outside of U.S. markets.
Request
Responses
- 200
Request received and processing started.
Operation spec
{
"method": "post",
"path": "/generate-em-codes-async",
"operationId": "generate-em-codes-async",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"description": "Input for asynchronous E/M code generation.",
"properties": {
"transcript_items": {
"type": "array",
"description": "The transcript items from the encounter. Make sure items are sorted by time.",
"items": {
"type": "object",
"description": "A portion of the transcribed consultation.",
"properties": {
"text": {
"type": "string",
"description": "The transcribed text.",
"example": "Also, I’m allergic to peanuts."
},
"speaker_type": {
"type": "string",
"enum": [
"DOCTOR",
"PATIENT",
"UNSPECIFIED"
],
"description": "Who said the text in this transcript item.",
"example": "DOCTOR",
"title": "speaker"
}
},
"required": [
"text",
"speaker_type"
],
"title": "transcript_item_request"
}
},
"note": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title of the note.",
"example": "Fever and strong headache"
},
"sections": {
"type": "array",
"description": "Sections of the note.",
"items": {
"type": "object",
"description": "A note section.",
"properties": {
"key": {
"type": "string",
"description": "A key identifying a section of a note.\nThe set of possible keys depend on the template that is used. Check [Note template](/next/core-api/guides/note-templates/note-templates-sections) for possible values.",
"example": "CHIEF_COMPLAINT",
"title": "note_section_key"
},
"title": {
"type": "string",
"description": "The section title.",
"example": "Chief complaint"
},
"content": {
"oneOf": [
{
"title": "TEXT",
"type": "object",
"description": "Plain-text note section content.",
"required": [
"type",
"text"
],
"properties": {
"type": {
"type": "string",
"enum": [
"TEXT"
]
},
"text": {
"type": "string",
"description": "Content of the note section."
}
}
},
{
"title": "SUBSECTIONS",
"type": "object",
"description": "Structured note section content as subsections.",
"required": [
"type",
"subsections"
],
"properties": {
"type": {
"type": "string",
"enum": [
"SUBSECTIONS"
]
},
"subsections": {
"type": "array",
"minItems": 1,
"description": "Structured subsections. Allowed only on the Assessment & Plan section of A&P-merged templates. Order is significant.",
"items": {
"type": "object",
"description": "A subsection of a note section. Currently only used on the Assessment & Plan section of A&P-merged templates.",
"properties": {
"id": {
"description": "Stable identifier for this subsection. Echoed on normalized conditions via `subsection_id`.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"title": {
"type": "string",
"description": "Short subsection title (typically a clinical problem name). May be absent (e.g. subsections appended by dot phrase auto-apply)."
},
"text": {
"type": "string",
"description": "Free-text content of the subsection. May be absent if the subsection only carries a title."
}
},
"required": [
"id"
],
"title": "note_section_subsection_request"
}
}
}
}
],
"discriminator": {
"propertyName": "type",
"mapping": {
"TEXT": {
"type": "object",
"description": "Plain-text note section content.",
"required": [
"type",
"text"
],
"properties": {
"type": {
"type": "string",
"enum": [
"TEXT"
]
},
"text": {
"type": "string",
"description": "Content of the note section."
}
},
"title": "note_section_content_text_request"
},
"SUBSECTIONS": {
"type": "object",
"description": "Structured note section content as subsections.",
"required": [
"type",
"subsections"
],
"properties": {
"type": {
"type": "string",
"enum": [
"SUBSECTIONS"
]
},
"subsections": {
"type": "array",
"minItems": 1,
"description": "Structured subsections. Allowed only on the Assessment & Plan section of A&P-merged templates. Order is significant.",
"items": {
"type": "object",
"description": "A subsection of a note section. Currently only used on the Assessment & Plan section of A&P-merged templates.",
"properties": {
"id": {
"description": "Stable identifier for this subsection. Echoed on normalized conditions via `subsection_id`.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"title": {
"type": "string",
"description": "Short subsection title (typically a clinical problem name). May be absent (e.g. subsections appended by dot phrase auto-apply)."
},
"text": {
"type": "string",
"description": "Free-text content of the subsection. May be absent if the subsection only carries a title."
}
},
"required": [
"id"
],
"title": "note_section_subsection_request"
}
}
},
"title": "note_section_content_subsections_request"
}
}
},
"title": "note_section_content_request"
}
},
"required": [
"key",
"title",
"content"
],
"title": "note_section_request"
}
},
"locale": {
"type": "string",
"description": "Locale of the note.",
"enum": [
"ENGLISH_US",
"ENGLISH_UK",
"FRENCH_FR"
],
"example": "ENGLISH_US",
"title": "note_locale"
},
"template_key": {
"type": "string",
"description": "Human-readable identifier for the note template used to generate this note."
}
},
"required": [
"sections",
"locale",
"template_key"
],
"title": "note_request"
},
"specialty": {
"type": "string",
"description": "The medical specialty of the provider.",
"nullable": true,
"enum": [
"ADDICTION_MEDICINE",
"PAIN_MEDICINE",
"ALLERGY_AND_IMMUNOLOGY",
"ANESTHESIOLOGY",
"ONCOLOGY",
"CARDIOLOGY",
"SURGERY",
"DERMATOLOGY",
"DIABETOLOGY",
"ENDOCRINOLOGY",
"GENETICS",
"GERIATRICS",
"GYNECOLOGY",
"HEMATOLOGY",
"HEPATOLOGY",
"GASTROENTEROLOGY",
"SPORTS_MEDICINE",
"OCCUPATIONAL_MEDICINE",
"GENERAL_MEDICINE",
"FORENSIC_MEDICINE",
"PHYSICAL_MEDICINE_AND_REHABILITATION",
"NEPHROLOGY",
"NEUROLOGY",
"NUTRITION",
"DIETETICS",
"OPHTHALMOLOGY",
"ENT",
"PEDIATRICS",
"PULMONOLOGY",
"PSYCHIATRY",
"RHEUMATOLOGY",
"RADIOLOGY",
"IMMUNOLOGY",
"INFECTIOUS_DISEASE",
"SEXUAL_MEDICINE",
"TOXICOLOGY",
"UROLOGY",
"MIDWIFE",
"EMERGENCY_MEDICINE",
"NURSE",
"PSYCHOLOGY",
"PSYCHOTHERAPY",
"INTERNAL_MEDICINE",
"FAMILY_MEDICINE",
"DENTIST",
"VETERINARIAN",
"PHYSIOTHERAPY",
"CHIROPRACTIC",
"OSTEOPATHIC_MEDICINE",
"ORTHOPEDICS",
"OTHER",
"LACTATION_CONSULTANT",
"PODIATRY",
"GENERAL_PRACTICE",
"HOSPITAL_MEDICINE",
"BEHAVIORAL_HEALTH",
"MENTAL_HEALTH",
"SUBSTANCE_USE_DISORDER",
"VASCULAR_MEDICINE",
"LIFESTYLE_MEDICINE",
"PREVENTIVE_MEDICINE",
"PUBLIC_HEALTH",
"ADOLESCENT_MEDICINE",
"WOUND_CARE",
"NEUROSURGERY",
"PLASTIC_SURGERY",
"PALLIATIVE_CARE",
"TRANSPLANT_MEDICINE",
"OBESITY_MEDICINE",
"CASE_MANAGEMENT",
"CARE_MANAGEMENT",
"CARE_COORDINATION",
"SOCIAL_WORK",
"PATHOLOGY",
"RADIATION_ONCOLOGY",
"SLEEP_MEDICINE",
"AUDIOLOGY",
"REPRODUCTIVE_ENDOCRINOLOGY",
"PHARMACIST",
"OCCUPATIONAL_THERAPY",
"SPEECH_LANGUAGE_PATHOLOGY"
],
"example": "GENERAL_PRACTICE",
"title": "specialty_kind"
},
"modality": {
"type": "string",
"description": "The modality of the encounter.",
"enum": [
"OFFICE",
"VIDEO",
"AUDIO"
],
"example": "OFFICE",
"title": "em_modality"
},
"patient_type": {
"type": "string",
"description": "Whether the patient is new or established with this provider.",
"enum": [
"NEW",
"ESTABLISHED"
],
"example": "ESTABLISHED",
"title": "em_patient_type"
},
"follow_medicare_rules": {
"type": "boolean",
"description": "Whether to apply Medicare coding rules. Set to `true` for Medicare patients, `false` for commercial payers."
},
"patient_age_years": {
"type": "integer",
"minimum": 0,
"description": "The patient's age in years. Patients under 1 year old should be specified as `0`.",
"example": 35
},
"visit_type": {
"description": "The type of visit. When not provided, the visit type is inferred from the transcript and note context.",
"type": "string",
"enum": [
"SICK_VISIT",
"PREVENTIVE",
"SPLIT_VISIT"
],
"example": "SICK_VISIT",
"title": "em_visit_type"
},
"total_time_minutes": {
"type": "integer",
"minimum": 0,
"description": "Total encounter time in minutes. When provided, a time-based coding basis entry is included in `em_codes`.",
"example": 38
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
}
},
"required": [
"transcript_items",
"note",
"specialty",
"modality",
"patient_type",
"follow_medicare_rules",
"patient_age_years"
],
"title": "generate_em_codes_async_request"
}
}
}
},
"responses": {
"200": {
"description": "Request received and processing started.",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"title": "ONGOING",
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
}
},
"required": [
"id",
"status"
]
},
{
"title": "FAILED",
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
},
"payload": {
"type": "object",
"properties": {
"error_code": {
"type": "integer",
"example": 422
},
"error_message": {
"type": "string",
"example": "We can't generate the note when the transcript is too short."
}
},
"required": [
"error_code"
],
"title": "async_request_failed_payload"
}
},
"required": [
"id",
"status",
"payload"
]
},
{
"title": "SUCCEEDED",
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
},
"payload": {
"type": "object",
"description": "The result of a successful E/M code generation.",
"properties": {
"visit_type": {
"description": "The visit type used for coding. Either the value provided in the request, or the LLM-inferred value when not provided.",
"type": "string",
"enum": [
"SICK_VISIT",
"PREVENTIVE",
"SPLIT_VISIT"
],
"example": "SICK_VISIT",
"title": "em_visit_type"
},
"em_codes": {
"type": "array",
"description": "The suggested E/M CPT codes. May contain multiple entries for different coding bases (MDM-based, time-based, categorical preventive codes).",
"items": {
"type": "object",
"description": "A suggested E/M CPT code with its coding basis.",
"properties": {
"code": {
"type": "string",
"description": "The CPT code, e.g. `\"99214\"`.",
"example": "99214"
},
"modifiers": {
"type": "array",
"description": "List of CPT modifiers to append to the code, e.g. `[\"25\"]`.",
"items": {
"type": "string"
},
"example": [
"25"
]
},
"coding_basis": {
"type": "string",
"description": "The basis used to determine this E/M code. - `MDM`: code is based on Medical Decision Making complexity. - `TIME`: code is based on total encounter time. - `CATEGORICAL`: code is a categorical (e.g. preventive) code not derived from MDM or time.",
"enum": [
"MDM",
"TIME",
"CATEGORICAL"
],
"example": "MDM",
"title": "em_coding_basis"
},
"description": {
"type": "string",
"description": "Human-readable rationale for why this code was suggested.",
"example": "MDM=moderate, established patient, office modality"
}
},
"required": [
"code",
"modifiers",
"coding_basis",
"description"
],
"title": "em_code"
}
},
"mdm_level": {
"description": "The LLM-inferred MDM level. Always null when `visit_type` is `PREVENTIVE`.",
"nullable": true,
"type": "object",
"properties": {
"value": {
"description": "The determined MDM level of service.",
"type": "string",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"confidence": {
"type": "string",
"description": "Confidence in the MDM level determination. - `HIGH`: high confidence in the determined level. - `MEDIUM`: there is one plausible alternative overall MDM level; see `alternative_value`. - `LOW`: the determination is uncertain.",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
],
"example": "HIGH"
},
"alternative_value": {
"description": "The alternative overall MDM level when confidence is `medium`. Null otherwise.",
"nullable": true,
"type": "string",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
}
},
"required": [
"value",
"confidence"
],
"title": "em_mdm_level_output"
},
"mdm_breakdown": {
"description": "The breakdown of the MDM level across the three dimensions. Always null when `visit_type` is `PREVENTIVE`.",
"nullable": true,
"type": "object",
"properties": {
"problem_addressed": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
},
"data_reviewed": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
},
"risk": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
}
},
"required": [
"problem_addressed",
"data_reviewed",
"risk"
],
"title": "em_mdm_breakdown"
}
},
"required": [
"visit_type",
"em_codes"
],
"title": "generate_em_codes_async_succeeded_payload"
}
},
"required": [
"id",
"status"
]
}
],
"discriminator": {
"propertyName": "status",
"mapping": {
"ONGOING": {
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
}
},
"required": [
"id",
"status"
],
"title": "async_request_ongoing"
},
"FAILED": {
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
},
"payload": {
"type": "object",
"properties": {
"error_code": {
"type": "integer",
"example": 422
},
"error_message": {
"type": "string",
"example": "We can't generate the note when the transcript is too short."
}
},
"required": [
"error_code"
],
"title": "async_request_failed_payload"
}
},
"required": [
"id",
"status",
"payload"
],
"title": "async_request_failed"
},
"SUCCEEDED": {
"type": "object",
"properties": {
"id": {
"description": "The id of the asynchronous request.",
"type": "string",
"format": "uuid",
"example": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
"title": "uuid"
},
"client_request_id": {
"type": "string",
"maxLength": 128,
"description": "An optional unique client-made id for this request. When specified, this id is included in the Json payload that will be sent asynchronously. This can help clients both guarantee idempotency and correlate asynchronous responses with their requests.\n\n_Note_: this id must be different for every request. It is recommended to use a randomly generated UUID.",
"title": "client_request_id"
},
"status": {
"type": "string",
"enum": [
"ONGOING",
"FAILED",
"SUCCEEDED"
],
"title": "async_request_status"
},
"payload": {
"type": "object",
"description": "The result of a successful E/M code generation.",
"properties": {
"visit_type": {
"description": "The visit type used for coding. Either the value provided in the request, or the LLM-inferred value when not provided.",
"type": "string",
"enum": [
"SICK_VISIT",
"PREVENTIVE",
"SPLIT_VISIT"
],
"example": "SICK_VISIT",
"title": "em_visit_type"
},
"em_codes": {
"type": "array",
"description": "The suggested E/M CPT codes. May contain multiple entries for different coding bases (MDM-based, time-based, categorical preventive codes).",
"items": {
"type": "object",
"description": "A suggested E/M CPT code with its coding basis.",
"properties": {
"code": {
"type": "string",
"description": "The CPT code, e.g. `\"99214\"`.",
"example": "99214"
},
"modifiers": {
"type": "array",
"description": "List of CPT modifiers to append to the code, e.g. `[\"25\"]`.",
"items": {
"type": "string"
},
"example": [
"25"
]
},
"coding_basis": {
"type": "string",
"description": "The basis used to determine this E/M code. - `MDM`: code is based on Medical Decision Making complexity. - `TIME`: code is based on total encounter time. - `CATEGORICAL`: code is a categorical (e.g. preventive) code not derived from MDM or time.",
"enum": [
"MDM",
"TIME",
"CATEGORICAL"
],
"example": "MDM",
"title": "em_coding_basis"
},
"description": {
"type": "string",
"description": "Human-readable rationale for why this code was suggested.",
"example": "MDM=moderate, established patient, office modality"
}
},
"required": [
"code",
"modifiers",
"coding_basis",
"description"
],
"title": "em_code"
}
},
"mdm_level": {
"description": "The LLM-inferred MDM level. Always null when `visit_type` is `PREVENTIVE`.",
"nullable": true,
"type": "object",
"properties": {
"value": {
"description": "The determined MDM level of service.",
"type": "string",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"confidence": {
"type": "string",
"description": "Confidence in the MDM level determination. - `HIGH`: high confidence in the determined level. - `MEDIUM`: there is one plausible alternative overall MDM level; see `alternative_value`. - `LOW`: the determination is uncertain.",
"enum": [
"HIGH",
"MEDIUM",
"LOW"
],
"example": "HIGH"
},
"alternative_value": {
"description": "The alternative overall MDM level when confidence is `medium`. Null otherwise.",
"nullable": true,
"type": "string",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
}
},
"required": [
"value",
"confidence"
],
"title": "em_mdm_level_output"
},
"mdm_breakdown": {
"description": "The breakdown of the MDM level across the three dimensions. Always null when `visit_type` is `PREVENTIVE`.",
"nullable": true,
"type": "object",
"properties": {
"problem_addressed": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
},
"data_reviewed": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
},
"risk": {
"type": "object",
"description": "The MDM assessment for one of the three MDM dimensions.",
"properties": {
"level": {
"type": "string",
"description": "The MDM (Medical Decision Making) level of service.",
"enum": [
"STRAIGHTFORWARD",
"LOW",
"MODERATE",
"HIGH"
],
"example": "MODERATE",
"title": "em_mdm_level"
},
"justification": {
"type": "string",
"description": "A brief explanation of why this MDM level was determined for this dimension.",
"example": "Chronic illness with exacerbation requiring prescription management"
}
},
"required": [
"level",
"justification"
],
"title": "em_mdm_breakdown_element"
}
},
"required": [
"problem_addressed",
"data_reviewed",
"risk"
],
"title": "em_mdm_breakdown"
}
},
"required": [
"visit_type",
"em_codes"
],
"title": "generate_em_codes_async_succeeded_payload"
}
},
"required": [
"id",
"status"
],
"title": "generate_em_codes_async_succeeded"
}
}
},
"title": "async_em_codes_generation"
}
}
}
}
}
}