The Visit Occurrence CDM v5.4 specifications suggest the following:
"For Inpatient Visits ongoing at the date of ETL, put date of processing the data into visit_end_datetime and visit_type_concept_id with 32220 “Still patient” to identify the visit as incomplete’
However, concept_id = 32220 has domain_id = Visit and is a non-standard concept. And non-standard concept_ids are only allowed in source_concept_id fields.
Are the conventions correct? If yes, we need to change this concept_id to standard and change the domain_id to ‘Type Concept’. If not, we need to update the conventions.