diff --git a/input/fsh/examples/0003-AddRARecordTransactionExample1-bundle.fsh b/input/fsh/examples/0003-AddRARecordTransactionExample1-bundle.fsh index 2e140b0..1cfc9bf 100644 --- a/input/fsh/examples/0003-AddRARecordTransactionExample1-bundle.fsh +++ b/input/fsh/examples/0003-AddRARecordTransactionExample1-bundle.fsh @@ -1,6 +1,6 @@ Instance: AddRARecordTransactionExample1 InstanceOf: Bundle -Title: "RA Example of adding an RA record with a Transaction" +Title: "RA Example of adding a record with a Transaction" Usage: #example * type = #transaction * entry[0].fullUrl = "urn:uuid:6253c43b-5cc8-4645-93b1-38e41be82a77" diff --git a/input/fsh/examples/0004-AddRARecordTransactionExample2-bundle.fsh b/input/fsh/examples/0004-AddRARecordTransactionExample2-bundle.fsh index 131121d..a00e0b5 100644 --- a/input/fsh/examples/0004-AddRARecordTransactionExample2-bundle.fsh +++ b/input/fsh/examples/0004-AddRARecordTransactionExample2-bundle.fsh @@ -1,6 +1,6 @@ Instance: AddRARecordTransactionExample2 InstanceOf: Bundle -Title: "RA Example of idempotent update of an RA record with a Transaction" +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" diff --git a/input/fsh/examples/0013-RAConsentExample1.fsh b/input/fsh/examples/0013-RAConsentExample1.fsh index 63e7d93..16e0295 100644 --- a/input/fsh/examples/0013-RAConsentExample1.fsh +++ b/input/fsh/examples/0013-RAConsentExample1.fsh @@ -1,6 +1,6 @@ Instance: RAConsentExample1 InstanceOf: Consent -Title: "RA Example of Consent resource for Reasonable Adjustments" +Title: "RA example of Consent resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" @@ -12,7 +12,7 @@ Usage: #example * status = #active * scope = $consentscope#patient-privacy * category = PatientFlagCategory#NRAF "National Reasonable Adjustments Flag" -* provision.purpose = $sct#370856009 "Limiting access to confidential patient information" +* provision.purpose = RA-ConsentPurpose#RACONSENT "Reasonable Adjustments - Consent to record Reasonable Adjustments" * patient = Reference(Patient/PatientExample1) * policy.authority = "https://www.gov.uk/" * policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" diff --git a/input/fsh/examples/0015-RAPatientFlagExample1.fsh b/input/fsh/examples/0015-RAPatientFlagExample1.fsh index f89561e..da622f4 100644 --- a/input/fsh/examples/0015-RAPatientFlagExample1.fsh +++ b/input/fsh/examples/0015-RAPatientFlagExample1.fsh @@ -1,6 +1,6 @@ Instance: RAPatientFlagExample1 InstanceOf: Flag -Title: "RA Example of a patient Flag resource for Reasonable Adjustments" +Title: "RA example of a patient Flag resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/PatientFlag" @@ -12,7 +12,7 @@ Usage: #example * subject = Reference(Patient/PatientExample1) * contained.resourceType = "Provenance" -* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" +* contained.id = "c4e2e862-3bf4-4176-a186-9f1732938260" * contained.target.reference = "#" * contained.recorded = "2024-01-01T11:00:00+00:00" * contained.activity = $v3-DataOperation#CREATE "create" diff --git a/input/fsh/examples/0016-RAFlagExample1.fsh b/input/fsh/examples/0016-RAFlagExample1.fsh index d078a65..ec06890 100644 --- a/input/fsh/examples/0016-RAFlagExample1.fsh +++ b/input/fsh/examples/0016-RAFlagExample1.fsh @@ -1,6 +1,6 @@ Instance: RAFlagExample1 InstanceOf: Flag -Title: "RA Example 1 of a Flag resource for Reasonable Adjustments" +Title: "RA example 1 of a Flag resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/ProgrammeFlag" @@ -14,7 +14,7 @@ Usage: #example * subject = Reference(Patient/PatientExample1) * contained.resourceType = "Provenance" -* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" +* contained.id = "873a38eb-0f9c-4a66-a4e9-8e4be2350d6b" * contained.target.reference = "#" * contained.recorded = "2024-01-01T11:00:00+00:00" * contained.activity = $v3-DataOperation#CREATE "create" diff --git a/input/fsh/examples/0017-RAConditionExample1.fsh b/input/fsh/examples/0017-RAConditionExample1.fsh index 7d3d42c..212b115 100644 --- a/input/fsh/examples/0017-RAConditionExample1.fsh +++ b/input/fsh/examples/0017-RAConditionExample1.fsh @@ -1,6 +1,6 @@ Instance: RAConditionExample1 InstanceOf: Condition -Title: "RA Example 1 of a Condition resource for Reasonable Adjustments" +Title: "RA example 1 of a Condition resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagCondition" @@ -11,7 +11,7 @@ Usage: #example * subject = Reference(Patient/PatientExample1) * contained.resourceType = "Provenance" -* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" +* contained.id = "6a6b18a7-c077-49da-929f-a8dd38468f79" * contained.target.reference = "#" * contained.recorded = "2024-01-01T11:00:00+00:00" * contained.activity = $v3-DataOperation#CREATE "create" diff --git a/input/fsh/examples/0018-RAFlagExample2.fsh b/input/fsh/examples/0018-RAFlagExample2.fsh index 4c75272..4f6bf59 100644 --- a/input/fsh/examples/0018-RAFlagExample2.fsh +++ b/input/fsh/examples/0018-RAFlagExample2.fsh @@ -1,6 +1,6 @@ Instance: RAFlagExample2 InstanceOf: Flag -Title: "RA Example 2 of a Flag resource for Reasonable Adjustments" +Title: "RA example 2 of a Flag resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/ProgrammeFlag" @@ -14,7 +14,7 @@ Usage: #example * subject = Reference(Patient/PatientExample1) * contained.resourceType = "Provenance" -* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" +* contained.id = "71f8bcda-242d-4401-a59c-6924a6cb1c0e" * contained.target.reference = "#" * contained.recorded = "2024-01-01T11:00:00+00:00" * contained.activity = $v3-DataOperation#CREATE "create" diff --git a/input/fsh/examples/0019-RAConditionExample2.fsh b/input/fsh/examples/0019-RAConditionExample2.fsh index e8de6f6..f800707 100644 --- a/input/fsh/examples/0019-RAConditionExample2.fsh +++ b/input/fsh/examples/0019-RAConditionExample2.fsh @@ -1,6 +1,6 @@ Instance: RAConditionExample2 InstanceOf: Condition -Title: "RA Example 2 of a Condition resource for Reasonable Adjustments" +Title: "RA example 2 of a Condition resource." Usage: #example * meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagCondition" @@ -11,7 +11,7 @@ Usage: #example * subject = Reference(Patient/PatientExample1) * contained.resourceType = "Provenance" -* contained.id = "4c75ce1f-1ad7-4391-b5f6-104754c7e904" +* contained.id = "f55e1edc-8ac7-4e06-b322-25fd34e62249" * contained.target.reference = "#" * contained.recorded = "2024-01-01T11:00:00+00:00" * contained.activity = $v3-DataOperation#CREATE "create" diff --git a/input/fsh/examples/0020-CPISConsentExample.fsh b/input/fsh/examples/0020-CPISConsentExample.fsh new file mode 100644 index 0000000..d4bfdda --- /dev/null +++ b/input/fsh/examples/0020-CPISConsentExample.fsh @@ -0,0 +1,28 @@ +Instance: CPISConsentExample1 +InstanceOf: Consent +Title: "CPIS example of Consent resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentCreateSummary" +* extension[=].valueAnnotation.text = "Example of consent create summary extension text" +* extension[+].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentRemoveSummary" +* extension[=].valueAnnotation.text = "Example of consent remove summary extension text" + +* status = #active +* scope = $consentscope#patient-privacy +* category = PatientFlagCategory#NRAF "National Reasonable Adjustments Flag" +* provision.purpose = CPIS-ConsentPurpose#CPISCONSENT "CPIS - Consent to record CPIS flags" +* patient = Reference(Patient/PatientExample1) +* policy.authority = "https://www.gov.uk/" +* policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" +* policyRule = FlagProxyRole#001 + +* contained.resourceType = "Provenance" +* contained.id = "51a731b3-1c46-47ba-abad-04209bd264e6" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" diff --git a/input/fsh/examples/0021-CPISPatientFlagExample1.fsh b/input/fsh/examples/0021-CPISPatientFlagExample1.fsh new file mode 100644 index 0000000..968377b --- /dev/null +++ b/input/fsh/examples/0021-CPISPatientFlagExample1.fsh @@ -0,0 +1,21 @@ +Instance: CPISPatientFlagExample1 +InstanceOf: Flag +Title: "CPIS example of a patient Flag resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/PatientFlag" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes" +* extension[=].valueAnnotation.text = "Example of flag notes extension text in patient flag" + +* status = #active +* code = PatientFlagCategory#CP-IS "Child Protection - Information Sharing Flag" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "42b9f285-0f1b-435a-ba6e-c72762d6502e" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0022-CPISFlagExample1.fsh b/input/fsh/examples/0022-CPISFlagExample1.fsh new file mode 100644 index 0000000..0498ef6 --- /dev/null +++ b/input/fsh/examples/0022-CPISFlagExample1.fsh @@ -0,0 +1,23 @@ +Instance: CPISFlagExample1 +InstanceOf: Flag +Title: "CPIS example of a Flag resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/ProgrammeFlag" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes" +* extension[=].valueAnnotation.text = "Example of flag notes extension text in adjustment flag" + +* status = #active +* category[0] = PatientFlagCategory#CP-IS "Child Protection - Information Sharing Flag" +* category[+] = CPIS-FlagCategory#001 "Example CPIS category" +* code = $sct#1082681000000103 "Requires support for receptive communication needs" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "ea77b434-585a-48b9-a789-eac610f0363e" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0023-CPISConditionExample1.fsh b/input/fsh/examples/0023-CPISConditionExample1.fsh new file mode 100644 index 0000000..40dd175 --- /dev/null +++ b/input/fsh/examples/0023-CPISConditionExample1.fsh @@ -0,0 +1,20 @@ +Instance: CPISConditionExample1 +InstanceOf: Condition +Title: "CPIS example of a Condition resource." +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagCondition" + +* clinicalStatus = $condition-clinical#active +* category[0] = PatientFlagCategory#CP-IS "Child Protection - Information Sharing Flag" +* category[+] = CPIS-ConditionCategory#cpis-example-condition-category "CPIS example condition category" +* code = CPIS-ConditionCode#1 "CPIS example condition code" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "482155c0-9ed3-4b22-b7b8-009f265606cc" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0024-AddCPISRecordTransactionExample1-bundle.fsh b/input/fsh/examples/0024-AddCPISRecordTransactionExample1-bundle.fsh new file mode 100644 index 0000000..f602479 --- /dev/null +++ b/input/fsh/examples/0024-AddCPISRecordTransactionExample1-bundle.fsh @@ -0,0 +1,25 @@ +Instance: AddCPISRecordTransactionExample1 +InstanceOf: Bundle +Title: "CPIS Example of adding a record with a Transaction" +Usage: #example +* type = #transaction +* entry[0].fullUrl = "urn:uuid:f7898b1c-4314-4331-9477-cca32861e858" +* entry[=].resource = PatientExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Patient?identifier=9912003888" +* entry[+].fullUrl = "urn:uuid:921cd5d5-e1e9-4986-bf8e-5826832db2ff" +* entry[=].resource = CPISConsentExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Consent?patient=urn:uuid:f7898b1c-4314-4331-9477-cca32861e858" +* entry[+].fullUrl = "urn:uuid:7dd8fe1e-e782-42c6-9ef4-1bebce3a43cc" +* entry[=].resource = CPISConditionExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Condition?patient=urn:uuid:f7898b1c-4314-4331-9477-cca32861e858" +* entry[+].fullUrl = "urn:uuid:066fbb4b-2a8d-471e-8732-42e85ab1de1a" +* entry[=].resource = CPISPatientFlagExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Flag/066fbb4b-2a8d-471e-8732-42e85ab1de1a" +* entry[+].fullUrl = "urn:uuid:621c9e76-19e1-4aa0-adb0-8d79979ea27c" +* entry[=].resource = CPISFlagExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Flag/066fbb4b-2a8d-471e-8732-42e85ab1de1a" diff --git a/input/fsh/examples/0025-FGMConsentExample.fsh b/input/fsh/examples/0025-FGMConsentExample.fsh new file mode 100644 index 0000000..113ce47 --- /dev/null +++ b/input/fsh/examples/0025-FGMConsentExample.fsh @@ -0,0 +1,28 @@ +Instance: FGMConsentExample1 +InstanceOf: Consent +Title: "FGM example of Consent resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentCreateSummary" +* extension[=].valueAnnotation.text = "Example of consent create summary extension text" +* extension[+].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-ConsentRemoveSummary" +* extension[=].valueAnnotation.text = "Example of consent remove summary extension text" + +* status = #active +* scope = $consentscope#patient-privacy +* category = PatientFlagCategory#FGM "Female Genital Mutilation Flag" +* provision.purpose = FGM-ConsentPurpose#FGMCONSENT "FGM - Consent to record FGM flags" +* patient = Reference(Patient/PatientExample1) +* policy.authority = "https://www.gov.uk/" +* policy.uri = "https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/535024/data-security-review.pdf" +* policyRule = FlagProxyRole#001 + +* contained.resourceType = "Provenance" +* contained.id = "bc0dbfb1-7432-46fa-b1b8-0e3648827754" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" diff --git a/input/fsh/examples/0026-FGMPatientFlagExample1.fsh b/input/fsh/examples/0026-FGMPatientFlagExample1.fsh new file mode 100644 index 0000000..2fa4efa --- /dev/null +++ b/input/fsh/examples/0026-FGMPatientFlagExample1.fsh @@ -0,0 +1,21 @@ +Instance: FGMPatientFlagExample1 +InstanceOf: Flag +Title: "FGM example of a patient Flag resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/PatientFlag" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes" +* extension[=].valueAnnotation.text = "Example of flag notes extension text in patient flag" + +* status = #active +* code = PatientFlagCategory#FGM "Female Genital Mutilation Flag" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "3fc83fd8-4a6d-48e4-91ab-12bb10a4a834" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0027-FGMFlagExample1.fsh b/input/fsh/examples/0027-FGMFlagExample1.fsh new file mode 100644 index 0000000..c5f0039 --- /dev/null +++ b/input/fsh/examples/0027-FGMFlagExample1.fsh @@ -0,0 +1,23 @@ +Instance: FGMFlagExample1 +InstanceOf: Flag +Title: "FGM example of a Flag resource" +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/ProgrammeFlag" + +* extension[0].url = "https://fhir.nhs.uk/England/StructureDefinition/Extension-FlagNotes" +* extension[=].valueAnnotation.text = "Example of flag notes extension text in adjustment flag" + +* status = #active +* category[0] = PatientFlagCategory#FGM "Female Genital Mutilation Flag" +* category[+] = FGM-FlagCategory#001 "Example FGM category" +* code = $sct#1082681000000103 "Requires support for receptive communication needs" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "9b5f2d1b-8175-407f-a49d-b4f04c9d4300" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0028-FGMConditionExample1.fsh b/input/fsh/examples/0028-FGMConditionExample1.fsh new file mode 100644 index 0000000..077c1dc --- /dev/null +++ b/input/fsh/examples/0028-FGMConditionExample1.fsh @@ -0,0 +1,20 @@ +Instance: FGMConditionExample1 +InstanceOf: Condition +Title: "FGM example of a Condition resource." +Usage: #example +* meta.profile = "https://fhir.nhs.uk/England/StructureDefinition/FlagCondition" + +* clinicalStatus = $condition-clinical#active +* category[0] = PatientFlagCategory#FGM "Female Genital Mutilation Flag" +* category[+] = FGM-ConditionCategory#fgm-example-condition-category "FGM example condition category" +* code = FGM-ConditionCode#1 "FGM example condition code" +* subject = Reference(Patient/PatientExample1) + +* contained.resourceType = "Provenance" +* contained.id = "e78b78b2-31f9-453d-b278-6d5720001073" +* contained.target.reference = "#" +* contained.recorded = "2024-01-01T11:00:00+00:00" +* contained.activity = $v3-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" \ No newline at end of file diff --git a/input/fsh/examples/0029-AddFGMRecordTransactionExample1-bundle.fsh b/input/fsh/examples/0029-AddFGMRecordTransactionExample1-bundle.fsh new file mode 100644 index 0000000..f2eb909 --- /dev/null +++ b/input/fsh/examples/0029-AddFGMRecordTransactionExample1-bundle.fsh @@ -0,0 +1,25 @@ +Instance: AddFGMRecordTransactionExample1 +InstanceOf: Bundle +Title: "FGM Example of adding a record with a Transaction" +Usage: #example +* type = #transaction +* entry[0].fullUrl = "urn:uuid:9580a1de-f418-432b-85da-eba186b7cfa5" +* entry[=].resource = PatientExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Patient?identifier=9912003888" +* entry[+].fullUrl = "urn:uuid:cd1de51b-2007-4409-8a96-cfcc1e0a0b6b" +* entry[=].resource = FGMConsentExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Consent?patient=urn:uuid:9580a1de-f418-432b-85da-eba186b7cfa5" +* entry[+].fullUrl = "urn:uuid:7dd8fe1e-e782-42c6-9ef4-1bebce3a43cc" +* entry[=].resource = FGMConditionExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Condition?patient=urn:uuid:9580a1de-f418-432b-85da-eba186b7cfa5" +* entry[+].fullUrl = "urn:uuid:97c6d9be-1431-4112-b99c-5cecd318ede0" +* entry[=].resource = FGMPatientFlagExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Flag/97c6d9be-1431-4112-b99c-5cecd318ede0" +* entry[+].fullUrl = "urn:uuid:38f67aa3-5ea8-4a29-9cd5-54ba7acf79a8" +* entry[=].resource = FGMFlagExample1 +* entry[=].request.method = #PUT +* entry[=].request.url = "Flag/38f67aa3-5ea8-4a29-9cd5-54ba7acf79a8" diff --git a/input/fsh/profiles/FlagConsent.fsh b/input/fsh/profiles/FlagConsent.fsh index 578e227..728514f 100644 --- a/input/fsh/profiles/FlagConsent.fsh +++ b/input/fsh/profiles/FlagConsent.fsh @@ -2,7 +2,7 @@ Profile: FlagConsent Parent: Consent Id: FlagConsent Title: "NHSE Flag Consent Profile" -Description: "To record consent to capture information for NHS England flags" +Description: "Record consent to capture information for NHS England flags" * ^name = "FlagConsent" * ^url = "https://fhir.nhs.uk/England/StructureDefinition/FlagConsent" diff --git a/input/fsh/profiles/FlagProvenance.fsh b/input/fsh/profiles/FlagProvenance.fsh index 3a5dbf6..3ca7e6b 100644 --- a/input/fsh/profiles/FlagProvenance.fsh +++ b/input/fsh/profiles/FlagProvenance.fsh @@ -2,7 +2,7 @@ Profile: FlagProvenance Parent: Provenance Id: FlagProvenance Title: "NHSE Flag Provenance Profile" -Description: "To record details of the practitioner recording or removing an individual Flag." +Description: "Record details of the practitioner recording or removing an individual Flag." * ^name = "FlagProvenance" * ^url = "https://fhir.nhs.uk/England/StructureDefinition/FlagProvenance" diff --git a/input/fsh/profiles/PatientFlag.fsh b/input/fsh/profiles/PatientFlag.fsh index e2b9d4a..c7e4a09 100644 --- a/input/fsh/profiles/PatientFlag.fsh +++ b/input/fsh/profiles/PatientFlag.fsh @@ -2,7 +2,7 @@ Profile: PatientFlag Parent: Flag Id: PatientFlag Title: "NHSE Patient Flag Profile" -Description: "To record whether a Patient Flags exists" +Description: "Record whether a Patient Flags exists" * ^name = "PatientFlag" * ^url = "https://fhir.nhs.uk/England/StructureDefinition/PatientFlag" @@ -28,7 +28,5 @@ Description: "To record whether a Patient Flags exists" * contained contains provenance 1..1 * contained[provenance] only FlagProvenance -* category 1.. MS -* category from $ValueSetPatientFlagCategory (required) * code MS -* code from $ValueSetRAFlagCode (extensible) +* code from $ValueSetPatientFlagCategory (required) diff --git a/input/pagecontent/additional-examples.md b/input/pagecontent/additional-examples.md new file mode 100644 index 0000000..9e55ee1 --- /dev/null +++ b/input/pagecontent/additional-examples.md @@ -0,0 +1,19 @@ +### Overview + +Basic examples for CPIS and FGM to demo use of same profiles. + +### CPIS + +* [Consent](Consent-CPISConsentExample1.html) +* [Patient flag](Flag-CPISPatientFlagExample1.html) +* [CPIS flag](Flag-CPISFlagExample1.html) +* [Condition](Condition-CPISConditionExample1.html) +* [Transaction Bundle](Bundle-AddCPISRecordTransactionExample1.html) + +### FGM + +* [Consent](Consent-FGMConsentExample1.html) +* [Patient flag](Flag-FGMPatientFlagExample1.html) +* [FGM flag](Flag-FGMFlagExample1.html) +* [Condition](Condition-FGMConditionExample1.html) +* [Transaction Bundle](Bundle-AddFGMRecordTransactionExample1.html) \ No newline at end of file