References/Allergy Intolerance: Difference between revisions
From OHC Network Wiki
More languages
More actions
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 |
|||
| 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 = care/emr/resources/base.py |
|||
}} |
|||
== Models == |
== Models == |
||
| Line 272: | Line 273: | ||
{{Related}} |
{{Related}} |
||
Wiki: ohcnwiki.tellmey.fyi |
|||