Skip to content

Commit

Permalink
change AdjustmentNotes extension to FlagNotes
Browse files Browse the repository at this point in the history
  • Loading branch information
declankieran committed Mar 6, 2024
1 parent 7f69b90 commit 12701e4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion input/fsh/examples/0015-MasterFlagExample1.fsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Instance: MasterFlagExample1
InstanceOf: Flag
Usage: #example
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-AdjustmentNotes"
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes"
* extension[=].valueAnnotation.text = "Example of adjustment notes extension text in master flag"
* status = #active
* category = RA-FlagCategory#NRAF "National Reasonable Adjustments Flag"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/examples/0016-AdjustmentFlagExample1.fsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Instance: AdjustmentFlagExample1
InstanceOf: Flag
Usage: #example
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-AdjustmentNotes"
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes"
* extension[=].valueAnnotation.text = "Example of adjustment notes extension text in adjustment flag"
* status = #active
* category[0] = RA-FlagCategory#NRAF "National Reasonable Adjustments Flag"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/examples/0018-AdjustmentFlagExample2.fsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Instance: AdjustmentFlagExample2
InstanceOf: Flag
Usage: #example
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-AdjustmentNotes"
* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes"
* extension[=].valueAnnotation.text = "Example of adjustment notes extension text in adjustment flag"
* status = #active
* category[0] = RA-FlagCategory#NRAF "National Reasonable Adjustments Flag"
Expand Down
6 changes: 3 additions & 3 deletions input/fsh/extensions/Extension-AdjustmentNotes.fsh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Extension: Extension-AdjustmentNotes
Id: Extension-AdjustmentNotes
Extension: Extension-FlagNotes
Id: Extension-FlagNotes
Title: "Extension for Flag Adjustment Notes"
Description: "Captures the additional information for an Adjustment within a Reasonable Adjustment Flag."
Context: Flag

* ^purpose = "Additional information required to correctly or effectively interpret an Adjustment."
* ^url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-AdjustmentNotes"
* ^url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes"
* ^version = "0.1.0"
* ^status = #draft
* ^date = "2024-02-14"
Expand Down
6 changes: 3 additions & 3 deletions input/fsh/profiles/RA-AdjustmentFlag.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Description: "To (optionally) record an individual Adjustment for a Reasonable A
* insert NHSEngland-PublisherContactCopyright

* extension contains
Extension-AdjustmentNotes named adjustmentNotes 0..1
Extension-FlagNotes named flagNotes 0..1

* extension[adjustmentNotes].value[x] only Annotation
* extension[adjustmentNotes].valueAnnotation 1..
* extension[flagNotes].value[x] only Annotation
* extension[flagNotes].valueAnnotation 1..

* category ^slicing.discriminator.type = #profile
* category ^slicing.rules = #open
Expand Down
6 changes: 3 additions & 3 deletions input/fsh/profiles/RA-MasterFlag.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ Description: "To record whether Reasonable Adjustment Flags exist"
* insert NHSEngland-PublisherContactCopyright

* extension contains
Extension-AdjustmentNotes named adjustmentNotes 0..1 and
Extension-FlagNotes named flagNotes 0..1 and
$ExtensionFlagDetail named flagDetail 0..*

* extension[adjustmentNotes].value[x] only Annotation
* extension[adjustmentNotes].valueAnnotation 1..
* extension[flagNotes].value[x] only Annotation
* extension[flagNotes].valueAnnotation 1..

* extension[flagDetail].valueReference only Reference(RA-AdjustmentFlag or RA-Consent or RA-Provenance)

Expand Down
4 changes: 2 additions & 2 deletions input/pagecontent/server-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ All examples are available in a [Postman collection](assets/postman/postman_coll

### Examples

The examples here describe the API options related to the workflow given in the use case [Add RA Record](add-ra-record.html).
The examples here describe the API options related to the workflow given in the use case [Add RA Record](add-reasonable-adjustment-record.html).

See the [Data Model](data-model.html) for details on the relationships between the resources.

#### Add RA Record

This section provides examples for those given in the use case [Add RA Record](add-ra-record.html).
This section provides examples for those given in the use case [Add RA Record](add-reasonable-adjustment-record.html).

##### Example 1

Expand Down

0 comments on commit 12701e4

Please sign in to comment.