Skip to content

Commit

Permalink
test carbma remove and action
Browse files Browse the repository at this point in the history
  • Loading branch information
joofio committed Oct 5, 2023
1 parent 7322805 commit 63046ae
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ jobs:
- name: Run the FHIR validator
uses: docker://hl7fhir/ig-publisher-base:latest
with:
args: java -jar validator_cli.jar ./fsh-generated/resources -version 5.0.0 -output data-validation-compact.html -output-style compact -level errors -allow-example-urls true -level errors -ig hl7.fhir.uv.emedicinal-product-info
args: java -jar validator_cli.jar ./fsh-generated/resources -version 5.0.0 -output data-validation-compact.html -output-style compact -level errors -allow-example-urls true -level errors -ig hl7.fhir.uv.emedicinal-product-info


- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: validation-report
path: data-validation-compact.html
retention-days: 5
2 changes: 2 additions & 0 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install requests
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Lint with Ruff
# run: |
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/examples/carbamazepine-spl-transformed.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Alias: $ = https://spor.ema.europa.eu/rmswi/
/*Alias: $ = https://spor.ema.europa.eu/rmswi/
Alias: $epicategory-cs = http://hl7.eu/fhir/ig/gravitate-health/CodeSystem/epicategory-cs
Alias: $list-empty-reason = http://terminology.hl7.org/CodeSystem/list-empty-reason
Alias: $codesystem-organizationTypes = http://hl7.org/fhir/us/spl/CodeSystem/codesystem-organizationTypes
Expand Down
13 changes: 11 additions & 2 deletions input/pagecontent/09-epi-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,24 @@ The definition of the several steps in the processing pipeline:
<br clear="all"/>


The focusing mechanism is complex and can be understood as a multi-step process:
The focusing mechanism is complex and can be understood as a multistep process:
1. first the lenses are attached - x(ePI)
2. the persona vector and IPS and consulted/consumed - x'(ePI)
3. the necessary data elements are attached (CSS classes to certain DIVs) - f(ePI)

This will created a focused ePI that can be used to show personalized information to the user.
This will create a focused ePI that can be used to show personalized information to the user.

Diagram:
<div>{% include e2e-focusing.svg %}</div>
<br clear="all"/>

## Current developments

The current definition for the FOSPS is here:

https://fosps.gravitatehealth.eu/swagger-fosps/?urls.primaryName=Focusing%20Manager#/Lenses/post_focusing_focus__epiId

Example requests in the github.

## Example lenses

Expand All @@ -35,3 +42,5 @@ FOR ALL \<hiperglucemia\> IF patient’s IPS contains \<diabetes\> THEN add Hig
2. FOR ALL \<oral intake\> IF patient.literacy is not high THEN add hover overlay with oral intake advice
3. FOR ALL \<injectable\> IF patient.literacy is low THEN add icon
4. FOR ALL \<oral intake\> IF patient.literacy is low THEN add icon


26 changes: 26 additions & 0 deletions tests.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## testing focusing lens pregancy MVP2

POST http://fosps.gravitatehealth.eu/focusing/focus/bundlepackageleaflet-2d49ae46735143c1323423b7aea24165?preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_pregnancy&patientIdentifier=alicia-1


## testing focusing lens pregancy DIV

POST http://fosps.gravitatehealth.eu/focusing/focus/preprocessors=preprocessing-service-manual&lenses=lens-selector-mvp2_pregnancy&patientIdentifier=alicia-1

## List all available preprocessors

GET https://fosps.gravitatehealth.eu/focusing/preprocessing

## List All available lenses

GET https://fosps.gravitatehealth.eu/focusing/lenses

## testing focusing lens pregancy DIV (epi raw)


POST http://fosps.gravitatehealth.eu/focusing/focus/bundlepackageleaflet-2d49ae46735143c1323423b7aea24165?preprocessors=preprocessing-service-manual&lenses=lens-selector-div_pregnancy&patientIdentifier=alicia-1

## testing focusing lens pregancy DIV (epi preprocessed)


POST http://fosps.gravitatehealth.eu/focusing/focus/processedbundledovato-en?preprocessors=preprocessing-service-manual&lenses=lens-selector-div_pregnancy&patientIdentifier=alicia-1

0 comments on commit 63046ae

Please sign in to comment.