Skip to content

Commit

Permalink
Merge pull request #19 from medcomdk/v-1.5.0-rc1-HomeCareObs
Browse files Browse the repository at this point in the history
V 1.5.0 rc1 home care obs
  • Loading branch information
tmsMedcom authored Oct 31, 2023
2 parents 41e2271 + 7bba14a commit a63f90c
Show file tree
Hide file tree
Showing 20 changed files with 467 additions and 61 deletions.
3 changes: 3 additions & 0 deletions _updatePublisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,16 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then

curl -L $gencont_sh_url -o /tmp/_gencontinuous.new
cp /tmp/_gencontinuous.new _gencontinuous.sh
chmod +x _gencontinuous.sh
rm /tmp/_gencontinuous.new

curl -L $gen_sh_url -o /tmp/_genonce.new
cp /tmp/_genonce.new _genonce.sh
chmod +x _genonce.sh
rm /tmp/_genonce.new

curl -L $update_sh_url -o /tmp/_updatePublisher.new
cp /tmp/_updatePublisher.new _updatePublisher.sh
chmod +x _updatePublisher.sh
rm /tmp/_updatePublisher.new
fi
15 changes: 0 additions & 15 deletions input/fsh/MedComAcknowledgementIssueDetails.fsh
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
// CodeSystem: MedComAcknowledgementIssueDetails
// Id: medcom-acknowledgement-issue-details
// Title: "MedComAcknowledgementIssueDetails"
// Description: "CodeSystem including detailed issues describtions. This CodeSystem is intended to be extended in collaboration the IT-vendors."
// * ^version = "1.0.0-a.1"
// * ^status = #draft
// * ^date = "2022-09-01"
// * ^caseSensitive = false
// * #message-development-error "This code is temporary. It is used to describe an error in the development of the message."
// * #message-delivery-error "This code is temporary. It is used to describe an error in the delivery of the message."


ValueSet: MedComAcknowledgementIssueDetailValues
Id: medcom-acknowledgement-issue-details
Title: "MedComAcknowledgementIssueDetailValues"
Expand Down Expand Up @@ -55,6 +43,3 @@ Description: "ValueSet including detailed issues describtions."
* #MSG_Datatype_Wrong "The data type is wrong" from system medcom-acknowledgement-error-codes
* #MSG_Mailbox_Out_Of_Operation "The mailbox is temporary out of operation" from system medcom-acknowledgement-error-codes
* #MSG_Damaged_durin_transport "The message has been damaged during trasport" from system medcom-acknowledgement-error-codes

// MedComAcknowledgementIssueDetails#message-development-error "This code is temporary. It is used to describe an error in the development of the message."
// * MedComAcknowledgementIssueDetails#message-delivery-error "This code is temporary. It is used to describe an error in the delivery of the message."
22 changes: 22 additions & 0 deletions input/fsh/MedComCoreInterpretationsCodes.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
CodeSystem: MedComCoreInterpretationCodes
Id: medcom-core-interpretation-codes
Title: "MedComCoreInterpretationCodes"
Description: "CodeSystem with code for interpretation of an observation"
* ^version = "1.0.0"
* ^status = #active
* ^date = "2023-10-31"
* ^caseSensitive = false
* ^experimental = true
* #NI "Not Interpreted"

ValueSet: MedComCoreInterpretationCodesValueset
Id: medcom-core-interpreation-valueset
Title: "MedComCoreInterpretationValueset"
Description: "Valueset with code for interpretation of an observation"
* ^version = "1.0.0"
* ^status = #active
* ^date = "2023-10-31"
* ^experimental = true
* include codes from system $obsInterpretation
* MedComCoreInterpretationCodes#NI "Not Interpreted"

31 changes: 31 additions & 0 deletions input/fsh/MedComCoreObservationStatus.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
ValueSet: MedComCoreObservationStatus
Id: medcom-core-observation-status
Title: "MedComCoreObservationStatus"
Description: "ValueSet containing status codes for MedCom Core Observation"
* ^version = "1.0.0"
* ^status = #active
* ^date = "2023-10-31"
* ^experimental = true
* ^compose.include[+].system = $ObsStatusCodes
* ^compose.include[=].concept[+].code = #registered
* ^compose.include[=].concept[=].display = "Registered"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Modtaget"
* ^compose.include[=].concept[+].code = #preliminary
* ^compose.include[=].concept[=].display = "Preliminary"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Forløbigt svar"
* ^compose.include[=].concept[+].code = #final
* ^compose.include[=].concept[=].display = "Final"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Endelig"
* ^compose.include[=].concept[+].code = #corrected
* ^compose.include[=].concept[=].display = "Corrected"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Svar rettet"
* ^compose.include[=].concept[+].code = #cancelled
* ^compose.include[=].concept[=].display = "Cancelled"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Svar annulleret"


10 changes: 5 additions & 5 deletions input/fsh/MedComCorePractitionerRoles.fsh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
ValueSet: MedComCorePractitionerRoles
Id: medcom-core-PractitionerRoles
Title: "MedComCorePractitionerRoles"
Description: "ValueSet containing codes for practionerroles (Danish:Stillingsbetegnelser) from medcom "
* ^version = "1.0.1"
Description: "ValueSet containing codes for practionerroles (Danish: Stillingsbetegnelser) from MedCom"
* ^version = "1.1.0"
* ^status = #active
* ^date = "2023-06-29"
* ^date = "2023-10-31"
* ^experimental = false
* #ambulancebehandler "Ambulancebehandler" from system medcom-core-PractitionerRolesAutorisationsregistret
* #laege "Læge" from system medcom-core-PractitionerRolesAutorisationsregistret
Expand Down Expand Up @@ -35,12 +35,12 @@ Description: "ValueSet containing codes for practionerroles (Danish:Stillingsbet
* #radiograf "Radiograf" from system medcom-core-PractitionerRolesSKSadministrativ
* #diaetist "Diætist" from system medcom-core-PractitionerRolesSKSadministrativ
* #diaetistassistent "Diætistassistent" from system medcom-core-PractitionerRolesSKSadministrativ
* #audilogassistent "Audilogassistent" from system medcom-core-PractitionerRolesSKSadministrativ
* #audilogiassistent "Audilogiassistent" from system medcom-core-PractitionerRolesSKSadministrativ
* #neurofysiologassistent "Neurofysiologassistent" from system medcom-core-PractitionerRolesSKSadministrativ
* #kiropraktor "Kiropraktor" from system medcom-core-PractitionerRolesSKSadministrativ
* #zoneterapeut "Zoneterapeut" from system medcom-core-PractitionerRolesSKSadministrativ
* #psykoterapeut "Psykoterapeut" from system medcom-core-PractitionerRolesSKSadministrativ
* #audiologpaed "Audiologpæd" from system medcom-core-PractitionerRolesSKSadministrativ
* #audiologopaed "Audiologopæd" from system medcom-core-PractitionerRolesSKSadministrativ
* #laegesekretaer "Lægesekretær" from system medcom-core-PractitionerRolesSKSadministrativ
* #ledendelaegesekretaer "Ledende lægesekretær" from system medcom-core-PractitionerRolesSKSadministrativ
* #sygeplejesekretear "Sygeplejesekretær" from system medcom-core-PractitionerRolesSKSadministrativ
Expand Down
10 changes: 5 additions & 5 deletions input/fsh/MedComCorePractitionerRolesSKSAdministrativ.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ CodeSystem: MedComCorePractitionerRolesSKSadministrativ
Id: medcom-core-PractitionerRolesSKSadministrativ
Title: "MedComCorePractitionerRolesSKSadministrativ"
Description: "CodeSystem containing codes for practionerroles (Danish:Stillingsbetegnelser) from [SKS Administrativt-Personaleklassifikation](https://medinfo.dk/sks/brows.php?s_nod=924) "
* ^version = "1.0.0"
* ^version = "1.1.0"
* ^status = #active
* ^date = "2022-12-01"
* ^date = "2023-10-31"
* ^caseSensitive = false
* ^experimental = false
* #speciallaege "Speciallæge"
Expand All @@ -21,7 +21,7 @@ Description: "CodeSystem containing codes for practionerroles (Danish:Stillingsb
* #plejer "Plejer"
* #plejehjemsassistent "Plejehjemsassistent"
* #tandlaege "Tandlæge"
* #klinisktandtekniker "klinisk tandtekniker"
* #klinisktandtekniker "Klinisk tandtekniker"
* #tandplejer "Tandplejer"
* #farmaceut "Farmaceut"
* #apoteker "Apoteker"
Expand All @@ -33,12 +33,12 @@ Description: "CodeSystem containing codes for practionerroles (Danish:Stillingsb
* #radiograf "Radiograf"
* #diaetist "Diætist"
* #diaetistassistent "Diætistassistent"
* #audilogassistent "Audilogassistent"
* #audilogiassistent "Audilogiassistent"
* #neurofysiologassistent "Neurofysiologassistent"
* #kiropraktor "Kiropraktor"
* #zoneterapeut "Zoneterapeut"
* #psykoterapeut "Psykoterapeut"
* #audiologpaed "Audiologpæd"
* #audiologopaed "Audiologopæd"
* #laegesekretaer "Lægesekretær"
* #ledendelaegesekretaer "Ledende lægesekretær"
* #sygeplejesekretear "Sygeplejesekretær"
Expand Down
24 changes: 24 additions & 0 deletions input/fsh/MedComDiagnosticRepportCodes.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
CodeSystem: MedComDiagnosticReportCodes
Id: MedComDiagnosticReportCodes
Title: "MedComDiagnosticReportCodes"
Description: "Codes that represents the name of the diagnostic report"
* ^version = "1.0.0"
* ^status = #draft
* ^date = "2023-10-31"
* ^caseSensitive = false
* ^experimental = true
* #HomeCareReport "HomeCareDiagnosticReport"





ValueSet: MedComDiagnosticReportCodesValueset
Id: MedComDiagnosticReportCodesValueset
Title: "MedComDiagnosticReportCodesValueset"
Description: "ValueSet with codes that represents the name of the diagnostic report."
* ^version = "1.0.0"
* ^status = #draft
* ^date = "2023-10-31"
* ^experimental = true
* MedComDiagnosticReportCodes#HomeCareReport "HomeCareDiagnosticReport"
29 changes: 29 additions & 0 deletions input/fsh/MedComDiagnosticRepportStatus.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ValueSet: MedComCoreDiagnosticReportStatus
Id: medcom-corediagnosticreport-status
Title: "MedComCoreDiagnosticReportStatus"
Description: "ValueSet containing status codes for MedCom DiagnosticReport"
* ^version = "1.0.0"
* ^status = #active
* ^date = "2023-10-31"
* ^experimental = true
* ^compose.include[+].system = $StatusCodeDiagnosticReport
* ^compose.include[=].concept[+].code = #registered
* ^compose.include[=].concept[=].display = "Registered"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Modtaget"
* ^compose.include[=].concept[+].code = #partial
* ^compose.include[=].concept[=].display = "Partial"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Del svar"
* ^compose.include[=].concept[+].code = #final
* ^compose.include[=].concept[=].display = "Final"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Komplet svar"
* ^compose.include[=].concept[+].code = #corrected
* ^compose.include[=].concept[=].display = "Corrected"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Rettet"
* ^compose.include[=].concept[+].code = #cancelled
* ^compose.include[=].concept[=].display = "Cancelled"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Annulleret"
14 changes: 14 additions & 0 deletions input/fsh/MedComHomeCareObsMessageActivityCodes.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

ValueSet: MedComHomeCareObservationMessageActivities
Id: medcom-HomeCareObservation-messagingActivities
Title: "MedComHomeCareObservationMessageActivityCodes"
Description: "ValueSet containg activity codes for HomeCareObservation messages"
* ^version = "1.0.0"
* ^status = #draft
* ^date = "2023-10-31"
* ^experimental = true
* include #new-message from system medcom-messaging-activityCodes
* include #reply-message from system medcom-messaging-activityCodes
* include #retract-message from system medcom-messaging-activityCodes
* include #modified-message from system medcom-messaging-activityCodes
* exclude #carboncopy-message from system medcom-messaging-activityCodes
24 changes: 12 additions & 12 deletions input/fsh/MedComMessagingActivityCodes.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Description: "CodeSystem containing codes for activities occuring in MedCom mess
* #cancel-end-leave-inpatient "Cancellation End leave"
* #discharge-emergency-home "End hospital stay - patient completed to home/primary sector"
* #discharge-inpatient-home "End hospital stay - patient completed to home/primary sector"
* #revise-discharge-emergency-home "Update End hospital stay patient completed to home/primary sector"
* #revise-discharge-inpatient-home "Update End hospital stay patient completed to home/primary sector"
* #cancel-discharge-emergency-home "Cancellation End hospital stay patient completed to home/primary sector"
* #cancel-discharge-inpatient-home "Cancellation End hospital stay patient completed to home/primary sector"
* #revise-discharge-emergency-home "Update End hospital stay - patient completed to home/primary sector"
* #revise-discharge-inpatient-home "Update End hospital stay - patient completed to home/primary sector"
* #cancel-discharge-emergency-home "Cancellation End hospital stay - patient completed to home/primary sector"
* #cancel-discharge-inpatient-home "Cancellation End hospital stay - patient completed to home/primary sector"
* #acknowledgement "Acknowledgement message has been sent"


Expand Down Expand Up @@ -62,10 +62,10 @@ Description: "ValueSet containing codes for activities occuring in MedCom messag
* MedComMessagingActivityCodes#cancel-end-leave-inpatient "Cancellation End leave"
* MedComMessagingActivityCodes#discharge-emergency-home "End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#discharge-inpatient-home "End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#revise-discharge-emergency-home "Update End hospital stay patient completed to home/primary sector"
* MedComMessagingActivityCodes#revise-discharge-inpatient-home "Update End hospital stay patient completed to home/primary sector"
* MedComMessagingActivityCodes#cancel-discharge-emergency-home "Cancellation End hospital stay patient completed to home/primary sector"
* MedComMessagingActivityCodes#cancel-discharge-inpatient-home "Cancellation End hospital stay patient completed to home/primary sector"
* MedComMessagingActivityCodes#revise-discharge-emergency-home "Update End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#revise-discharge-inpatient-home "Update End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#cancel-discharge-emergency-home "Cancellation End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#cancel-discharge-inpatient-home "Cancellation End hospital stay - patient completed to home/primary sector"
* MedComMessagingActivityCodes#acknowledgement "Acknowledgement message has been sent"


Expand Down Expand Up @@ -132,22 +132,22 @@ Description: "ValueSet containg activity codes for hospital notification message
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Slut sygehusophold - afsluttet til hjemmet/primær sektor"
* ^compose.include[=].concept[+].code = #revise-discharge-emergency-home
* ^compose.include[=].concept[=].display = "Update End hospital stay patient completed to home/primary sector"
* ^compose.include[=].concept[=].display = "Update End hospital stay - patient completed to home/primary sector"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Rettelse Slut sygehusophold - afsluttet til hjemmet/primær sektor"
* ^compose.include[=].concept[+].code = #cancel-discharge-emergency-home
* ^compose.include[=].concept[=].display = "Cancellation End hospital stay patient completed to home/primary sector"
* ^compose.include[=].concept[=].display = "Cancellation End hospital stay - patient completed to home/primary sector"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Annullering Slut sygehusophold - afsluttet til hjemmet/primær sektor"
* ^compose.include[=].concept[+].code = #discharge-inpatient-home
* ^compose.include[=].concept[=].display = "End hospital stay - patient completed to home/primary sector"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Slut sygehusophold - afsluttet til hjemmet/primær sektor"
* ^compose.include[=].concept[+].code = #revise-discharge-inpatient-home
* ^compose.include[=].concept[=].display = "Update End hospital stay patient completed to home/primary sector"
* ^compose.include[=].concept[=].display = "Update End hospital stay - patient completed to home/primary sector"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Rettelse Slut sygehusophold - afsluttet til hjemmet/primær sektor"
* ^compose.include[=].concept[+].code = #cancel-discharge-inpatient-home
* ^compose.include[=].concept[=].display = "Cancellation End hospital stay patient completed to home/primary sector"
* ^compose.include[=].concept[=].display = "Cancellation End hospital stay - patient completed to home/primary sector"
* ^compose.include[=].concept[=].designation[+].language = #da
* ^compose.include[=].concept[=].designation[=].value = "Annullering Slut sygehusophold - afsluttet til hjemmet/primær sektor"
14 changes: 8 additions & 6 deletions input/fsh/MedComMessagingMapFhirToSorEdi.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ Description: "ConceptMap between MedComs FHIR message names and SOREDI message n
* date = "2023-02-27"
* sourceUri = Canonical(MedComMessagingMessageTypes)
* targetUri = Canonical(MedComMessagingSorEdiValues)
* group.source = "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-eventCodes"
* group.target = "http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-messaging-sorEdiSystem"
* group.element[+].code = #care-communication-message
* group.element[=].display = "FHIR: Care Communication Message (Korrepondance meddelelse)"
* group.element[=].display = "Care Communication Message"
* group.element[=].target.code = #FDIS91
* group.element[=].target.display = "SOREDI: Care Communication Message (Korrepondance meddelelse)"
* group.element[=].target.display = "Care Communication Message (Korrepondance meddelelse)"
* group.element[=].target.equivalence = #equivalent
* group.element[+].code = #hospital-notification-message
* group.element[=].display = "FHIR: Hospital Notification Message (Advis om Sygehusophold)"
* group.element[=].display = "Hospital Notification Message"
* group.element[=].target.code = #FDIS20
* group.element[=].target.display = "SOREDI: Hospital Notification Message (Advis om Sygehusophold)"
* group.element[=].target.display = "Hospital Notification Message (Advis om Sygehusophold)"
* group.element[=].target.equivalence = #equivalent
* group.element[+].code = #acknowledgement-message
* group.element[=].display = "FHIR: Acknowledgement Message (Kvittering)"
* group.element[=].display = "Acknowledgement Message"
* group.element[=].target.code = #FCTL
* group.element[=].target.display = "SOREDI: Acknowledgement Message (Kvittering)"
* group.element[=].target.display = "Acknowledgement Message (Kvittering)"
* group.element[=].target.equivalence = #equivalent
17 changes: 9 additions & 8 deletions input/fsh/MedComMessagingMessageTypes.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,27 @@ CodeSystem: MedComMessageEventCodes
Id: medcom-messaging-eventCodes
Title: "MedComMessagingEventCodes"
Description: "CodeSystem including all types of MedCom messages"
* ^version = "1.0.0"
* ^version = "1.1.0"
* ^status = #active
* ^date = "2022-09-01"
* ^date = "2023-10-31"
* ^caseSensitive = false
* ^experimental = false
* ^experimental = true
* #empty-message "Message with no content"
* #care-communication-message "Care Communication Message"
* #hospital-notification-message "Hospital Notification Message"
* #acknowledgement-message "Acknowledgement Message"

* #homecareobservation-message "HomeCare Observation Message"

ValueSet: MedComMessagingMessageTypes
Id: medcom-messaging-messageTypes
Title: "MedComMessagingMessageTypes"
Description: "All message types of MedCom messages"
* ^version = "1.0.0"
* ^version = "1.1.0"
* ^status = #active
* ^date = "2022-09-01"
* ^experimental = false
* ^date = "2023-10-31"
* ^experimental = true
* MedComMessageEventCodes#empty-message "Message with no content"
* MedComMessageEventCodes#care-communication-message "Care Communication Message"
* MedComMessageEventCodes#hospital-notification-message "Hospital Notification Message"
* MedComMessageEventCodes#acknowledgement-message "Acknowledgement Message"
* MedComMessageEventCodes#acknowledgement-message "Acknowledgement Message"
* MedComMessageEventCodes#homecareobservation-message "HomeCare Observation Message"
Loading

0 comments on commit a63f90c

Please sign in to comment.