0.1.0 - ci-build

CAREWareFHIRDataDictionary - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Condtions Problem List Overview

Diagnosis Date

  • PDI Column: dgn_date

  • FHIR Element: Diagnosis.recordedDate

  • CWFP Implementation:

          column dgn_date {
    
      note This establishes the start date of the med.
      findResult status = resource.clinicalStatus.text
      if status.Found{
          if  status.StringValue contains 'Active'{
    		 
    		
              findResult def = resource.code.coding[findAllSystems]code
              if def.Found{
                  findResult MedStart = resource.recordedDate
    	
                  if MedStart.Found {
    		
                  found MedStart
    		
                  }
              }
    		
          }
      }
    	
    	
      }
    
  • Other CWFP Query:

      forEachObj findAllSystems {
    
      note this section of code will get run for each element in the array it is assigned to
    	
      findResult sys = system
      findResult cd = code
      if sys.StringValue.ToLower contains 'icd-10-cm' {
          found sys
      }
      }
    

Diagnosis Primary Key

  • PDI Column: dgn_pk

  • FHIR Element: Diagnosis.code.coding

  • CWFP Implementation:

          column dgn_pk {
    
      note This establishes the start date of the med.
      findResult status = resource.clinicalStatus.text
      if status.Found{
          if  status.StringValue contains 'Active'{
    		 
    		
              findResult def = resource.code.coding[findAllSystems]code
              if def.Found{
                  findResult MedStart = resource.id
    	
                  if MedStart.Found {
    		
                  found MedStart
    		
                  }
              }
    		
          }
      }
    	
    	
      }
    
  • Other CWFP Query:

      forEachObj findAllSystems {
    
      note this section of code will get run for each element in the array it is assigned to
    	
      findResult sys = system
      findResult cd = code
      if sys.StringValue.ToLower contains 'icd-10-cm' {
          found sys
      }
      }
    

Diagnosis Comment

  • PDI Column: dgn_comment

  • FHIR Element: Diagnosis.code.coding

  • CWFP Implementation:

          column dgn_comment {
    
      note This establishes the start date of the med.
      findResult status = resource.clinicalStatus.text
      if status.Found{
          if  status.StringValue contains 'Active'{
    		 
    		
              findResult def = resource.code.coding[findAllSystems]code
              if def.Found{
                  findResult MedStart = resource.note[0]text
    	
                  if MedStart.Found {
    		
                  found MedStart
    		
                  }
              }
    		
          }
      }
      }
    
    
  • Other CWFP Query:

      forEachObj findAllSystems {
    
      note this section of code will get run for each element in the array it is assigned to
    	
      findResult sys = system
      findResult cd = code
      if sys.StringValue.ToLower contains 'icd-10-cm' {
          found sys
      }
      }
    

Diagnosis Problem Status

  • PDI Column: dgn_problem_status

  • FHIR Element: Diagnosis.status

  • CWFP Implementation:

    ```javascript column dgn_problem_status {

    note This establishes the start date of the med. findResult status = resource.status if status.Found{ found status

    } }

Diagnosis CS

  • PDI Column: dgn_cs_#

  • CWFP Implementation:

          column dgn_cs_# {
          found ''
      }
    

Match ID

  • PDI Column: match_id

  • FHIR Element: Diagnosis.code.coding

  • CWFP Implementation:

          column match_id {
    
      note This establishes the start date of the med.
      findResult status = resource.clinicalStatus.text
      if status.Found{
          if status.StringValue contains 'Active'{
    		  
    		 
              findResult def = resource.code.coding[findAllSystems]code
              if def.Found{
    
            		findResult  id = resource.subject.reference.id
                  found id
              }			
    		  
          }
    		
      }
    		
      }
    
  • Other CWFP Query:

      forEachObj findAllSystems {
    
      note this section of code will get run for each element in the array it is assigned to
    	
      findResult sys = system
      findResult cd = code
      if sys.StringValue.ToLower contains 'icd-10-cm' {
          found sys
      }
      }