care.emr.fhir.resources.code_system module¶
- class CodeSystemResource(fhir_client=None)¶
Bases:
ResourceManger- allowed_properties = ['name', 'url']¶
- resource = 'CodeSystem'¶
- serialize(result)¶
- search()¶
- get()¶
- class CodeSystem(*, name: str, resourceType: str, id: str, url: str, title: str)¶
Bases:
BaseModel- model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}¶
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_config: ClassVar[ConfigDict] = {}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- model_fields: ClassVar[Dict[str, FieldInfo]] = {'id': FieldInfo(annotation=str, required=True), 'name': FieldInfo(annotation=str, required=True), 'resourceType': FieldInfo(annotation=str, required=True), 'title': FieldInfo(annotation=str, required=True), 'url': FieldInfo(annotation=str, required=True)}¶
Metadata about the fields defined on the model, mapping of field names to [FieldInfo][pydantic.fields.FieldInfo] objects.
This replaces Model.__fields__ from Pydantic V1.