{{ patient | json }}
4 | version: {{ version }} contact
14 |
7 |
8 | The Camel components are not redefined, those from the PHARM-1 transaction shall be used. The response models are
15 | * not redefined either, only the query models.
16 | *
17 | * @see org.openehealth.ipf.commons.ihe.xds.pharm1.Pharm1PortType
18 | * @see org.openehealth.ipf.platform.camel.ihe.xds.pharm1.Pharm1Service
19 | * @see org.openehealth.ipf.platform.camel.ihe.xds.pharm1.Pharm1Component
20 | * @see org.openehealth.ipf.commons.ihe.xds.core.responses.QueryResponse
21 | *
22 | * @author Quentin Ligier
23 | **/
24 | package org.husky.communication.ch.camel.chpharm1;
--------------------------------------------------------------------------------
/angular/src/app/operation-outcome/operation-outcome.component.scss:
--------------------------------------------------------------------------------
1 | .card-maps {
2 | margin-bottom: 10px;
3 | }
4 |
5 | .app-ace-editor {
6 | border: 2px solid #f8f9fa;
7 | box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
8 | }
9 |
10 | .issue {
11 | border: 2px solid #f8f9fa;
12 | padding: 2px;
13 | }
14 |
15 | .fatal {
16 | background: #cc3300; /* color */
17 | }
18 |
19 | .error {
20 | background: #ff9966; /* color */
21 | }
22 |
23 | .warning {
24 | background: #ffe69e; /* color */
25 | }
26 |
27 | .information {
28 | background: #cde8a5; /* color */
29 | }
30 |
31 | ::ng-deep .ace-highlight-fatal {
32 | position: absolute; /* without this positions will be erong */
33 | background: #cc3300; /* color */
34 | opacity: 0.4;
35 | }
36 |
37 | ::ng-deep .ace-highlight-error {
38 | position: absolute; /* without this positions will be erong */
39 | background: #ff9966; /* color */
40 | opacity: 0.4;
41 | }
42 |
43 | ::ng-deep .ace-highlight-warning {
44 | position: absolute; /* without this positions will be erong */
45 | background: #ffcc00; /* color */
46 | opacity: 0.4;
47 | }
48 |
49 | ::ng-deep .ace-highlight-information {
50 | position: absolute; /* without this positions will be erong */
51 | background: #99cc33; /* color */
52 | opacity: 0.4;
53 | }
54 |
--------------------------------------------------------------------------------
/src/main/java/ch/bfh/ti/i4mi/mag/xua/AuthenticationRequest.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2020 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 |
18 | package ch.bfh.ti.i4mi.mag.xua;
19 |
20 | import lombok.Data;
21 |
22 | /**
23 | * Data required during OAuth2 authentication
24 | * @author alexander kreutz
25 | *
26 | */
27 | @Data
28 | public class AuthenticationRequest {
29 |
30 | private String scope;
31 |
32 | private String redirect_uri;
33 |
34 | private String client_id;
35 |
36 | private String state;
37 |
38 | private String token_type;
39 |
40 | private String assertion;
41 |
42 | private String idpAssertion;
43 |
44 | private String code_challenge;
45 |
46 | }
47 |
--------------------------------------------------------------------------------
/angular/src/app/fhirpath.service.ts:
--------------------------------------------------------------------------------
1 | import { Injectable } from '@angular/core';
2 | import { evaluate } from 'fhirpath';
3 |
4 | @Injectable({
5 | providedIn: 'root',
6 | })
7 | export class FhirPathService {
8 | public evaluate(fhir: any, fhirPath: string): any {
9 | return evaluate(fhir, fhirPath, null);
10 | }
11 |
12 | public evaluateToString(fhir: any, fhirPath: string): string {
13 | const result = this.evaluate(fhir, fhirPath);
14 | if (
15 | result &&
16 | result instanceof Array &&
17 | (result as Array
20 | * This implementation delegates to a Camel consumer by creating an exchange.
21 | *
22 | * @author Quentin Ligier
23 | **/
24 | public class ChPharm1Service extends XdsAdhocQueryService implements ChPharm1PortType {
25 |
26 | public ChPharm1Service() {
27 | super(null);
28 | }
29 |
30 | @Override
31 | public AdhocQueryResponse communityPharmacyManagerQueryPharmacyDocuments(final AdhocQueryRequest body) {
32 | return this.processRequest(body);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/src/main/java/org/openehealth/ipf/platform/camel/ihe/fhir/iti65_v401/Iti65Endpoint.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package org.openehealth.ipf.platform.camel.ihe.fhir.iti65_v401;
18 |
19 | import org.openehealth.ipf.commons.ihe.fhir.iti65_v401.Iti65AuditDataset;
20 | import org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirEndpoint;
21 | import org.openehealth.ipf.platform.camel.ihe.fhir.core.FhirEndpointConfiguration;
22 |
23 | /**
24 | * @author Christian Ohr
25 | * @since 3.6
26 | */
27 | public class Iti65Endpoint extends FhirEndpoint
5 |
\n" +
30 | "