-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/retrieve record updates and examples (#20)
* generalised flag profiles * generalised flag profiles * generalised flag profiles * generalised flag profiles * generalise condition, fix refs and names * profiles generalised, apply profiles to examples * examples validating against profiles * cpis and fgm examples, all validating * addtional example pages added * fix cpis consent category example * fix flag code for cpis and fgm * added careconnect deps, tidy diagrams, include contact via yml * licence section removed, redundant if using ip-statements * slight mod to intro * update retrieve record page to follow new format * updates as per Vicky's comments * updates as per Vicky's comments --------- Co-authored-by: Declan Kieran <[email protected]>
- Loading branch information
1 parent
5d5fc4f
commit 66e6834
Showing
86 changed files
with
1,314 additions
and
2,057 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: CPIS-ConditionCategory | ||
Id: CPIS-ConditionCategory | ||
Title: "CPIS Condition Category" | ||
Description: "A CodeSystem to identify the category of a condition within CPIS." | ||
|
||
* ^name = "CPISConditionCategory" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/CPIS-ConditionCategory" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #cpis-example-condition-category "CPIS example condition category" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: CPIS-ConditionCode | ||
Id: CPIS-ConditionCode | ||
Title: "CPIS Condition Code" | ||
Description: "A CodeSystem to identify the SNOMED-CT concept representing an Impairment recorded as part of CPIS" | ||
|
||
* ^name = "CPISConditionCode" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/CPIS-ConditionCode" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #1 "CPIS example condition code" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: CPIS-ConsentPurpose | ||
Id: CPIS-ConsentPurpose | ||
Title: "CPIS Consent Purpose" | ||
Description: "A CodeSystem to identify the purpose of the consent given within CPIS" | ||
|
||
* ^name = "CPISConsentPurpose" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/CPIS-ConsentPurpose" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #CPISCONSENT "CPIS - Consent to record CPIS flags" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: CPIS-FlagCategory | ||
Id: CPIS-FlagCategory | ||
Title: "CPIS Flag Category" | ||
Description: "A CodeSystem containing CPIS flag categories" | ||
|
||
* ^name = "CPISFlagCategory" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/CPIS-FlagCategory" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #001 "Example CPIS category" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: FGM-ConditionCategory | ||
Id: FGM-ConditionCategory | ||
Title: "FGM Condition Category" | ||
Description: "A CodeSystem to identify the category of a condition within FGM." | ||
|
||
* ^name = "FGMConditionCategory" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/FGM-ConditionCategory" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #fgm-example-condition-category "FGM example condition category" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: FGM-ConditionCode | ||
Id: FGM-ConditionCode | ||
Title: "FGM Condition Code" | ||
Description: "A CodeSystem to identify the SNOMED-CT concept representing an Impairment recorded as part of FGM" | ||
|
||
* ^name = "FGMConditionCode" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/FGM-ConditionCode" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #1 "FGM example condition code" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: FGM-ConsentPurpose | ||
Id: FGM-ConsentPurpose | ||
Title: "FGM Consent Purpose" | ||
Description: "A CodeSystem to identify the purpose of the consent given within FGM" | ||
|
||
* ^name = "FGMConsentPurpose" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/FGM-ConsentPurpose" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #FGMCONSENT "FGM - Consent to record FGM flags" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CodeSystem: FGM-FlagCategory | ||
Id: FGM-FlagCategory | ||
Title: "FGM Flag Category" | ||
Description: "A CodeSystem containing FGM flag categories" | ||
|
||
* ^name = "FGMFlagCategory" | ||
* ^url = "https://fhir.nhs.uk/England/CodeSystem/FGM-FlagCategory" | ||
* ^version = "0.1.0" | ||
* ^status = #draft | ||
* ^date = "2024-02-14" | ||
* ^experimental = false | ||
|
||
* insert NHSEngland-Copyright | ||
|
||
* ^caseSensitive = true | ||
* ^content = #complete | ||
* #001 "Example FGM category" |
12 changes: 6 additions & 6 deletions
12
input/fsh/codesystem/RA-ProxyRole.fsh → input/fsh/codesystem/FlagProxyRole.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
.../fsh/codesystem/RA-AdjustmentCategory.fsh → input/fsh/codesystem/RA-FlagCategory.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
...ddConditionTransactionExample1-bundle.fsh → ...AddRARecordTransactionExample1-bundle.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,25 @@ | ||
Instance: AddConditionTransactionExample1 | ||
Instance: AddRARecordTransactionExample1 | ||
InstanceOf: Bundle | ||
Title: "RA Example of adding a record with a Transaction" | ||
Usage: #example | ||
* type = #transaction | ||
* entry[0].fullUrl = "urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[=].resource = PatientExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Patient?identifier=9912003888" | ||
* entry[+].fullUrl = "urn:uuid:959fbc3c-0907-419e-aa3d-ab88f2d90c5e" | ||
* entry[=].resource = ConsentExample1 | ||
* entry[=].resource = RAConsentExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Consent?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:41a84a93-1c95-4162-b13c-1c617509e6e2" | ||
* entry[=].resource = ConditionExample1 | ||
* entry[=].resource = RAConditionExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Condition?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[=].resource = MasterFlagExample1 | ||
* entry[=].resource = RAPatientFlagExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[+].fullUrl = "urn:uuid:04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[=].resource = AdjustmentFlagExample1 | ||
* entry[=].resource = RAFlagExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/04adcb5b-3de7-4f67-97f0-b2fdf941ba85" |
15 changes: 8 additions & 7 deletions
15
...ddConditionTransactionExample2-bundle.fsh → ...AddRARecordTransactionExample2-bundle.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
Instance: AddConditionTransactionExample2 | ||
Instance: AddRARecordTransactionExample2 | ||
InstanceOf: Bundle | ||
Title: "RA Example of idempotent update of a record with a Transaction" | ||
Usage: #example | ||
* type = #transaction | ||
* entry[0].fullUrl = "urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[=].resource = PatientExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Patient?identifier=9912003888" | ||
* entry[+].fullUrl = "urn:uuid:959fbc3c-0907-419e-aa3d-ab88f2d90c5e" | ||
* entry[=].resource = ConsentExample1 | ||
* entry[=].resource = RAConsentExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Consent?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:41a84a93-1c95-4162-b13c-1c617509e6e2" | ||
* entry[=].resource = ConditionExample1 | ||
* entry[=].resource = RAConditionExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Condition?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[=].resource = MasterFlagExample1 | ||
* entry[=].resource = RAPatientFlagExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[+].fullUrl = "urn:uuid:04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[=].resource = AdjustmentFlagExample1 | ||
* entry[=].resource = RAFlagExample1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[+].fullUrl = "urn:uuid:b19124e9-f742-49b4-9247-5c2d58ac1ef4" | ||
* entry[=].resource = ConditionExample2 | ||
* entry[=].resource = RAConditionExample2 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Condition/b19124e9-f742-49b4-9247-5c2d58ac1ef4" | ||
* entry[+].fullUrl = "urn:uuid:212c1018-f52a-4db7-9bc2-59a88622eb4f" | ||
* entry[=].resource = AdjustmentFlagExample2 | ||
* entry[=].resource = RAFlagExample2 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/212c1018-f52a-4db7-9bc2-59a88622eb4f" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
Instance: RemoveRARecordExample | ||
InstanceOf: Bundle | ||
Title: "RA Example of deleting an RA record with a Transaction" | ||
Usage: #example | ||
* type = #transaction | ||
* entry[0].request.method = #DELETE | ||
* entry[=].request.url = "Flag/fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[+].request.method = #DELETE | ||
* entry[=].request.url = "Consent/ConsentExample1" | ||
* entry[=].request.url = "Consent/RAConsentExample1" | ||
* entry[+].request.method = #DELETE | ||
* entry[=].request.url = "Condition/ConditionExample1" | ||
* entry[=].request.url = "Condition/RAConditionExample1" |
11 changes: 8 additions & 3 deletions
11
input/fsh/examples/0013-ConsentExample1.fsh → ...t/fsh/examples/0013-RAConsentExample1.fsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.