-
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.
* Updated fsh, updated add guidance * Download fonts in pipeline * removed duplicate instance definitions from fsh * fix example link * fix some validation errors * fix jekll plantuml install * Generate query output in pipeline, change use case structure * Add server examples and data model. * Fix filename of query output in pipeline * Serpate load and query in pipeline. * fix alert icons * Added guidance how to access swagger in docker instance of HAPI server. * change initial interaction to be more generic, i.e. not just condition. * link to server examples * changed cardinatlity as per comments from Marcus, include (same) contained provenance in all RA record resources. --------- Co-authored-by: Declan Kieran <[email protected]>
- Loading branch information
1 parent
01e32a8
commit 86fcb6d
Showing
25 changed files
with
459 additions
and
337 deletions.
There are no files selected for viewing
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
97 changes: 97 additions & 0 deletions
97
input/fsh/examples/add-condition-transaction-example-1.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 |
---|---|---|
@@ -0,0 +1,97 @@ | ||
Alias: $consentscope = http://terminology.hl7.org/CodeSystem/consentscope | ||
Alias: $RARecord-FlagCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-FlagCategory-1 | ||
Alias: $sct = https://snomed.info/sct | ||
Alias: $condition-clinical = http://terminology.hl7.org/CodeSystem/condition-clinical | ||
Alias: $CareConnect-ConditionCategory-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-ConditionCategory-1 | ||
Alias: $RARecord-ConditionCode-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-ConditionCode-1 | ||
Alias: $DataOperation = http://terminology.hl7.org/CodeSystem/v3-DataOperation | ||
Alias: $CareConnect-SDSJobRoleName-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1 | ||
Alias: $RARecord-AdjustmentCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-AdjustmentCategory-1 | ||
|
||
Instance: add-condition-transaction-example-1 | ||
InstanceOf: Bundle | ||
Usage: #example | ||
* type = #transaction | ||
* entry[0].fullUrl = "urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[=].resource = patient-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Patient?identifier=9912003888" | ||
* entry[+].fullUrl = "urn:uuid:959fbc3c-0907-419e-aa3d-ab88f2d90c5e" | ||
* entry[=].resource = consent-example-1 | ||
* 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 = condition-example-1 | ||
* 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 = master-flag-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[+].fullUrl = "urn:uuid:04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[=].resource = condition-flag-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
|
||
Instance: patient-example-1 | ||
InstanceOf: Patient | ||
Usage: #inline | ||
* identifier.system = "https://fhir.nhs.uk/Id/nhs-number" | ||
* identifier.value = "9912003888" | ||
* active = true | ||
* name.use = #official | ||
* name.family = "Duck" | ||
* name.given = "Donald" | ||
* gender = #male | ||
* birthDate = "1970-01-01" | ||
|
||
Instance: consent-example-1 | ||
InstanceOf: Consent | ||
Usage: #inline | ||
* status = #active | ||
* scope = $consentscope#patient-privacy | ||
* category = $RARecord-FlagCategory-1#NRAF "National Reasonable Adjustments Flag" | ||
* provision.purpose = $sct#370856009 "Limiting access to confidential patient information" | ||
* patient = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
* policy.authority = "https://www.gov.uk/" | ||
* policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" | ||
|
||
Instance: master-flag-example-1 | ||
InstanceOf: Flag | ||
Usage: #inline | ||
* status = #active | ||
* code = $RARecord-FlagCategory-1#NRAF "National Reasonable Adjustments Flag" | ||
* category = $RARecord-FlagCategory-1#NRAF "National Reasonable Adjustments Flag" | ||
* subject = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
* contained.resourceType = "Provenance" | ||
* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" | ||
* contained.target.reference = "#" | ||
* contained.recorded = "2024-01-01T11:00:00+00:00" | ||
* contained.activity = $DataOperation#CREATE "create" | ||
* contained.agent.role = $CareConnect-SDSJobRoleName-1#R0260 "General Medical Practitioner" | ||
* contained.agent.who.reference = "https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9" | ||
* contained.agent.onBehalfOf.reference = "https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7" | ||
|
||
Instance: condition-example-1 | ||
InstanceOf: Condition | ||
Usage: #inline | ||
* clinicalStatus = $condition-clinical#active | ||
* category = $CareConnect-ConditionCategory-1#issue "Issue" | ||
* code = $RARecord-ConditionCode-1#5 "Learning or understanding or concentrating" | ||
* subject = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
|
||
Instance: condition-flag-example-1 | ||
InstanceOf: Flag | ||
Usage: #inline | ||
* status = #active | ||
* code = $RARecord-AdjustmentCategory-1#001 "Communication support" | ||
* category = $RARecord-FlagCategory-1#NRAF "National Reasonable Adjustments Flag" | ||
* subject = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
* contained.resourceType = "Provenance" | ||
* contained.id = "ddb4df1c-d15a-4d02-9346-c034732c5a37" | ||
* contained.target.reference = "#" | ||
* contained.recorded = "2024-01-01T11:00:00+00:00" | ||
* contained.activity = $DataOperation#CREATE "create" | ||
* contained.agent.role = $CareConnect-SDSJobRoleName-1#R0260 "General Medical Practitioner" | ||
* contained.agent.who.reference = "https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9" | ||
* contained.agent.onBehalfOf.reference = "https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7" |
66 changes: 66 additions & 0 deletions
66
input/fsh/examples/add-condition-transaction-example-2.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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
Alias: $consentscope = http://terminology.hl7.org/CodeSystem/consentscope | ||
Alias: $RARecord-FlagCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-FlagCategory-1 | ||
Alias: $sct = https://snomed.info/sct | ||
Alias: $condition-clinical = http://terminology.hl7.org/CodeSystem/condition-clinical | ||
Alias: $CareConnect-ConditionCategory-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-ConditionCategory-1 | ||
Alias: $RARecord-ConditionCode-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-ConditionCode-1 | ||
Alias: $DataOperation = http://terminology.hl7.org/CodeSystem/v3-DataOperation | ||
Alias: $CareConnect-SDSJobRoleName-1 = https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SDSJobRoleName-1 | ||
Alias: $RARecord-AdjustmentCategory-1 = https://fhir.nhs.uk/STU3/CodeSystem/RARecord-AdjustmentCategory-1 | ||
|
||
Instance: add-condition-transaction-example-2 | ||
InstanceOf: Bundle | ||
Usage: #example | ||
* type = #transaction | ||
* entry[0].fullUrl = "urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[=].resource = patient-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Patient?identifier=9912003888" | ||
* entry[+].fullUrl = "urn:uuid:959fbc3c-0907-419e-aa3d-ab88f2d90c5e" | ||
* entry[=].resource = consent-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Consent?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[=].resource = master-flag-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/fba99f70-fe1d-42e2-b77a-916e44b53c19" | ||
* entry[+].fullUrl = "urn:uuid:41a84a93-1c95-4162-b13c-1c617509e6e2" | ||
* entry[=].resource = condition-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Condition?patient=urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" | ||
* entry[+].fullUrl = "urn:uuid:04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[=].resource = condition-flag-example-1 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/04adcb5b-3de7-4f67-97f0-b2fdf941ba85" | ||
* entry[+].fullUrl = "urn:uuid:b19124e9-f742-49b4-9247-5c2d58ac1ef4" | ||
* entry[=].resource = condition-example-2 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Condition/b19124e9-f742-49b4-9247-5c2d58ac1ef4" | ||
* entry[+].fullUrl = "urn:uuid:212c1018-f52a-4db7-9bc2-59a88622eb4f" | ||
* entry[=].resource = condition-flag-example-2 | ||
* entry[=].request.method = #PUT | ||
* entry[=].request.url = "Flag/212c1018-f52a-4db7-9bc2-59a88622eb4f" | ||
|
||
Instance: condition-example-2 | ||
InstanceOf: Condition | ||
Usage: #inline | ||
* clinicalStatus = $condition-clinical#active | ||
* category = $CareConnect-ConditionCategory-1#issue "Issue" | ||
* code = $sct#73618009 "Autistic spectrum disorder with isolated skills" | ||
* subject = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
|
||
Instance: condition-flag-example-2 | ||
InstanceOf: Flag | ||
Usage: #inline | ||
* status = #active | ||
* code = $RARecord-AdjustmentCategory-1#001 "Communication support" | ||
* category = $RARecord-FlagCategory-1#NRAF "National Reasonable Adjustments Flag" | ||
* subject = Reference(urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77) | ||
* contained.resourceType = "Provenance" | ||
* contained.id = "55ac7111-dbd1-42f2-906c-a167b04d47ce" | ||
* contained.target.reference = "#" | ||
* contained.recorded = "2024-01-01T11:00:00+00:00" | ||
* contained.activity = $DataOperation#CREATE "create" | ||
* contained.agent.role = $CareConnect-SDSJobRoleName-1#R0260 "General Medical Practitioner" | ||
* contained.agent.who.reference = "https://sds.spineservices.nhs.uk/STU3/Practitioner/2ee4tr6a9" | ||
* contained.agent.onBehalfOf.reference = "https://directory.spineservices.nhs.uk/STU3/Organization/a3e5i7" |
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
input/fsh/extensions/Extension-England-FlagRemovalReason.fsh
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
input/fsh/extensions/Extension-England-OrganisationRole.fsh
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.