Skip to content

Commit

Permalink
updates and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
helgaarm committed Jun 9, 2024
1 parent c8f79a8 commit 0977683
Show file tree
Hide file tree
Showing 741 changed files with 32,396 additions and 15,676 deletions.
5 changes: 3 additions & 2 deletions ExampleIG/input/fsh/codesystems/hn-kode-scheduleType.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ Id: hn-scheduleAndSlot-type-cs
Title: "Codes that should be used for schedule and SlotType."
Description: "Codes that should be used for schedule and SlotType."
* ^status = #draft
* ^version = "0.1.0"
* ^version = "0.2.0"
* ^experimental = true
* ^caseSensitive = true
* #Poliklinisktime "Poliklinisk time"
* #Innleggelse "Innleggelse"
* #Dagbehandling "Dagbehandling"
* #Hjemmebesøk "Hjemmebesøk"
* #Konsultasjon "Konsultasjon"
* #Bildediagnostikk "Bildediagnostikk"
* #Bildediagnostikk "Bildediagnostikk"
* #Personlig "Personlig"
77 changes: 77 additions & 0 deletions ExampleIG/input/fsh/instans/example-schedule.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Usage: #example
//* extension[=].extension[=].valueReference.reference = "slot/fe8010e8-b36a-4984-8e1a-20e6612e1b14"
* extension[=].url = "http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon"


Instance: Eksempel-schedule-vaksine
InstanceOf: HnBasisSchedule
Description: "Schedule for vaksine timer"
Expand Down Expand Up @@ -55,3 +56,79 @@ Usage: #example
//* extension[=].extension[+].url = "lastFreeSlot"
//* extension[=].extension[=].valueReference.reference = "slot/fe8010e8-b36a-4984-8e1a-20e6612e1b14"
* extension[=].url = "http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon"

//nye instancer

Instance: Schedule-Fastlege-Hans-Hansen
InstanceOf: HnBasisSchedule
Description: "Schedule for Fastlege Hans Hansen"
Usage: #example
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:d082e865-7a93-46fc-a0a3-681571aed13c"
* serviceType[0].coding[0].system = "http://helsenorge.no/fhir/CodeSystem/hn-scheduleAndSlot-type-cs"
* serviceType[0].coding[0].code = #Personlig
* actor[0].type = "Practitioner"
* actor[0].identifier.system = "urn:oid:2.16.578.1.12.4.1.4.4"
* actor[0].identifier.value = "123456789"
* actor[0].display = "Fastlege Hans Hansen"
* comment = "Jobber mandag, onsdag og fredag"
* extension[0].url = "http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon"
* extension[0].extension[0].url = "freePlanningHorizon"
* extension[0].extension[0].valuePeriod.start = "2024-06-08T09:00:00Z"
* extension[0].extension[0].valuePeriod.end = "2024-11-20T15:30:00Z"


Instance: Schedule-Vikar-September-August
InstanceOf: HnBasisSchedule
Description: "Schedule for Vikar September August"
Usage: #example
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:0cd7fe84-94c3-41b8-83f6-3c64451447bc"
* serviceType[0].coding[0].system = "http://helsenorge.no/fhir/CodeSystem/hn-scheduleAndSlot-type-cs"
* serviceType[0].coding[0].code = #Personlig
* actor[0].type = "Practitioner"
* actor[0].identifier.system = "urn:oid:2.16.578.1.12.4.1.4.4"
* actor[0].identifier.value = "431001875"
* actor[0].display = "Vikar September August"
* comment = "Jobber tirsdag og torsdag"
* extension[0].url = "http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon"
* extension[0].extension[0].url = "freePlanningHorizon"
* extension[0].extension[0].valuePeriod.start = "2024-06-07T09:00:00Z"
* extension[0].extension[0].valuePeriod.end = "2024-09-20T15:30:00Z"


Instance: Schedule-Koronavaksine
InstanceOf: HnBasisSchedule
Description: "Schedule for Koronavaksine"
Usage: #example
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:03b4a6cf-7c8b-4171-a171-8b7abbec2eaf"
* serviceType[0].coding[0].system = "urn:oid:2.16.578.1.12.4.1.1.7617"
* serviceType[0].coding[0].code = #Koronavaksine
* actor[0].type = "HealthcareService"
* actor[0].identifier.system = "urn:oid:2.16.578.1.12.4.1.1.9051"
* actor[0].identifier.value = "ABCDEF123456"
* actor[0].display = "Koronavaksine"
* comment = "Koronavaksine tilbys til risikopasienter i henhold til retningslinjer fra FHI"
* extension[0].url = "http://helsenorge.no/fhir/StructureDefinition/hn-extension-free-slot-planningHorizon"
* extension[0].extension[0].url = "freePlanningHorizon"
* extension[0].extension[0].valuePeriod.start = "2024-06-05T09:00:00Z"
* extension[0].extension[0].valuePeriod.end = "2024-06-09T15:30:00Z"


Instance: Schedule-Lab
InstanceOf: HnBasisSchedule
Description: "Schedule for Lab på legekontoret"
Usage: #example
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:50aa673f-3456-4855-9eec-5f1aea3966a7"
* serviceType[0].coding[0].system = "urn:oid:2.16.578.1.12.4.1.1.7617"
* serviceType[0].coding[0].code = #Lab
* actor[0].type = "HealthcareService"
* actor[0].identifier.system = "urn:oid:2.16.578.1.12.4.1.1.9051"
* actor[0].identifier.value = "3546c8f7-3cd3-4693-929e-66501642504c"
* actor[0].display = "Lab på legekontoret"
* comment = "Lab tilbyr blodprøver og andre tester hver dag fra 10-15"



16 changes: 16 additions & 0 deletions ExampleIG/input/fsh/patient.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// This is a simple example of a FSH file.
// This file can be renamed, and additional FSH files can be added.
// SUSHI will look for definitions in any file using the .fsh ending.
Profile: MyPatient
Parent: Patient
Description: "An example profile of the Patient resource."
* name 1..* MS

Instance: PatientExample
InstanceOf: MyPatient
Description: "An example of a patient with a license to krill."
* name
* given[0] = "James"
* family = "Pond"
* identifier[0].system = "urn:oid:2.16.578.1.12.4.1.4.2"
* identifier[=].value = "12345678901"
14 changes: 7 additions & 7 deletions ExampleIG/input/fsh/profiles/hn-schedule.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Parent: Schedule
Id: hn-basis-schedule
Title: "HnBasisSchedule"
Description: "FHIR Schedule brukes for å hente timebøker tilgjengelige for timebestilling for innbygger. Profilen er basert på R4."
* ^version = "0.1.0"
* ^version = "0.2.0"
* ^status = #draft
* extension contains
hn-extension-free-slot-planningHorizon named freeSlotPlanningHorizon 0..1 MS
Expand All @@ -15,13 +15,13 @@ Description: "FHIR Schedule brukes for å hente timebøker tilgjengelige for tim
* active = true
* identifier.system 1..1
* serviceCategory from http://hl7.org/fhir/ValueSet/service-category
* serviceCategory.coding obeys inv-4
//* serviceCategory.coding obeys inv-4
* serviceType 1..*
* serviceType.coding obeys inv-4
//* serviceType.coding obeys inv-4
* serviceType from hn-scheduleandslot-type-vs
* specialty.coding obeys inv-4
//* actor.type 1..
* actor only Reference(HealthcareService or Practitioner)
* actor ^short = "Currently only HealthcareService or Practitioner are referenced as valid actors."
//* specialty.coding obeys inv-4
* actor.type 1..
* actor only Reference(HealthcareService or Practitioner or no-basis-HealthcareService or no-basis-Practitioner)
* actor ^short = "Currently only HealthcareService or Practitioner (basic and no-basic profiles) are referenced as valid actors."
* comment ^short = "Comments regarding the scheduler."
* comment ^definition = "Comments regarding the scheduler including short information about the timebook."
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

<script src="assets/js/prism.js"></script>

<style type="text/css">h2{--heading-prefix:"3.57"}
h3,h4,h5,h6{--heading-prefix:"3.57"}</style>
<style type="text/css">h2{--heading-prefix:"3.58"}
h3,h4,h5,h6{--heading-prefix:"3.58"}</style>
<div id="segment-header" class="segment"> <!-- segment-header -->
<div class="container"> <!-- container -->
<!-- Placeholder for child template header declarations -->
Expand Down Expand Up @@ -169,7 +169,7 @@ <h2 id="root">CodeSystem: Varsling - Testing

Active

as of 2023-12-14
as of 2024-06-09


</td>
Expand Down Expand Up @@ -211,20 +211,14 @@ <h3>Test Scripts</h3>
<script type="text/javascript" src="assets/js/jquery.js"> </script> <!-- note keep space here, otherwise it will be transformed to empty tag -> fails -->
<script type="text/javascript" src="assets/js/jquery-ui.min.js"> </script>

<script type="text/javascript">
$(document).ready(function(){
if(window.location.hash != "") {
$('a[href="' + window.location.hash + '"]').click()
}
});
</script>
<script type="text/javascript" src="assets/js/window-hash.js"> </script>
<a name="bottom"> </a>
<div id="segment-footer" igtool="footer" class="segment"> <!-- segment-footer -->
<div class="container"> <!-- container -->

<div class="inner-wrapper">
<p>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Thu, Dec 14, 2023 15:10+0100">2023-12-14</span>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Sun, Jun 9, 2024 15:34+0200">2024-06-09</span>
<br/>
<span style="color: var(--footer-highlight-text-color)">
Links: <a style="color: var(--footer-hyperlink-text-color)" href="toc.html">Table of Contents</a> |
Expand All @@ -251,16 +245,8 @@ <h3>Test Scripts</h3>
<script type="text/javascript" src="assets/js/anchor.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard-btn.js"> </script>
<script>anchors.options.visible = 'hover'
anchors.add()</script>
<script type="text/javascript" src="assets/js/anchor-hover.js"> </script>

<!-- feedback form - Google forms -->
<!-- v0.1, 2021-01-09 -->



<!-- / feedback form -->

<!-- Analytics Below
================================================== -->
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,43 +178,16 @@ <h2 id="root">: HnKodeverkVarsling - Change History</h2>
<script type="text/javascript" src="assets/js/jquery.js"> </script> <!-- note keep space here, otherwise it will be transformed to empty tag -> fails -->
<script type="text/javascript" src="assets/js/jquery-ui.min.js"> </script>

<script type="text/javascript">
try {
var currentTabIndex = sessionStorage.getItem('fhir-resource-tab-index');
} catch(exception) {
}

if (!currentTabIndex)
currentTabIndex = '0';

$( '#tabs' ).tabs({
active: currentTabIndex,
activate: function( event, ui ) {
var active = $('.selector').tabs('option', 'active');
currentTabIndex = ui.newTab.index();
document.activeElement.blur();
try {
sessionStorage.setItem('fhir-resource-tab-index', currentTabIndex);
} catch(exception) {
}
}
});
</script>

<script type="text/javascript">
$(document).ready(function(){
if(window.location.hash != "") {
$('a[href="' + window.location.hash + '"]').click()
}
});
</script>
<script type="text/javascript" src="assets/js/tabs.js"> </script>

<script type="text/javascript" src="assets/js/window-hash.js"> </script>
<a name="bottom"> </a>
<div id="segment-footer" igtool="footer" class="segment"> <!-- segment-footer -->
<div class="container"> <!-- container -->

<div class="inner-wrapper">
<p>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Thu, Dec 14, 2023 15:10+0100">2023-12-14</span>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Sun, Jun 9, 2024 15:34+0200">2024-06-09</span>
<br/>
<span style="color: var(--footer-highlight-text-color)">
Links: <a style="color: var(--footer-hyperlink-text-color)" href="toc.html">Table of Contents</a> |
Expand All @@ -241,16 +214,8 @@ <h2 id="root">: HnKodeverkVarsling - Change History</h2>
<script type="text/javascript" src="assets/js/anchor.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard-btn.js"> </script>
<script>anchors.options.visible = 'hover'
anchors.add()</script>
<script type="text/javascript" src="assets/js/anchor-hover.js"> </script>

<!-- feedback form - Google forms -->
<!-- v0.1, 2021-01-09 -->



<!-- / feedback form -->

<!-- Analytics Below
================================================== -->
</body>
Expand Down
26 changes: 6 additions & 20 deletions ExampleIG/output/CodeSystem-hn-kodeverk-varsling.codesystem.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

<script src="assets/js/prism.js"></script>

<style type="text/css">h2{--heading-prefix:"3.57"}
h3,h4,h5,h6{--heading-prefix:"3.57"}</style>
<style type="text/css">h2{--heading-prefix:"3.58"}
h3,h4,h5,h6{--heading-prefix:"3.58"}</style>
<div id="segment-header" class="segment"> <!-- segment-header -->
<div class="container"> <!-- container -->
<!-- Placeholder for child template header declarations -->
Expand Down Expand Up @@ -183,7 +183,7 @@ <h2 id="root">CodeSystem: Varsling

Active

as of 2023-12-14
as of 2024-06-09


</td>
Expand Down Expand Up @@ -249,20 +249,14 @@ <h2 id="root">CodeSystem: Varsling
<script type="text/javascript" src="assets/js/jquery.js"> </script> <!-- note keep space here, otherwise it will be transformed to empty tag -> fails -->
<script type="text/javascript" src="assets/js/jquery-ui.min.js"> </script>

<script type="text/javascript">
$(document).ready(function(){
if(window.location.hash != "") {
$('a[href="' + window.location.hash + '"]').click()
}
});
</script>
<script type="text/javascript" src="assets/js/window-hash.js"> </script>
<a name="bottom"> </a>
<div id="segment-footer" igtool="footer" class="segment"> <!-- segment-footer -->
<div class="container"> <!-- container -->

<div class="inner-wrapper">
<p>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Thu, Dec 14, 2023 15:10+0100">2023-12-14</span>
IG &#169; 2023+ <a style="color:var(--footer-hyperlink-text-color)" href=""></a>. Package fhir.codesandextensions#0.2.0 based on <a style="color: var(--footer-hyperlink-text-color)" href="http://hl7.org/fhir/R4/">FHIR 4.0.1</a>. Generated <span title="Sun, Jun 9, 2024 15:34+0200">2024-06-09</span>
<br/>
<span style="color: var(--footer-highlight-text-color)">
Links: <a style="color: var(--footer-hyperlink-text-color)" href="toc.html">Table of Contents</a> |
Expand All @@ -289,16 +283,8 @@ <h2 id="root">CodeSystem: Varsling
<script type="text/javascript" src="assets/js/anchor.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard.min.js"> </script>
<script type="text/javascript" src="assets/js/clipboard-btn.js"> </script>
<script>anchors.options.visible = 'hover'
anchors.add()</script>
<script type="text/javascript" src="assets/js/anchor-hover.js"> </script>

<!-- feedback form - Google forms -->
<!-- v0.1, 2021-01-09 -->



<!-- / feedback form -->

<!-- Analytics Below
================================================== -->
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"title" : "Varsling",
"status" : "active",
"experimental" : false,
"date" : "2023-12-14T15:10:19+01:00",
"date" : "2024-06-09T15:34:44+02:00",
"publisher" : "Helsenorge",
"description" : "Angir om innbygger skal varsles når en ekstern aktør lagrer eller endrer en ressurs på Helsenorge. I tillegg hvordan avsender organisasjonen skal framstå (navn) i SMS- og e-post varsler til innbygger.",
"jurisdiction" : [{
Expand Down
Loading

0 comments on commit 0977683

Please sign in to comment.