From 518c60852d141f153ffcc063062b5c92993e7a87 Mon Sep 17 00:00:00 2001 From: declankieran-nhsd <93662162+declankieran-nhsd@users.noreply.github.com> Date: Fri, 22 Mar 2024 00:46:55 +0000 Subject: [PATCH] Feature/generalise profiles (#19) * 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 --------- Co-authored-by: Declan Kieran --- input/fsh/examples/0026-FGMPatientFlagExample1.fsh | 2 +- input/pagecontent/add-reasonable-adjustment-record.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/input/fsh/examples/0026-FGMPatientFlagExample1.fsh b/input/fsh/examples/0026-FGMPatientFlagExample1.fsh index 2fa4efa..13e4b2a 100644 --- a/input/fsh/examples/0026-FGMPatientFlagExample1.fsh +++ b/input/fsh/examples/0026-FGMPatientFlagExample1.fsh @@ -1,5 +1,5 @@ Instance: FGMPatientFlagExample1 -InstanceOf: Flag +InstanceOf: PatientFlag Title: "FGM example of a patient Flag resource" Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/PatientFlag" diff --git a/input/pagecontent/add-reasonable-adjustment-record.md b/input/pagecontent/add-reasonable-adjustment-record.md index 9fbe395..b81605a 100644 --- a/input/pagecontent/add-reasonable-adjustment-record.md +++ b/input/pagecontent/add-reasonable-adjustment-record.md @@ -5,7 +5,6 @@ Patient consent must be obtained before recording any adjustment or impairment. For high level requirements, see [Key purposes of the Reasonable Adjustment Flag](index.html#key-purposes) ### Usecase - After obtaining consent from a patient, a Reasonable Adjustment Record may be created. This consists of a Flag resource containing an adjustment and a Condition resource may also optionally be created to record the details of an impairment. If a Reasonable Adjustment Record exists, a Flag resource designated as the patient flag must be created to indicate that there are reasonable adjustments recorded for the patient. There is a single instance of this type of resource per patient.