Skip to content

Commit

Permalink
fix example from previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira authored Nov 17, 2023
1 parent d3a293e commit 0fa291b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
10 changes: 5 additions & 5 deletions input/fsh/examples.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ Instance: ExampleHRMonitoringObs
InstanceOf: HRMonitoringObs
Usage: #example
* subject = Reference(ExampleHRMonitoringPatient)
* component[hrIndicator].valueCodeableConcept = FCHRIndicatorCS#normal
* component[hrReviewFinding].valueCodeableConcept = FCHRFindingCS#25
* component[rmssd].valueQuantity = 25 'ms'
* component[hrValue].valueCodeableConcept = FCHRIndicatorCS#normal
* component[hrIndicator].valueCodeableConcept = FCHRFindingCS#25
* component[hrReviewFinding].valueQuantity = 25 'ms'
* component[symptoms].valueCodeableConcept = FCContextSymptomsCS#4
* component[activityStatus].valueCodeableConcept = FCContextActivityCS#3
* component[chadvasc].valueCodeableConcept = #LowRisk
* component[measurementAttempts].valueInteger = 2
* component[hrReport].valueCodeableConcept = #LowRisk
//* component[measurementAttempts].valueInteger = 2
* device = Reference(ExampleSWDevice)
* code = #fibricheck
* effectiveDateTime = "2023-07-20T14:30:00Z"
Expand Down
14 changes: 14 additions & 0 deletions input/fsh/profiles.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,17 @@ Parent: MonitoringPatient
// * identifier[fibricheck-username]
// * type = #username
// * system = "http://somesystem/identifiertypes/username"


Profile: SWDevice
Parent: Device


* version ^slicing.discriminator.type = #pattern
* version ^slicing.discriminator.path = "type"
* version ^slicing.rules = #open
* version ^slicing.description = "Types of versions"
* version contains software-version 1..1

* version[software-version].type = urn:iso:std:iso:11073:10101#531975
* version[software-version].value MS

0 comments on commit 0fa291b

Please sign in to comment.