chaseastewart / fhir-converter

Transformation utility to translate data formats into FHIR
https://chaseastewart.github.io/fhir-converter/
MIT License
8 stars 4 forks source link

Procedure template does not map status to FHIR #9

Open chaseastewart opened 7 months ago

chaseastewart commented 7 months ago

Communication status is fixed to completed which maps 1:1 to FHIR. In the event a different value is provided in the CDA, it'll be mapped forward.

fhir_converter/templates/ccda/Resource/_Communication.liquid

"status":"{{ communicationEntry.statusCode.code }}",

procedure-status needs to be mapped accordingly.

fhir_converter/templates/ccda/Resource/_Procedure.liquid

"status":"{{ procedureEntry.statusCode.code }}",