bmeg / fhirizer

0 stars 0 forks source link

FHIR functions #7

Closed teslajoy closed 8 months ago

teslajoy commented 10 months ago

1 - fetch schema from FHIR ex. Coding.schema()['properties']['code']['description'] - need function to clean schema() regex 2- add function to extract element_required for all destination keys required and add keys to "destination_key_required": [] 3 - pull out FHIR hierarchy from enum_reference_types ex. {'title': 'Part of larger study', 'description': 'A larger research study of which this particular study is a component or step.', 'element_property': True, 'enum_reference_types': ['ResearchStudy'], 'type': 'array', 'items': {'type': 'Reference'}} 4 - map node relation based on uppercase classes ex. Patient.Extension.valueInteger extension -> patient etc.

teslajoy commented 8 months ago

done #2 - entity2fhir handles mappings