inferno-framework / davinci-us-drug-formulary-test-kit

Inferno Test Kit for the Da Vinci PDEX US Drug Formulary IG
Apache License 2.0
0 stars 0 forks source link

FI-2429: Migrate to HL7 validator wrapper #6

Closed dehall closed 4 months ago

dehall commented 4 months ago

Summary

Migrate from the inferno validator wrapper to the HL7 validator wrapper: -Inferno validator wrapper is commented instead of completely removed in case someone wants the UI again

Testing Guidance

Tests should produce the same results as on prod. If you don't see the preset (it didn't show up for me) then one other easy way to hit the validator is the Location tests against the reference-server, use the below inputs:

- name: input_ids
  description: Comma separated list of Location IDs that in sum contain all MUST SUPPORT elements
  title: Location IDs
  type: text
  value: ebed06ee-0032-45e4-872d-407c6d22db04
- name: url
  description: URL of the FHIR endpoint
  title: FHIR Endpoint
  type: text
  value: https://inferno.healthit.gov/reference-server/r4
- name: smart_credentials
  optional: true
  title: OAuth Credentials
  type: oauth_credentials
  value:
    access_token: SAMPLE_TOKEN
    refresh_token: ''
    expires_in: ''
    client_id: ''
    client_secret: ''
    token_url: ''