speziquestionnaire

Spezi Questionnaire Module

https://github.com/stanfordspezi/speziquestionnaire

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.9%) to scientific vocabulary

Keywords

fhir questionnaire researchkit spezi stanford survey swift swiftui xcode
Last synced: 6 months ago · JSON representation ·

Repository

Spezi Questionnaire Module

Basic Info
Statistics
  • Stars: 8
  • Watchers: 12
  • Forks: 0
  • Open Issues: 6
  • Releases: 16
Topics
fhir questionnaire researchkit spezi stanford survey swift swiftui xcode
Created almost 3 years ago · Last pushed 9 months ago
Metadata Files
Readme License Citation

README.md

Spezi Questionnaire

Build and Test codecov DOI

Enables apps to display and collect responses from HL7® FHIR® questionnaires.

Overview

The Spezi Questionnaire package enables HL7® FHIR® Questionnaires to be displayed in your Spezi application.

Questionnaires are displayed using ResearchKit and the ResearchKitOnFHIR package.

| Screenshot showing a Questionnaire rendered using the Spezi Questionnaire module. Screenshot showing a Questionnaire rendered using the Spezi Questionnaire module. | |:---:| |An HL7® FHIR® Questionnaire is rendered using the QuestionnaireView|

Setup

You need to add the Spezi Questionnaire Swift package to your app in Xcode or Swift package.

[!IMPORTANT] If your application is not yet configured to use Spezi, follow the Spezi setup article and set up the core Spezi infrastructure.

Example

In the following example, we create a SwiftUI view with a button that displays a sample questionnaire from the FHIRQuestionnaires package using QuestionnaireView.

```swift import FHIRQuestionnaires import SpeziQuestionnaire import SwiftUI

struct ExampleQuestionnaireView: View { @State var displayQuestionnaire = false

var body: some View {
    Button("Display Questionnaire") {
        displayQuestionnaire.toggle()
    }
        .sheet(isPresented: $displayQuestionnaire) {
            QuestionnaireView(
                questionnaire: Questionnaire.gcs
            ) { result in
                guard case let .completed(response) = result else {
                    return // user cancelled
                }

                // ... save the FHIR response to your data store
            }
        }
}

} ``` For more information, please refer to the API documentation.

The Spezi Template Application

The Spezi Template Application provides a great starting point and example using the Spezi Questionnaire module.

Contributing

Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first.

Notices

FHIR is a registered trademark of Health Level Seven International.

License

This project is licensed under the MIT License. See Licenses for more information.

Spezi Footer Spezi Footer

Owner

  • Name: Stanford Spezi
  • Login: StanfordSpezi
  • Kind: organization

Citation (CITATION.cff)

#
# This source file is part of the Stanford Spezi open source project
#
# SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
# 

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Schmiedmayer"
  given-names: "Paul"
  orcid: "https://orcid.org/0000-0002-8607-9148"
- family-names: "Ravi"
  given-names: "Vishnu"
  orcid: "https://orcid.org/0000-0003-0359-1275"
- family-names: "Aalami"
  given-names: "Oliver"
  orcid: "https://orcid.org/0000-0002-7799-2429"
title: "SpeziQuestionnaire"
doi: 10.5281/zenodo.7706903
url: "https://github.com/StanfordSpezi/SpeziQuestionnaire"

GitHub Events

Total
  • Issues event: 4
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 6
  • Push event: 3
  • Pull request review comment event: 1
  • Pull request event: 2
Last Year
  • Issues event: 4
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 6
  • Push event: 3
  • Pull request review comment event: 1
  • Pull request event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 9
  • Total pull requests: 19
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 13 days
  • Total issue authors: 4
  • Total pull request authors: 6
  • Average comments per issue: 1.56
  • Average comments per pull request: 1.26
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 2
  • Average time to close issues: about 3 hours
  • Average time to close pull requests: about 17 hours
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.33
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • PSchmiedmayer (5)
  • LeonNissen (2)
  • scdi (1)
  • philippzagar (1)
Pull Request Authors
  • Supereg (9)
  • PSchmiedmayer (7)
  • vishnuravi (4)
  • dguo8412 (2)
  • lukaskollmer (2)
  • niallkehoe (2)
Top Labels
Issue Labels
enhancement (6) good first issue (5) help wanted (5) bug (2) documentation (1)
Pull Request Labels
enhancement (6) bug (2) documentation (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 12
swiftpackageindex.com: github.com/StanfordSpezi/SpeziQuestionnaire

Spezi Questionnaire Module

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Dependent repos count: 14.3%
Dependent packages count: 16.7%
Average: 38.9%
Forks count: 60.3%
Stargazers count: 64.4%
Last synced: over 1 year ago

Dependencies

.github/workflows/build-and-test.yml actions
.github/workflows/monthly-markdown-link-check.yml actions
.github/workflows/pull_request.yml actions
Package.swift swiftpm