Skip to content

Commit ea9aa49

Browse files
authored
Merge pull request #162 from RTIInternational/auto-update-schema
Auto-update generated JSON schema
2 parents 4187800 + f5d41df commit ea9aa49

File tree

2 files changed

+57
-27
lines changed

2 files changed

+57
-27
lines changed

generated/bdchm.schema.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4424,17 +4424,27 @@
44244424
"VisitCategoryEnum": {
44254425
"description": "A constrained set of enumerative values containing the OMOP values for visit categories.",
44264426
"enum": [
4427-
"INPATIENT",
4428-
"EMERGENCY_ROOM",
4429-
"EMERGENCY_ROOM_AND_INPATIENT",
4430-
"NON_HOSPITAL_INSTITUTION",
4431-
"OUTPATIENT",
4432-
"HOME",
4427+
"ALTERNATE_CARE_SITE_ACS",
4428+
"AMBULANCE_VISIT",
4429+
"AMBULATORY_LONG_COVID_CLINIC",
4430+
"AMBULATORY_REHABILITATION_VISIT",
4431+
"EMERGENCY_ROOM_AND_INPATIENT_VISIT",
4432+
"EMERGENCY_ROOM_VISIT",
4433+
"HEALTH_EXAMINATION",
4434+
"HOME_ISOLATION",
4435+
"HOME_VISIT",
4436+
"INPATIENT_VISIT",
4437+
"INTENSIVE_CARE",
4438+
"ISOLATION_IN_INPATIENT_SETTING",
4439+
"LABORATORY_VISIT",
4440+
"NON_HOSPITAL_INSTITUTION_VISIT",
4441+
"OFFICE_VISIT",
4442+
"OUTPATIENT_VISIT",
4443+
"PERSON_UNDER_INVESTIGATION_PUI",
4444+
"PHARMACY_VISIT",
4445+
"SUPPLIER_SERVICE_PROVIDER",
44334446
"TELEHEALTH",
4434-
"PHARMACY",
4435-
"LABORATORY",
4436-
"AMBULANCE",
4437-
"CASE_MANAGEMENT"
4447+
"UNKNOWN"
44384448
],
44394449
"title": "VisitCategoryEnum",
44404450
"type": "string"

generated/bdchm.schema.ts

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -152,28 +152,48 @@ export enum VertebrateBreedEnum {
152152
*/
153153
export enum VisitCategoryEnum {
154154

155-
/** Person visiting hospital, at a care stie, in bed, for duration of more than one day, with physicians and other Providers permanently available to deliver service around the clock */
156-
INPATIENT = "INPATIENT",
157-
/** Person visiting dedicated healthcare institution for treating emergencies, at a Care Site, within one day, with physicians and Providers permanently available to deliver service around the clock */
158-
EMERGENCY_ROOM = "EMERGENCY_ROOM",
155+
/** Person receiving care at a temporary or non-traditional care site established to expand capacity, such as during a public health emergency */
156+
ALTERNATE_CARE_SITE_ACS = "ALTERNATE_CARE_SITE_ACS",
157+
/** Person using transportation service for the purpose of initiating one of the other Visits, without a Care Site, within one day, potentially with Providers accompanying the Visit and delivering service */
158+
AMBULANCE_VISIT = "AMBULANCE_VISIT",
159+
/** Person visiting a specialized outpatient clinic dedicated to the assessment and management of persistent post-COVID-19 symptoms */
160+
AMBULATORY_LONG_COVID_CLINIC = "AMBULATORY_LONG_COVID_CLINIC",
161+
/** Person visiting a Care Site within one day for the purpose of receiving rehabilitative therapy services without overnight admission */
162+
AMBULATORY_REHABILITATION_VISIT = "AMBULATORY_REHABILITATION_VISIT",
159163
/** Person visiting ER followed by a subsequent Inpatient Visit, where Emergency department is part of hospital, and transition from the ER to other hospital departments is undefined */
160-
EMERGENCY_ROOM_AND_INPATIENT = "EMERGENCY_ROOM_AND_INPATIENT",
164+
EMERGENCY_ROOM_AND_INPATIENT_VISIT = "EMERGENCY_ROOM_AND_INPATIENT_VISIT",
165+
/** Person visiting dedicated healthcare institution for treating emergencies, at a Care Site, within one day, with physicians and Providers permanently available to deliver service around the clock */
166+
EMERGENCY_ROOM_VISIT = "EMERGENCY_ROOM_VISIT",
167+
/** Person visiting a Care Site within one day for a routine or preventive health assessment, without an acute presenting complaint */
168+
HEALTH_EXAMINATION = "HEALTH_EXAMINATION",
169+
/** Person remaining at home and separated from others for the purpose of containing or managing an infectious or potentially infectious condition */
170+
HOME_ISOLATION = "HOME_ISOLATION",
171+
/** Provider visiting Person, without a Care Site, within one day, delivering service */
172+
HOME_VISIT = "HOME_VISIT",
173+
/** Person visiting hospital, at a care site, in bed, for duration of more than one day, with physicians and other Providers permanently available to deliver service around the clock */
174+
INPATIENT_VISIT = "INPATIENT_VISIT",
175+
/** Person admitted to a specialized hospital unit for more than one day, receiving continuous monitoring and advanced life-support from dedicated Providers */
176+
INTENSIVE_CARE = "INTENSIVE_CARE",
177+
/** Person admitted to a hospital and physically separated from other patients to prevent transmission of an infectious or potentially infectious condition */
178+
ISOLATION_IN_INPATIENT_SETTING = "ISOLATION_IN_INPATIENT_SETTING",
179+
/** Patient visiting dedicated institution, at a Care Site, within one day, for the purpose of a Measurement. */
180+
LABORATORY_VISIT = "LABORATORY_VISIT",
161181
/** Person visiting dedicated institution for reasons of poor health, at a Care Site, long-term or permanently, with no physician but possibly other Providers permanently available to deliver service around the clock */
162-
NON_HOSPITAL_INSTITUTION = "NON_HOSPITAL_INSTITUTION",
182+
NON_HOSPITAL_INSTITUTION_VISIT = "NON_HOSPITAL_INSTITUTION_VISIT",
183+
/** Person visiting a Provider at a Care Site within one day for evaluation or management of a health concern, without bed or overnight stay */
184+
OFFICE_VISIT = "OFFICE_VISIT",
163185
/** Person visiting dedicated ambulatory healthcare institution, at a Care Site, within one day, without bed, with physicians or medical Providers delivering service during Visit */
164-
OUTPATIENT = "OUTPATIENT",
165-
/** Provider visiting Person, without a Care Site, within one day, delivering service */
166-
HOME = "HOME",
186+
OUTPATIENT_VISIT = "OUTPATIENT_VISIT",
187+
/** Person being monitored or assessed at a Care Site due to potential exposure to or symptoms of a reportable or emerging infectious disease */
188+
PERSON_UNDER_INVESTIGATION_PUI = "PERSON_UNDER_INVESTIGATION_PUI",
189+
/** Person visiting pharmacy for dispensing of Drug, at a Care Site, within one day */
190+
PHARMACY_VISIT = "PHARMACY_VISIT",
191+
/** Person receiving goods or services from a non-clinical supplier or durable medical equipment provider, outside of a traditional Care Site encounter */
192+
SUPPLIER_SERVICE_PROVIDER = "SUPPLIER_SERVICE_PROVIDER",
167193
/** Patient engages with Provider through communication media */
168194
TELEHEALTH = "TELEHEALTH",
169-
/** Person visiting pharmacy for dispensing of Drug, at a Care Site, within one day */
170-
PHARMACY = "PHARMACY",
171-
/** Patient visiting dedicated institution, at a Care Site, within one day, for the purpose of a Measurement. */
172-
LABORATORY = "LABORATORY",
173-
/** Person using transportation service for the purpose of initiating one of the other Visits, without a Care Site, within one day, potentially with Providers accompanying the Visit and delivering service */
174-
AMBULANCE = "AMBULANCE",
175-
/** Person interacting with healthcare system, without a Care Site, within a day, with no Providers involved, for administrative purposes */
176-
CASE_MANAGEMENT = "CASE_MANAGEMENT",
195+
/** Visit category is not known, not observed, not recorded, or refused. */
196+
UNKNOWN = "UNKNOWN",
177197
};
178198
/**
179199
* A constrained set of enumerative values containing the OMOP values for visit provenance.

0 commit comments

Comments
 (0)