The resourceType field in the FHIR resource data doesn't appear in the generated resources by default.
The resourceType field should be refactored in all resource files from:
resourceType: str = 'resource_name
To:
resourceType: str = Field('resource_name', const=True)
The resourceType field in the FHIR resource data doesn't appear in the generated resources by default.
The resourceType field should be refactored in all resource files from:
resourceType: str = 'resource_name
To:resourceType: str = Field('resource_name', const=True)