Coverage for /home/martinb/workspace/client-py/fhirclient/models/age.py : 80%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3#
4# Generated from FHIR 4.0.0-a53ec6ee1b (http://hl7.org/fhir/StructureDefinition/Age) on 2021-05-18.
5# 2021, SMART Health IT.
8from . import quantity
10class Age(quantity.Quantity):
11 """ A duration of time during which an organism (or a process) has existed.
12 """
14 resource_type = "Age"
16 def __init__(self, jsondict=None, strict=True):
17 """ Initialize all valid properties.
19 :raises: FHIRValidationError on validation errors, unless strict is False
20 :param dict jsondict: A JSON dictionary to use for initialization
21 :param bool strict: If True (the default), invalid variables will raise a TypeError
22 """
24 super(Age, self).__init__(jsondict=jsondict, strict=strict)