Skip to content

Commit

Permalink
added careconnect deps, tidy diagrams, include contact via yml
Browse files Browse the repository at this point in the history
  • Loading branch information
declankieran committed Mar 10, 2024
1 parent a446338 commit 7768953
Show file tree
Hide file tree
Showing 45 changed files with 127 additions and 1,707 deletions.
2 changes: 1 addition & 1 deletion input/fsh/codesystem/CPIS-ConditionCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the category of a condition within CPIS."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/CPIS-ConditionCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the SNOMED-CT concept representing an Imp
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/CPIS-ConsentPurpose.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the purpose of the consent given within C
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/CPIS-FlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem containing CPIS flag categories"
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/FGM-ConditionCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the category of a condition within FGM."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/FGM-ConditionCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the SNOMED-CT concept representing an Imp
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/FGM-ConsentPurpose.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the purpose of the consent given within F
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/FGM-FlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem containing FGM flag categories"
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/FlagProxyRole.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the type/role of the proxy involved"
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/PatientFlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the type/category of Flag."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/RA-ConditionCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the category of a condition within Reason
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/RA-ConditionCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the SNOMED-CT concept representing an Imp
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/RA-ConsentPurpose.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the purpose of the consent given within R
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/codesystem/RA-FlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A CodeSystem to identify the category of the adjustments required"
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^caseSensitive = true
* ^content = #complete
Expand Down
4 changes: 3 additions & 1 deletion input/fsh/examples/0014-PatientExample1.fsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
Instance: PatientExample1
InstanceOf: Patient
Title: "A simple NHS patient example"
Title: "UKCore patient example with very basic details."
Usage: #example
* meta.profile = "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"

* identifier.system = "https://fhir.nhs.uk/Id/nhs-number"
* identifier.value = "9912003888"
* active = true
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/extensions/Extension-AdjustmentNotes.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Context: Flag
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* value[x] 1..
* value[x] only Annotation
2 changes: 1 addition & 1 deletion input/fsh/extensions/Extension-ConsentCreateSummary.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Context: Consent
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* value[x] 1..
* value[x] only Annotation
2 changes: 1 addition & 1 deletion input/fsh/extensions/Extension-RemoveCreateSummary.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Context: Consent
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* value[x] 1..
* value[x] only Annotation
2 changes: 1 addition & 1 deletion input/fsh/profiles/FlagCondition.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Description: "Record an individual condition for a flag in NHS England"
* contained contains provenance 1..1
* contained[provenance] only FlagProvenance

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* category ^slicing.discriminator.type = #pattern
* category ^slicing.rules = #open
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/profiles/FlagConsent.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "Record consent to capture information for NHS England flags"
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* extension contains
Extension-ConsentCreateSummary named createSummary 0..1 and
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/profiles/FlagProvenance.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "Record details of the practitioner recording or removing an indivi
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* target only Reference(FlagCondition or FlagConsent or ProgrammeFlag or PatientFlag)
* agent.role from $ValueSetFlagProvenanceRole (extensible)
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/profiles/PatientFlag.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "Record whether a Patient Flags exists"
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* extension contains
Extension-FlagNotes named flagNotes 0..1 and
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/profiles/ProgrammeFlag.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "Record an individual flag for an NHS England programme."
* ^status = #draft
* ^date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* extension contains
Extension-FlagNotes named flagNotes 0..1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,2 @@
RuleSet: NHSEngland-PublisherContactCopyright
* ^publisher = "NHS England"
* ^contact[0].name = "NHS England"
* ^contact[=].telecom[0].system = #email
* ^contact[=].telecom[=].value = "[email protected]"
* ^contact[=].telecom[=].use = #work
* ^contact[=].telecom[=].rank = 1
* ^copyright = "Copyright © 2023+ NHS England Licensed under the Apache License, Version 2.0 (the \\\"License\\\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html."

RuleSet: NHSEngland-PublisherContactCopyright-Instance
* publisher = "NHS England"
* contact[0].name = "NHS England"
* contact[=].telecom[0].system = #email
* contact[=].telecom[=].value = "[email protected]"
* contact[=].telecom[=].use = #work
* contact[=].telecom[=].rank = 1
RuleSet: NHSEngland-Copyright
* ^copyright = "Copyright © 2024+ NHS England Licensed under the Apache License, Version 2.0 (the \\\"License\\\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\\"AS IS\\\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html."
2 changes: 0 additions & 2 deletions input/fsh/searchparameter/FlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Description: "Search by category in the Flag resource"
* status = #active
* date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright-Instance

* code = #category
* base = #Flag
* type = #token
Expand Down
2 changes: 0 additions & 2 deletions input/fsh/searchparameter/FlagCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Description: "Search by code in the Flag resource"
* status = #active
* date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright-Instance

* code = #code
* base = #Flag
* type = #token
Expand Down
2 changes: 0 additions & 2 deletions input/fsh/searchparameter/FlagDetail.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Description: "Search for Condition, Flag or Consent resources referenced in flag
* status = #active
* date = "2024-02-14"

* insert NHSEngland-PublisherContactCopyright-Instance

* code = #detail
* base = #Flag
* type = #reference
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/CPIS-FlagCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet containing flag codes for the Child Protection Informat
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "http://snomed.info/sct"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/FGM-FlagCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet containing flag codes for the Female Genital Mutilation
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "http://snomed.info/sct"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/FlagConditionCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the category of a condition."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/RA-ConditionCategory"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/FlagConditionCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify a condition."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/RA-ConditionCode"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/FlagConsentPurpose.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the purpose of a consent given for an NHS E
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/RA-ConsentPurpose"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/FlagProxyRole.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the type/role of the proxy involved."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/FlagProxyRole"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/PatientFlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the type/category of a flag."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/PatientFlagCategory"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/ProgrammeFlagCategory.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the flag category."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "https://fhir.nhs.uk/England/CodeSystem/RA-FlagCategory"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/ProgrammeFlagCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet containing flag codes for the NHS England Programmes."
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* codes from system $ValueSetRAFlagCode
* codes from system $ValueSetCPISFlagCode
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/RA-FlagCode.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet containing flag codes for the Reasonable Adjustments NH
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* ^expansion.timestamp = "2024-02-14T12:00:00+00:00"
* ^expansion.contains[0].system = "http://snomed.info/sct"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/valuesets/RA-ProvenanceRole.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: "A ValueSet to identify the role in which someone recording provena
* ^date = "2024-02-14"
* ^experimental = false

* insert NHSEngland-PublisherContactCopyright
* insert NHSEngland-Copyright

* $CareConnect-SDSJobRoleName-1#R0010 "Medical Director"
* $CareConnect-SDSJobRoleName-1#R0020 "Clinical Director - Medical"
Expand Down
Loading

0 comments on commit 7768953

Please sign in to comment.