Skip to content

Commit

Permalink
re-adding fhir profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan8456 committed Mar 25, 2024
1 parent d6e4976 commit b3cdb2b
Show file tree
Hide file tree
Showing 16 changed files with 476 additions and 0 deletions.
340 changes: 340 additions & 0 deletions input/fsh/AL_CodeSystem.fsh

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiBodyHeight.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiBodyHeight
Parent: us-core-body-height
Id: vbai-body-height
Title: "VBAI Body Height"
Description: "An observation profile based on US Core Body Height Profile"
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* code = $LOINC#8302-2 "Body height"
8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiBodyWeight.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiBodyWeight
Parent: us-core-body-weight
Id: vbai-body-weight
Title: "VBAI Body Weight"
Description: "An observation profile based on US Core Body Weight Profile."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* code = $LOINC#29463-7 "Body weight"
12 changes: 12 additions & 0 deletions input/fsh/SD_VbaiCohortProtocol.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Profile: VbaiCohortProtocol
Parent: PlanDefinition
Id: vbai-cohort-protocol
Title: "A general template for VBAI protocols"
Description: "This profile extends PlanDefinition to restrict the number of actions to 12, the number of high-level steps in the VBAI protocol template."
* status 1..1 MS
* title 1..1 MS
* date 1..1 MS
* action 12..12 MS
* action.definitionCanonical MS
* action.definitionCanonical only Canonical(http://hl7.org/fhir/StructureDefinition/PlanDefinition or http://hl7.org/fhir/StructureDefinition/Questionnaire)
* action.action.definitionCanonical only Canonical(http://hl7.org/fhir/StructureDefinition/PlanDefinition or http://hl7.org/fhir/StructureDefinition/Questionnaire)
8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiCondition.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiCondition
Parent: us-core-condition-encounter-diagnosis
Id: vbai-condition
Title: "VBAI Condition"
Description: "A condition profile based on US Core Condition Encounter Diagnosis."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* code 1..1
16 changes: 16 additions & 0 deletions input/fsh/SD_VbaiConsent.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Profile: VbaiConsent
Parent: Consent
Id: vbai-consent
Title: "VBAI Consent"
Description: "A consent profile based on the base Consent resource"
* patient only Reference(VbaiPatient)
* status = $ConsentStateCodes#active "Active"
* category = $ConsentCategoryCodes#research "Research Information Access"
// could be other categories found in the valueset: https://www.hl7.org/fhir/R4/valueset-consent-category.html
* scope = $ConsentScope#research "Research"
* policyRule = $ConsentPolicyCodes#nih-hipaa "HHS NIH HIPAA Research Authorization"
// selected nih-hippa but could be one of the codes found in https://www.hl7.org/fhir/valueset-consent-policy.html.

// * organization --> could be set to just be VoiceCollab/NIH/Bridge2AI (need to decide on what the overarching organization is)
// * policy --> some policy, this points to a uri
// * sourceAttachement --> are we including the form this is based on as an attachment? Or referencing a DocumentReference (which just abstracts it another step)
7 changes: 7 additions & 0 deletions input/fsh/SD_VbaiEncounter.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Profile: VbaiEncounter
Parent: us-core-encounter
Id: vbai-encounter
Title: "VBAI Encounter"
Description: "An encounter profile based on US Core Encounter."
* subject only Reference(VbaiPatient)
* type = $SCT#308335008 "Patient encounter procedure"
9 changes: 9 additions & 0 deletions input/fsh/SD_VbaiImagingMedia.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Profile: VbaiImagingMedia
Parent: Media
Id: vbai-imaging-media
Title: "VBAI Imaging Media"
Description: "A imaging media profile based on the base Media resource."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* modality 1..1
* content 1..1
8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiImagingStudy.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiImagingStudy
Parent: ImagingStudy
Id: vbai-imaging-study
Title: "VBAI Imaging Study"
Description: "An imaging study profile based on the base ImagingStudy resource."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* modality 1..1
6 changes: 6 additions & 0 deletions input/fsh/SD_VbaiPatient.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Profile: VbaiPatient
Parent: us-core-patient
Id: vbai-patient
Title: "VBAI Patient"
Description: "A patient profile based on US Core Patient"
* birthDate 1..1
10 changes: 10 additions & 0 deletions input/fsh/SD_VbaiPlanDefinition.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Profile: VbaiPlanDefinition
Parent: PlanDefinition
Id: vbai-plan-definition
Title: "Vbai Plan Definition"
Description: "An PlanDefinition profile based on the base PlanDefinition resource."
* status 1..1 MS
* title 1..1 MS
* date 1..1 MS
* action 0..* MS
* action.action 0..* MS
12 changes: 12 additions & 0 deletions input/fsh/SD_VbaiQuestionnaire.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Profile: VbaiQuestionnaire
Parent: Questionnaire
Id: vbai-questionnaire
Title: "VBAI Questionnaire"
Description: "A questionnaire profile based on the base Questionnaire resource"

* title 1..1 MS
* date 0..1 MS
* item 1..* MS
* item.linkId 1..1 MS
* item.item 0..* MS
* status 1..1 MS
10 changes: 10 additions & 0 deletions input/fsh/SD_VbaiQuestionnaireResponse.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Profile: VbaiQuestionnaireResponse
Parent: QuestionnaireResponse
Id: vbai-questionnaire-response
Title: "VBAI Questionnaire Response"
Description: "A questionnaire response profile based on the base QuestionnaireResponse resource"
* questionnaire 1..1 MS
* status 1..1 MS



8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiVitalSigns.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiVitalSigns
Parent: us-core-vital-signs
Id: vbai-vital-signs
Title: "VBAI Vital Signs"
Description: "A observation profile based on US Core Vital Signs Profile."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* code 1..1
6 changes: 6 additions & 0 deletions input/fsh/SD_VbaiWaveformDevice.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Profile: VbaiWaveformDevice
Parent: Device
Id: vbai-waveform-device
Title: "VBAI Waveform Device"
Description: "A device profile based on the base Device resource."
* deviceName 1..1
8 changes: 8 additions & 0 deletions input/fsh/SD_VbaiWaveformMedia.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Profile: VbaiWaveformMedia
Parent: Media
Id: vbai-waveform-media
Title: "VBAI Waveform Media"
Description: "A media profile based on the base Media resource. Primarily captures binary audio waveform data."
* subject only Reference(VbaiPatient)
* encounter only Reference(VbaiEncounter)
* modality 1..1

0 comments on commit b3cdb2b

Please sign in to comment.