From 0fa291b5b005304a01cb27c071479d8d5dc4573b Mon Sep 17 00:00:00 2001 From: Jose Costa Teixeira Date: Fri, 17 Nov 2023 09:39:45 +0100 Subject: [PATCH] fix example from previous changes --- input/fsh/examples.fsh | 10 +++++----- input/fsh/profiles.fsh | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/input/fsh/examples.fsh b/input/fsh/examples.fsh index 4a40dabd..48cfc062 100644 --- a/input/fsh/examples.fsh +++ b/input/fsh/examples.fsh @@ -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" diff --git a/input/fsh/profiles.fsh b/input/fsh/profiles.fsh index 3b7442a3..cab9123f 100644 --- a/input/fsh/profiles.fsh +++ b/input/fsh/profiles.fsh @@ -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 \ No newline at end of file