diff --git a/.github/workflows/build-p2-site.yaml b/.github/workflows/build-p2-site.yaml index 492f2ccf..7ddec09e 100644 --- a/.github/workflows/build-p2-site.yaml +++ b/.github/workflows/build-p2-site.yaml @@ -25,6 +25,7 @@ jobs: run: docker pull ghcr.io/elexis/docker-build:${{ env.TARGET }} - name: build using docker image docker-build:${{ env.TARGET }} run: docker run --rm --init -v "$(pwd)":/usr/src/mymaven -v "$(eval echo ~$USER)/m2-${{ env.BRANCH_NAME }}":/root/.m2 -w /usr/src/mymaven ghcr.io/elexis/docker-build:${{ env.TARGET }} mvn -f releng/es.parent/pom.xml clean verify -Delexis.branch=${{ env.BRANCH_NAME }} + - name: upload artifacts run: | eval $(ssh-agent -s) @@ -52,4 +53,4 @@ jobs: push: true pull: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file diff --git a/tests/es.fhir.rest.core.test/src/info/elexis/server/fhir/rest/core/resources/CoverageTest.java b/tests/es.fhir.rest.core.test/src/info/elexis/server/fhir/rest/core/resources/CoverageTest.java index f3302481..bc3fdb60 100644 --- a/tests/es.fhir.rest.core.test/src/info/elexis/server/fhir/rest/core/resources/CoverageTest.java +++ b/tests/es.fhir.rest.core.test/src/info/elexis/server/fhir/rest/core/resources/CoverageTest.java @@ -117,6 +117,7 @@ public void createUpdateDeleteCoverage() { readCoverage .setPeriod(new Period().setStart(TimeUtil.toDate(newStartDate)).setEnd(TimeUtil.toDate(newEndDate))); readCoverage.setPayor(null); // #TODO Kostenträger + readCoverage.setPolicyHolder(new Reference("Patient/zd8d46d1b8d44330501105")); // TODO Versicherungsnummer // TODO Unfallnummer // TODO Unfalldatum @@ -132,6 +133,7 @@ public void createUpdateDeleteCoverage() { readCoverage.getType().getCoding()).orElse(null)); assertEquals("KingOfMyCastle", FhirUtil.getCodeFromCodingList(CodingSystem.ELEXIS_COVERAGE_REASON.getSystem(), readCoverage.getType().getCoding()).orElse(null)); + assertEquals("Patient/zd8d46d1b8d44330501105", readCoverage.getPolicyHolder().getReference()); // assertEquals( // "
UVG: KingOfMyCastle - Thats the new narrative(05.08.2024-offen)
", // readCoverage.getText().getDivAsString());