Skip to content

Commit

Permalink
continue initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Nov 3, 2023
1 parent 1162b0d commit 160c72d
Show file tree
Hide file tree
Showing 6 changed files with 501 additions and 53 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ Issues: __https://github.com/<handle>/<repo>/issues__
Kanban board: __https://github.com/<handle>/<repo>/projects/1__

---

4 changes: 3 additions & 1 deletion input/fsh/models.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Description: "The data structure for Fibricheck measurement events."

* patient 1..1 BackboneElement "patient data" "patient data"
* fibricheckUserId 1..1 string "user id" "user id"
* niss_number 1..1 string "Patient NISS Number" "Patient NISS Number"
* nissNumber 1..1 string "Patient NISS Number" "Patient NISS Number"
* userName 1..1 HumanName "user name" "user name"
* userEmail 1..1 string "app version" "app version"
* dateOfBirth 1..1 date "Date of Birth" "Date of Birth"
Expand Down Expand Up @@ -34,3 +34,5 @@ Description: "The data structure for Fibricheck measurement events."
* capture 0..1 BackboneElement "capture data" "capture data"
* measurementAttempts 1..1 integer "Measurement attempts" "Measurement attempts"
* appVersion 1..1 string "app version" "app version"


51 changes: 51 additions & 0 deletions input/fsh/vitalsigns.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Logical: PatientMonitoring
Id: PatientMonitoring
Title: "Vital Signs"
Description: "The data structure for Vital Signs."

* status 1..1 code "Measurement status" "Measurement status"
* code 1..1 CodeableConcept "Code for the sign"
* patient 1..1 BackboneElement "patient data" "patient data"
* identfier 1..1 string "user id" "user id"
* niss_number 1..1 string "Patient NISS Number" "Patient NISS Number"
* otherId 0..* string "Patient NISS Number" "Patient NISS Number"
* userName 1..1 Identifier "user name" "user name"

* userEmail 1..1 string "app version" "app version"
* dateOfBirth 1..1 date "Date of Birth" "Date of Birth"

* measurementTimeStamp 1..1 dateTime "Measurement timestamp" "Measurement timestamp"
* measurementPeriod 1..1 period "Measurement Period" "Measurement Period"

* dataAbsentReason 1..1 period "Measurement Period" "Measurement Period"

* hasMember 0..* Reference(VitalSigns) "Component results, if separate" "Component results"
* derivedFrom 0..* Reference "Related signs from which this is obtained" "Related signs from which this is obtained"

* timestamp 0..1 dateTime "When the sign was observed" "When the sign was observed"

* value 0..1 string "Value of the aquired sign" "Value of the sign"
* interpretation 0..1 CodeableConcept "High, low, normal, etc." "High, low, normal, etc."
* note 0..* Annotation "Comments about the sign" "Comments about the sign"
* referenceRange 0..* BackboneElement "Provides guide for interpretation" "Provides guide for interpretation"
* low 0..1 SimpleQuantity "Low Range, if relevant" "Low Range, if relevant"
* high 0..1 SimpleQuantity "High Range, if relevant" "High Range, if relevant"
* normalValue 0..1 CodeableConcept "Normal Range, if relevant" "Normal Range, if relevant"
* type 0..1 CodeableConcept "Reference range qualifier" "Reference range qualifier"
* age 0..1 Range "Applicable age range, if relevant" "Applicable age range, if relevant"
* text 0..1 markdown "Text based reference range in an observation" "Text based reference range in an observation"

* component 0..* BackboneElement "Complnents when there are more than one values in the same sign"
* value 0..1 string "Value of the aquired sign" "Value of the sign"
* dataAbsentReason 0..1 CodeableConcept "Reason for missing data" "Reason for missing data"
* interpretation 0..1 CodeableConcept "High, low, normal, etc." "High, low, normal, etc."
* note 0..* Annotation "Comments about the sign" "Comments about the sign"
* referenceRange 0..* BackboneElement "Provides guide for interpretation" "Provides guide for interpretation"
* low 0..1 SimpleQuantity "Low Range, if relevant" "Low Range, if relevant"
* High 0..1 SimpleQuantity "High Range, if relevant" "High Range, if relevant"
* normalValue 0..1 CodeableConcept "Normal Range, if relevant" "Normal Range, if relevant"
* type 0..1 CodeableConcept "Reference range qualifier" "Reference range qualifier"
* age 0..1 Range "Applicable age range, if relevant" "Applicable age range, if relevant"
* text 0..1 markdown "Text based reference range in an observation" "Text based reference range in an observation"


82 changes: 35 additions & 47 deletions input/images-source/profile-layers.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -24,85 +24,73 @@ package "FHIR Base" as F {
|_ identifier 1..*
--
}
class "**FHIR Patient**" as FP<<TM>> {
|_ identifier 1..*
--
}
' class "**FHIR Patient**" as FP<<TM>> {
' |_ identifier 1..*
' --
' }
}

package "BE Base" as BE {
class "**BE Patient**" as BEP<<TM>> {
|_ identifier 1..*
--
}
' class "**BE Patient**" as BEP<<TM>> {
' |_ identifier 1..*
' --
' }
class "**BE Observation**" as BEO<<TM>> {
|_ identifier 1..*
--
}
}

package "Monitoring" as M {
class "**[BE] Monitoring Patient**" as MP<<TM>> {
' class "**[BE] Patient Monitoring Patient**" as MP<<TM>> {
' |_ identifier 1..*
' --
' }
class "**[BE] Patient Monitoring Observation**" as MO<<TM>> {
|_ identifier 1..*
--
}
class "**[BE] Monitoring Observation**" as MO<<TM>> {
|_ identifier 1..*
--
}
}


package "HeartRate Monitoring" as HR {
class "**HR Monitoring Patient**" as HRP<<TM>> {
|_ identifier 1..*
--
}
class "**HR Monitoring Observation**" as HRO<<TM>> {
|_ identifier 1..*
--
}
}

package "Fibricheck" as FC {
package "Vendor 2 " as FC {
class "**FC Observation**" as FCO<<TM>> {
|_ identifier 1..*
--
}
class "**ValueSet**" as FVS<<TM>> {
|_ identifier 1..*
--
}
}
package "Byteflies" as BF {
' class "**ValueSet**" as FVS<<TM>> {
' |_ identifier 1..*
' --
' }
}

package "Vendor 1 " as BF {
class "**BF Observation**" as BFO<<TM>> {
|_ identifier 1..*
--
}
class "**ValueSet**" as BFVS<<TM>> {
|_ identifier 1..*
--
}
' class "**ValueSet**" as BFVS<<TM>> {
' |_ identifier 1..*
' --
' }


}


FP <|-u- BEP
BEP .u. MP
'FP <|-u- BEP'
'BEP .u. MP
FO <|-u- BEO
BEO .u. MO

FO <|-u- MO
MO <|-u- HRO
MP <|-u- HRP
FP <|-u- MP
HRO <|-u- FCO
HRO <|-u- BFO
FO -r[hidden]- FP: " "

FCO -l[hidden]- FVS
BFO -r[hidden]- BFVS
'MP <|-u- HRP
'FP <|-u- MP
MO <|-u- FCO
MO <|-u- BFO
'FO -r[hidden]- FP: " "

'FCO -l[hidden]- FVS
'BFO -r[hidden]- BFVS


@enduml
Loading

0 comments on commit 160c72d

Please sign in to comment.