Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

References/Allergy Intolerance: Difference between revisions

From OHC Network Wiki
More languages
Content deleted Content added
Automated edit (via update-page on MediaWiki MCP Server)
Migrate to Template:SourceCode (via update-page on MediaWiki MCP Server)
 
Line 14: Line 14:
The Django model is the storage layer. Several of its fields are opaque <code>JSONField</code>s whose real structure lives only in the Pydantic resource specs, which also define the enums, validation, the bound value set, and the read/write API schemas.
The Django model is the storage layer. Several of its fields are opaque <code>JSONField</code>s whose real structure lives only in the Pydantic resource specs, which also define the enums, validation, the bound value set, and the read/write API schemas.


{{SourceCode
'''Source:'''
| model = care/emr/models/allergy_intolerance.py

* Model: [<nowiki/>https://github.com/ohcnetwork/care/blob/develop/care/emr/models/allergy_intolerance.py <code>care/emr/models/allergy_intolerance.py</code>]
| spec = care/emr/resources/allergy_intolerance/spec.py
| valueset = care/emr/resources/allergy_intolerance/valueset.py
* Specs: [<nowiki/>https://github.com/ohcnetwork/care/blob/develop/care/emr/resources/allergy_intolerance/spec.py <code>care/emr/resources/allergy_intolerance/spec.py</code>] · [<nowiki/>https://github.com/ohcnetwork/care/blob/develop/care/emr/resources/allergy_intolerance/valueset.py <code>valueset.py</code>]
* Base resource: [<nowiki/>https://github.com/ohcnetwork/care/blob/develop/care/emr/resources/base.py <code>care/emr/resources/base.py</code>]
| base = care/emr/resources/base.py
}}


== Models ==
== Models ==
Line 272: Line 273:


{{Related}}
{{Related}}
Wiki: ohcnwiki.tellmey.fyi