8000 3.5.0 documentreference by jkiddo · Pull Request #160 · hl7dk/dk-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

3.5.0 documentreference #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: 3.5.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _gencontinuous.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
./_genonce.sh -watch
#!/bin/bash
./_genonce.sh -watch
15 changes: 14 additions & 1 deletion _updatePublisher.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ SET input_cache_path=%CD%\input-cache\
SET skipPrompts=false

SET scriptdlroot=https://raw.githubusercontent.com/HL7/ig-publisher-scripts/main
SET build_bat_url=%scriptdlroot%/_build.bat
SET build_sh_url=%scriptdlroot%/_build.sh
SET update_bat_url=%scriptdlroot%/_updatePublisher.bat
SET gen_bat_url=%scriptdlroot%/_genonce.bat
SET gencont_bat_url=%scriptdlroot%/_gencontinuous.bat
Expand All @@ -20,7 +22,7 @@ IF "%~1"=="/f" SET skipPrompts=y

ECHO.
ECHO Checking internet connection...
PING tx.fhir.org -4 -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
PING tx.fhir.org -4 -n 1 -w 4000 | FINDSTR TTL && GOTO isonline
ECHO We're offline, nothing to do...
GOTO end

Expand Down Expand 10000 Up @@ -69,6 +71,7 @@ IF DEFINED FORCE (
IF "%skipPrompts%"=="y" (
SET create=Y
) ELSE (
ECHO Will place publisher jar here: %input_cache_path%%publisher_jar%
SET /p create="Ok? (Y/N) "
)
IF /I "%create%"=="Y" (
Expand Down Expand Up @@ -211,6 +214,16 @@ goto end
start copy /y "_updatePublisher.new.bat" "_updatePublisher.bat" ^&^& del "_updatePublisher.new.bat" ^&^& exit


:dl_script_7
ECHO Updating _build.bat
call POWERSHELL -command if ('System.Net.WebClient' -as [type]) {(new-object System.Net.WebClient).DownloadFile(\"%build_bat_url%\",\"_build.new.bat\") } else { Invoke-WebRequest -Uri "%update_bat_url%" -Outfile "_build.new.bat" }
if %ERRORLEVEL% == 0 goto upd_script_6
echo "Errors encountered during download: %errorlevel%"
goto end
:upd_script_6
start copy /y "_build.new.bat" "_build.bat" ^&^& del "_build.new.bat" ^&^& exit


:end


Expand Down
12 changes: 11 additions & 1 deletion _updatePublisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ if [[ $skipPrompts != true ]]; then
if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
echo "Downloading most recent scripts "

curl -L $build_bat_url -o /tmp/_build.new
cp /tmp/_build.new _build.bat
rm /tmp/_build.new


curl -L $build_sh_url -o /tmp/_build.new
cp /tmp/_build.new _build.sh
chmod +x _build.sh
rm /tmp/_build.new

curl -L $update_bat_url -o /tmp/_updatePublisher.new
cp /tmp/_updatePublisher.new _updatePublisher.bat
rm /tmp/_updatePublisher.new
Expand All @@ -129,4 +139,4 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
cp /tmp/_updatePublisher.new _updatePublisher.sh
chmod +x _updatePublisher.sh
rm /tmp/_updatePublisher.new
fi
fi
8 changes: 8 additions & 0 deletions input/fsh/DkCoreDocumentHomeCommunityidExtension.fsh
8000
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Extension: DkCoreDocumentHomeCommunityID
Id: dk-core-document-homecommunityid-extension
Title: "HL7 Denmark core Document HomeCommunityID extension"
Description: "Extension containing information about operational and in production home communities (XCA) in Danish Document Sharing"
* valueCoding 1..1 MS
* valueCoding.system 1.. MS
* valueCoding.code 1.. MS

11 changes: 11 additions & 0 deletions input/fsh/DkCoreDocumentReference.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Profile: DkCoreDocumentReference
Parent: MinimalDocumentReference
Id: dk-core-documentreference
Title: "Danish Core DocumentReference Profile"
* extension contains http://hl7.org/fhir/5.0/StructureDefinition/extension-DocumentReference.version named version 1..1
* context.facilityType from SorOrganizationType (extensible)
* context.practiceSetting from SorPracticeSettingCode (extensible)
* author only Reference(DkCorePatient or DkCorePractitioner or DkCorePractitionerRole or DkCoreRelatedPerson or DkCoreOrganization or Device)

* authenticator only Reference(DkCorePractitioner)
* subject only Reference(DkCorePatient)
5 changes: 5 additions & 0 deletions input/fsh/DkDocumentVersionIDExtension.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Extension: DkCoreDocumentReferenceVersionID
Id: dk-core-documentreference-version-id-extension
Title: "HL7 Denmark core DocumentReference Version ID extension"
Description: "Extension containing information about the version of the DocumentReference for a specific standard. The version is included in the R5 version of the resource."
* valueString 1..1 MS
2 changes: 2 additions & 0 deletions input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ Alias: $observation-bp = http://hl7.org/fhir/StructureDefinition/bp
Alias: $LOINC-vitalsigns = http://hl7.org/fhir/ValueSet/observation-vitalsignresult
Alias: $v3-Confidentiality = http://terminology.hl7.org/CodeSystem/v3-Confidentiality
Alias: $v3-RoleCode = http://terminology.hl7.org/CodeSystem/v3-RoleCode


61 changes: 61 additions & 0 deletions input/fsh/valueSets.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -841,3 +841,64 @@ Description: "Value set used for indicating the organization type for organizati
* $sct#255203001
* $sct#264372000


ValueSet: SorPracticeSettingCode
Id: dk-core-practice-setting-code
Title: "DK SOR Practice Setting Code"
Description: "Values used for the document metadata attribute practiceSettingCode, which is an attribute specifying the clinical specialty where the act that resulted in the document was performed (e.g., Family Practice, Laboratory, Radiology). The value set is based on a subset of the code list from the SOR lookup table 'SOR-Kliniske specialer' (https://sor.sum.dsdn.dk/lookupdata/#clinical_speciality, accessable on Sundhedsdatanettet (SDN)), which is based on SNOMED CT codes."
* ^status = #active
* ^experimental = false
* $sct#773568002
* $sct#408443003
* $sct#394577000
* $sct#394821009
* $sct#394588006
* $sct#394582007
* $sct#394914008
* $sct#394583002
* $sct#394811001
* $sct#394585009
* $sct#408472002
* $sct#394803006
* $sct#394807007
* $sct#419192003
* $sct#394579002
* $sct#408463005
* $sct#394609007
* $sct#551411000005104
* $sct#394596001
* $sct#394600006
* $sct#394601005
* $sct#394580004
* $sct#421661004
* $sct#408454008
* $sct#394809005
* $sct#394592004
* $sct#418112009
* $sct#394805004
* $sct#394584008
* $sct#394589003
* $sct#394610002
* $sct#394591006
* $sct#394812008
* $sct#394594003
* $sct#394608004
* $sct#394801008
* $sct#394604002
* $sct#394915009
* $sct#394611003
* $sct#394587001
* $sct#394537008
* $sct#394810000
* $sct#394581000
* $sct#394605001
* $sct#394603008
* $sct#408448007
* $sct#394612005
* $sct#658171000005102
* $sct#658161000005107
* $sct#658151000005105
* $sct#658191000005101
* $sct#658201000005103
* $sct#658141000005108
* $sct#658181000005104
3 changes: 3 additions & 0 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ parameters:
path-expansion-params: Parameters-expParam.json

dependencies:
hl7.fhir.extensions.r5: 4.0.1
hl7.fhir.uv.phd: 1.1.0
hl7.fhir.uv.ipa: 1.0.0
ihe.iti.mhd: 4.2.2



# ╭────────────────────────────────────────────releasing───────────────────────────────────────────╮
Expand Down
0