Skip to content

Commit 579fe82

Browse files
authored
Merge pull request #85 from mcode/dev
Dev
2 parents 765deb2 + c6f34cc commit 579fe82

2 files changed

Lines changed: 92 additions & 5 deletions

File tree

fhirResourcesToLoad/rems_smith_medicationrequest_turalio.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,64 @@
55
"reference": "Medication/med-turalio",
66
"display": "Turalio"
77
},
8+
"contained": [
9+
{
10+
"resourceType": "Medication",
11+
"id": "med-turalio",
12+
"code": {
13+
"coding": [
14+
{
15+
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
16+
"code": "2183126",
17+
"display": "Turalio 200 MG Oral Capsule"
18+
},
19+
{
20+
"system": "http://hl7.org/fhir/sid/ndc",
21+
"code": "65597-402-20"
22+
}
23+
24+
]
25+
},
26+
"form": {
27+
"coding": [
28+
{
29+
"system": "http://snomed.info/sct",
30+
"code": "2183126",
31+
"display": "Film-coated tablet (qualifier value)"
32+
}
33+
]
34+
},
35+
"ingredient": [
36+
{
37+
"itemCodeableConcept": {
38+
"coding": [
39+
{
40+
"system": "http://snomed.info/sct",
41+
"code": "2183126",
42+
"display": "Product containing only turalio"
43+
}
44+
]
45+
},
46+
"strength": {
47+
"numerator": {
48+
"value": 200,
49+
"system": "http://unitsofmeasure.org",
50+
"code": "mg"
51+
},
52+
"denominator": {
53+
"value": 1,
54+
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
55+
"code": "CAP"
56+
}
57+
}
58+
}
59+
],
60+
"batch": {
61+
"lotNumber": "9494788",
62+
"expirationDate": "2025-05-22"
63+
}
64+
}
65+
],
866
"status": "active",
967
"intent": "order",
1068
"subject": {

src/main/resources/ClientFhirServerRealm.json

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@
404404
"otpPolicyLookAheadWindow" : 1,
405405
"otpPolicyPeriod" : 30,
406406
"otpPolicyCodeReusable" : false,
407-
"otpSupportedApplications" : [ "totpAppGoogleName", "totpAppMicrosoftAuthenticatorName", "totpAppFreeOTPName" ],
407+
"otpSupportedApplications" : [ "totpAppMicrosoftAuthenticatorName", "totpAppFreeOTPName", "totpAppGoogleName" ],
408408
"webAuthnPolicyRpEntityName" : "keycloak",
409409
"webAuthnPolicySignatureAlgorithms" : [ "ES256" ],
410410
"webAuthnPolicyRpId" : "",
@@ -450,6 +450,33 @@
450450
"realmRoles" : [ "offline_access", "user", "BackOffice", "default-roles-master" ],
451451
"notBefore" : 0,
452452
"groups" : [ ]
453+
}, {
454+
"id" : "602e9cef-0906-43f3-a5d0-31275d820c69",
455+
"createdTimestamp" : 1742308565854,
456+
"username" : "alicesmith",
457+
"enabled" : true,
458+
"totp" : false,
459+
"emailVerified" : false,
460+
"firstName" : "alice",
461+
"lastName" : "smith",
462+
"email" : "alicesmith@example.com",
463+
"attributes" : {
464+
"patientId" : [ "pat036" ],
465+
"userId" : [ "pat036" ]
466+
},
467+
"credentials" : [ {
468+
"id" : "2d917b04-903f-4c4b-802d-99d8f7c8ac55",
469+
"type" : "password",
470+
"userLabel" : "My password",
471+
"createdDate" : 1742308998437,
472+
"secretData" : "{\"value\":\"jLffgdnfOQBniVMa6395yi9XWBbmgkoNiIFSyoHIGek=\",\"salt\":\"uY1WDI9ieXTQiaAM0ERuiA==\",\"additionalParameters\":{}}",
473+
"credentialData" : "{\"hashIterations\":27500,\"algorithm\":\"pbkdf2-sha256\",\"additionalParameters\":{}}"
474+
} ],
475+
"disableableCredentialTypes" : [ ],
476+
"requiredActions" : [ ],
477+
"realmRoles" : [ "default-roles-clientfhirserver" ],
478+
"notBefore" : 0,
479+
"groups" : [ ]
453480
}, {
454481
"id" : "11dd7e9c-1e77-4fcb-9c22-247b915e5c34",
455482
"createdTimestamp" : 1654535788585,
@@ -1121,7 +1148,8 @@
11211148
"consentRequired" : false,
11221149
"config" : {
11231150
"id.token.claim" : "true",
1124-
"access.token.claim" : "true"
1151+
"access.token.claim" : "true",
1152+
"userinfo.token.claim" : "true"
11251153
}
11261154
} ]
11271155
}, {
@@ -1546,6 +1574,7 @@
15461574
"browserSecurityHeaders" : {
15471575
"contentSecurityPolicyReportOnly" : "",
15481576
"xContentTypeOptions" : "nosniff",
1577+
"referrerPolicy" : "no-referrer",
15491578
"xRobotsTag" : "none",
15501579
"xFrameOptions" : "SAMEORIGIN",
15511580
"contentSecurityPolicy" : "frame-src 'self'; frame-ancestors 'self'; object-src 'none';",
@@ -1603,7 +1632,7 @@
16031632
"subType" : "authenticated",
16041633
"subComponents" : { },
16051634
"config" : {
1606-
"allowed-protocol-mapper-types" : [ "saml-user-property-mapper", "saml-role-list-mapper", "saml-user-attribute-mapper", "oidc-full-name-mapper", "oidc-usermodel-property-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-usermodel-attribute-mapper" ]
1635+
"allowed-protocol-mapper-types" : [ "saml-user-property-mapper", "oidc-usermodel-property-mapper", "oidc-usermodel-attribute-mapper", "saml-role-list-mapper", "saml-user-attribute-mapper", "oidc-address-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-full-name-mapper" ]
16071636
}
16081637
}, {
16091638
"id" : "04e6b32d-3412-44dc-8026-639895a1d7aa",
@@ -1628,7 +1657,7 @@
16281657
"subType" : "anonymous",
16291658
"subComponents" : { },
16301659
"config" : {
1631-
"allowed-protocol-mapper-types" : [ "saml-role-list-mapper", "oidc-usermodel-attribute-mapper", "oidc-usermodel-property-mapper", "saml-user-attribute-mapper", "oidc-sha256-pairwise-sub-mapper", "oidc-address-mapper", "saml-user-property-mapper", "oidc-full-name-mapper" ]
1660+
"allowed-protocol-mapper-types" : [ "oidc-full-name-mapper", "oidc-sha256-pairwise-sub-mapper", "saml-role-list-mapper", "oidc-usermodel-property-mapper", "oidc-address-mapper", "saml-user-attribute-mapper", "oidc-usermodel-attribute-mapper", "saml-user-property-mapper" ]
16321661
}
16331662
} ],
16341663
"org.keycloak.keys.KeyProvider" : [ {
@@ -2190,7 +2219,7 @@
21902219
"cibaInterval" : "5",
21912220
"realmReusableOtpCode" : "false"
21922221
},
2193-
"keycloakVersion" : "21.1.1",
2222+
"keycloakVersion" : "22.0.1",
21942223
"userManagedAccessAllowed" : false,
21952224
"clientProfiles" : {
21962225
"profiles" : [ ]

0 commit comments

Comments
 (0)