{"title":"使用FHIR定义资源的临床试验活动计划规范。","authors":"Andrew Richardson, Patrick Genyn","doi":"10.2196/71430","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Clinical research studies rely on schedules of activities (SoAs) to define what data must be collected and when. Traditionally presented in tabular form within study protocols, SoAs are critical for ensuring data quality, regulatory compliance, and correct study execution. Recent efforts, such as the HL7 Vulcan Schedule of Activities Implementation Guide (SoA IG), have introduced Fast Healthcare Interoperability Resources (FHIR) as a standard for representing SoAs digitally. However, current approaches primarily handle simple schedules and do not adequately capture complex requirements such as conditional branching, repeat cycles, or unscheduled events-features essential for many study designs, particularly in oncology.</p><p><strong>Objective: </strong>This work aimed to extend SoA representation methods to address these limitations. Specific objectives were: (1) to develop methods for defining multiple SoA paths within a single model; (2) to specify conditional scheduling requirements; (3) to design a human-readable syntax for study specifications; (4) to reflect these requirements as FHIR definitional resources; and (5) to test bidirectional conversion between graph-based SoA models and FHIR representations.</p><p><strong>Methods: </strong>Building on prior work, SoAs were modeled using directed graphs in which nodes represented interactions (e.g., visits) or activities, and edges defined transitions. Attributes were added to capture timing, conditional rules, and repeatability. Graph-based models were translated into FHIR PlanDefinitions and related resources (ActivityDefinition, ResearchStudy, ResearchSubject). Extensions to PlanDefinition were developed (soaTimePoint and soaTransition) to store graph-specific attributes. Proof-of-concept models were implemented and tested using Python, NetworkX, pandas, and FHIR Shorthand, with validation conducted through FHIR servers to ensure structural equivalence and information retention.</p><p><strong>Results: </strong>The graph-based approach successfully modeled multiple paths, unscheduled events, and conditional rules within a single SoA. Edge attributes such as transitionDelay and transitionRule enabled accurate timing calculations and runtime evaluation of permitted paths. Conditional scheduling was expressed using a parameterized syntax interpretable by logic engines. More than 25 study protocols of varying complexity were tested; all could be represented without information loss. The proposed FHIR extensions allowed PlanDefinition resources to fully capture SoA graphs rather than limited tabular forms. Round-trip testing confirmed that graph models and FHIR resources could be converted without loss of fidelity. The approach also highlighted inconsistencies in some protocol specifications, suggesting its utility for protocol quality assurance.</p><p><strong>Conclusions: </strong>This work demonstrates that graph-based modeling, combined with targeted FHIR PlanDefinition extensions, enables accurate and comprehensive representation of clinical study SoAs, including complex scheduling features not supported by current standards. The methods improve interoperability, reduce reliance on manual interpretation, and provide a basis for automated integration of study protocols with electronic health records. While further tooling (e.g., FHIRPath, CQL) is needed for operational deployment, this approach offers a more precise and extensible solution for digital protocol implementation.</p><p><strong>Clinicaltrial: </strong></p>","PeriodicalId":56334,"journal":{"name":"JMIR Medical Informatics","volume":" ","pages":""},"PeriodicalIF":3.8000,"publicationDate":"2025-09-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Clinical Trial Schedule of Activities Specification using FHIR Definitional Resources.\",\"authors\":\"Andrew Richardson, Patrick Genyn\",\"doi\":\"10.2196/71430\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Background: </strong>Clinical research studies rely on schedules of activities (SoAs) to define what data must be collected and when. Traditionally presented in tabular form within study protocols, SoAs are critical for ensuring data quality, regulatory compliance, and correct study execution. Recent efforts, such as the HL7 Vulcan Schedule of Activities Implementation Guide (SoA IG), have introduced Fast Healthcare Interoperability Resources (FHIR) as a standard for representing SoAs digitally. However, current approaches primarily handle simple schedules and do not adequately capture complex requirements such as conditional branching, repeat cycles, or unscheduled events-features essential for many study designs, particularly in oncology.</p><p><strong>Objective: </strong>This work aimed to extend SoA representation methods to address these limitations. Specific objectives were: (1) to develop methods for defining multiple SoA paths within a single model; (2) to specify conditional scheduling requirements; (3) to design a human-readable syntax for study specifications; (4) to reflect these requirements as FHIR definitional resources; and (5) to test bidirectional conversion between graph-based SoA models and FHIR representations.</p><p><strong>Methods: </strong>Building on prior work, SoAs were modeled using directed graphs in which nodes represented interactions (e.g., visits) or activities, and edges defined transitions. Attributes were added to capture timing, conditional rules, and repeatability. Graph-based models were translated into FHIR PlanDefinitions and related resources (ActivityDefinition, ResearchStudy, ResearchSubject). Extensions to PlanDefinition were developed (soaTimePoint and soaTransition) to store graph-specific attributes. Proof-of-concept models were implemented and tested using Python, NetworkX, pandas, and FHIR Shorthand, with validation conducted through FHIR servers to ensure structural equivalence and information retention.</p><p><strong>Results: </strong>The graph-based approach successfully modeled multiple paths, unscheduled events, and conditional rules within a single SoA. Edge attributes such as transitionDelay and transitionRule enabled accurate timing calculations and runtime evaluation of permitted paths. Conditional scheduling was expressed using a parameterized syntax interpretable by logic engines. More than 25 study protocols of varying complexity were tested; all could be represented without information loss. The proposed FHIR extensions allowed PlanDefinition resources to fully capture SoA graphs rather than limited tabular forms. Round-trip testing confirmed that graph models and FHIR resources could be converted without loss of fidelity. The approach also highlighted inconsistencies in some protocol specifications, suggesting its utility for protocol quality assurance.</p><p><strong>Conclusions: </strong>This work demonstrates that graph-based modeling, combined with targeted FHIR PlanDefinition extensions, enables accurate and comprehensive representation of clinical study SoAs, including complex scheduling features not supported by current standards. The methods improve interoperability, reduce reliance on manual interpretation, and provide a basis for automated integration of study protocols with electronic health records. While further tooling (e.g., FHIRPath, CQL) is needed for operational deployment, this approach offers a more precise and extensible solution for digital protocol implementation.</p><p><strong>Clinicaltrial: </strong></p>\",\"PeriodicalId\":56334,\"journal\":{\"name\":\"JMIR Medical Informatics\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2025-09-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"JMIR Medical Informatics\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.2196/71430\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"MEDICAL INFORMATICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"JMIR Medical Informatics","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.2196/71430","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MEDICAL INFORMATICS","Score":null,"Total":0}
Clinical Trial Schedule of Activities Specification using FHIR Definitional Resources.
Background: Clinical research studies rely on schedules of activities (SoAs) to define what data must be collected and when. Traditionally presented in tabular form within study protocols, SoAs are critical for ensuring data quality, regulatory compliance, and correct study execution. Recent efforts, such as the HL7 Vulcan Schedule of Activities Implementation Guide (SoA IG), have introduced Fast Healthcare Interoperability Resources (FHIR) as a standard for representing SoAs digitally. However, current approaches primarily handle simple schedules and do not adequately capture complex requirements such as conditional branching, repeat cycles, or unscheduled events-features essential for many study designs, particularly in oncology.
Objective: This work aimed to extend SoA representation methods to address these limitations. Specific objectives were: (1) to develop methods for defining multiple SoA paths within a single model; (2) to specify conditional scheduling requirements; (3) to design a human-readable syntax for study specifications; (4) to reflect these requirements as FHIR definitional resources; and (5) to test bidirectional conversion between graph-based SoA models and FHIR representations.
Methods: Building on prior work, SoAs were modeled using directed graphs in which nodes represented interactions (e.g., visits) or activities, and edges defined transitions. Attributes were added to capture timing, conditional rules, and repeatability. Graph-based models were translated into FHIR PlanDefinitions and related resources (ActivityDefinition, ResearchStudy, ResearchSubject). Extensions to PlanDefinition were developed (soaTimePoint and soaTransition) to store graph-specific attributes. Proof-of-concept models were implemented and tested using Python, NetworkX, pandas, and FHIR Shorthand, with validation conducted through FHIR servers to ensure structural equivalence and information retention.
Results: The graph-based approach successfully modeled multiple paths, unscheduled events, and conditional rules within a single SoA. Edge attributes such as transitionDelay and transitionRule enabled accurate timing calculations and runtime evaluation of permitted paths. Conditional scheduling was expressed using a parameterized syntax interpretable by logic engines. More than 25 study protocols of varying complexity were tested; all could be represented without information loss. The proposed FHIR extensions allowed PlanDefinition resources to fully capture SoA graphs rather than limited tabular forms. Round-trip testing confirmed that graph models and FHIR resources could be converted without loss of fidelity. The approach also highlighted inconsistencies in some protocol specifications, suggesting its utility for protocol quality assurance.
Conclusions: This work demonstrates that graph-based modeling, combined with targeted FHIR PlanDefinition extensions, enables accurate and comprehensive representation of clinical study SoAs, including complex scheduling features not supported by current standards. The methods improve interoperability, reduce reliance on manual interpretation, and provide a basis for automated integration of study protocols with electronic health records. While further tooling (e.g., FHIRPath, CQL) is needed for operational deployment, this approach offers a more precise and extensible solution for digital protocol implementation.
期刊介绍:
JMIR Medical Informatics (JMI, ISSN 2291-9694) is a top-rated, tier A journal which focuses on clinical informatics, big data in health and health care, decision support for health professionals, electronic health records, ehealth infrastructures and implementation. It has a focus on applied, translational research, with a broad readership including clinicians, CIOs, engineers, industry and health informatics professionals.
Published by JMIR Publications, publisher of the Journal of Medical Internet Research (JMIR), the leading eHealth/mHealth journal (Impact Factor 2016: 5.175), JMIR Med Inform has a slightly different scope (emphasizing more on applications for clinicians and health professionals rather than consumers/citizens, which is the focus of JMIR), publishes even faster, and also allows papers which are more technical or more formative than what would be published in the Journal of Medical Internet Research.