ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Purpose

This WS allows to get rule engine field set for Rule engine rules configurator in Administration panel.

Key points

  1. This is a graphQl query method used in Administration panel only.

  2. Only authenticated and authorized NHS employee with can get rule engine field set.

Specification

  "Reads a single `RuleEngineFieldSet`."
  ruleEngineFieldSet: JSON

Service logic

  1. Create response with following fields:

    episode    
        type
        period
           start
           end
        current_diagnoses
           code
        inserted_at
        updated_at
    
    encounter    
        class
        type
        date
        hospitalization
           discharge_department
           re_admisson
        reasons
        actions
        inserted_at
        updated_at
    
    condition    
        code
        verification_status
        clinical_status
        primary_source
        severity
        asserted_date
        onset_date
        body_sites
        inserted_at
        updated_at
    
    diagnostic_report    
        code
        category
        primary_source
        issued
        conclusion_code
        effective
           effective_date_time
           effective_period
              start
              end
        inserted_at
        updated_at
    
    procedure    
        category
        code
        primary_source
        outcome
        performed_date_time
        inserted_at
        updated_at
    
    observation    
        categories
        code
        primary_source
        body_site
        interpretation
        value
           value_string
           value_date_time
           value_period
           value_quantity
           value_sampled_data
           value_boolean
           value_range
           value_codeable_concept
           value_ratio
           value_time
        effective
           effective_date_time
           effective_period
              start
              end
        issued
        method
        inserted_at
        updated_at
    
    patient    
        age
        gender
  2. Enrich response with possible comparators for each field set.

  3. Render a response according to schema.

  • No labels