---
# System prepended metadata

title: Medical Exemption (schemas draft)

---

# Medical Exemption (schemas draft)
```
{
    "mpid": '1005',
    "patient_local_id": '1005',
    "patient_surnames": 'Doe',
    "patient_given_names": 'Dan',
    "patient_date_of_birth": '1999-08-25 03:11:33',
    "patient_gender_legal": 'male',
    "patient_street_address": '123 Main Street',
    "patient_city": 'Anytown',
    "patient_state_province_region": 'US-PA',
    "patient_postalcode": '17101',
    "patient_country": 'US',
    "patient_phone": '+1 212 555 1212', //http://en.wikipedia.org/wiki/E.123 or https://www.itu.int/rec/T-REC-E.123-200102-I/en
    "patient_email": 'dan@example.org',
    "exemption_record_id": '42',
    "exemption_requestor": 'Jane Doe', // optional field, replace with "representative_authority" see the row below for context
    "exemption_requestor_relationship": 'Mother', // optional field, replace with "authorized_representative_name" since can have no biological relationship
    "exemption_issue_date": '2021-07-25 03:11:33',
    "exemption_state_province_region": 'US-PA',
    "exemption_country": 'US',
    "exemption_type": 'medical',
    "exemption_medical_permanent": 'true',
    //example https://apps.leg.wa.gov/RCW/default.aspx?cite=28A.210.090 links to all regulations by state can be found here https://www.ncsl.org/research/health/school-immunization-exemption-state-laws.aspx
    "exemption_note": 'Immune compromised', // Must be optional field. No need for a reason if examption based on religious or philosophical beliefs
    //
    "exemption_from_all": 'true',
    "exemption_diseases_code": '1C60-1C62.Z',
    "exemption_disease_code_qualifier": '', // uncertain
    "exemption_disease_code_name": 'Human immunodeficiency virus disease',
    "exemption_medical_physician_surnames": 'Smith',
    "exemption_medical_physician_given_names": 'John',
    "exemption_medical_physician_full_name": 'John Smith',
    "exemption_medical_physician_license_number": 'AB42',
    "exemption_medical_physician_license_type": 'Medical Doctor',
    "exemption_medical_physician_license_state_province_region": 'US-PA',
    "exemption_medical_physician_license_country": 'US',
    "exemption_expiration_date": '1999-08-25 03:11:33',
    "exemption_credential_issuer": 'John Smith',
    "certificate_original_issuer": 'NAxYssaFkcE26zLUQXZxD7', // issuer did?
    "certificate_original_identifier": 'hl:zm9YZpCjPLPJ4Epc:z3TSgXTuaHxY2tsArhUreJ4ixgw9NW7DYuQ9QTPQOPPS', // is using hashlink ok?
    "credential_issuer_name": 'Acma Labs',
}
```

# Vaccine

```
{
    "mpid": '1003',
    "patient_local_id": '1003',
    "sending_facility": 'Madison Memorial Hospital',
    "patient_surnames": 'Doe',
    "patient_given_names": 'James',
    "patient_date_of_birth": '1999-08-25 03:11:33',
    "patient_gender_legal": 'male',
    "patient_street_address": '123 Main Street',
    "patient_city": 'Anytown',
    "patient_state_province_region": 'US-PA',
    "patient_postalcode": '17101',
    "patient_country": 'US',
    "patient_phone": '123-456-7890',
    "patient_email": 'james@example.org',
    "vaccine_record_id": '42',
    "vaccine_administration_facility_id": '1',
    "vaccine_administration_facility_id_qualifier": 'ACMA',
    "vaccine_administration_facility_name": 'ACMA Labs',
    "vaccine_administration_state_province_region": 'US-PA',
    "vaccine_administration_postalcode": '17101',
    "vaccine_administration_country": 'US',
    "vaccine_administration_date": '2021-06-25 03:11:33',
    "vaccine_dose_number": '42',
    "vaccine_series_complete": '21003600', // batch number?
    "vaccine_lot_number": '42',
    "vaccine_code": '210',
    "vaccine_code_qualifier": 'CVX',// https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx
    "vaccine_code_name": 'Moderna COVID-19 Vaccine', // https://www.ama-assn.org/system/files/2021-01/covid-19-immunizations-appendix-q-table.pdf
    "vaccine_manufacturer_code": 'MOD', // https://www.cdc.gov/vaccines/programs/iis/COVID-19-related-codes.html
    "vaccine_manufacturer_code_qualifier": '207', // https://www.cdc.gov/vaccines/programs/iis/COVID-19-related-codes.html
    "vaccine_manufacturer_code_name": 'Moderna US, Inc.', // https://www.cdc.gov/vaccines/programs/iis/COVID-19-related-codes.html
    "vaccine_disease_target_code": '207', // https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx
    "vaccine_disease_target_code_qualifier": '', // uncertain
    "vaccine_disease_target_name": 'SARS-COV-2', //https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx
    "vaccine_administration_provider_id": '1',
    "vaccine_administration_provider_id_qualifier": "ACMA",
    "vaccine_administration_provider_fullname": "ACMA Labs",
    "vaccine_education_reference_material": "https://www.cdc.gov/coronavirus/2019-ncov/index.html",
    "certificate_original_issuer": 'NAxYssaFkcE26zLUQXZxD7', // issuer did?
    "certificate_original_identifier": 'hl:zm9YZpCjPLPJ4Epc:z3TSgXTuaHxY2tsArhUreJ4ixgw9NW7DYuQ9QTPQOPPS', // is using hashlink ok?
    "credential_issuer_name": "ACMA"
}
```

# Lab Result
	
```
{
    "mpid": '1002',
    "patient_local_id": '1002',
    "patient_surnames": 'Doe',
    "patient_given_names": 'Jane',
    "patient_date_of_birth": '1999-08-25 03:11:33',
    "patient_gender_legal": 'female',
    "patient_street_address": '123 Main St',
    "patient_city": 'Anytown',
    "patient_state_province_region": 'US-PA',
    "patient_postalcode": '17101',
    "patient_country": 'US',
    "patient_phone": '123-456-7890',
    "patient_email": 'jane@example.org',
    "lab_specimen_collected_date": '2020-03-18 00:32:32',
    "lab_specimen_type": 'saliva',
    "lab_order_id": '67890',
    "lab_coding_qualifier": 'PRC',
    "lab_code": 'ACMA Labs',
    "lab_description": 'Covid-19 swab test',
    "ordering_facility_id": '1',
    "ordering_facility_id_qualifier": 'ACMA',
    "ordering_facility_name": "ACMA Labs",
    "ordering_facility_state_province_region": "US-PA",
    "ordering_facility_postalcode": "17101",
    "ordering_facility_country": "US",
    "lab_performed_by": "John Smith",
    "credential_issuer": "NAxYssaFkcE26zLUQXZxD7" // issuer did?
}
```
    
# Lab Order
```
{
    "mpid": '1001',
    "patient_local_id": '1001',
    "patient_surnames": 'Doe',
    "patient_given_names": 'John',
    "patient_date_of_birth": '1999-08-25 03:11:33',
    "patient_gender_legal": 'male',
    "patient_street_address": '123 Main St',
    "patient_city": 'Anytown',
    "patient_state_province_region": 'US-PA',
    "patient_postalcode": '17101',
    "patient_country": 'US',
    "patient_phone": '123-456-7890',
    "patient_email": 'john@example.org',
    "lab_observation_date_time": '2020-03-18 11:11:11',
    "lab_specimen_collected_date": '2020-03-18 00:32:32',
    "lab_specimen_type": 'saliva',
    "lab_result_status": 'active',
    "lab_result": "negative",
    "lab_description": 'G2023', // https://www.cms.gov/files/document/covid-ifc-2-flu-rsv-codes.pdf
    "lab_order_id": '67890',
    "lab_normality": 'normal',
    "lab_coding_qualifier": 'PRC',
    "lab_code": 'ACMA Labs',
    "lab_description": 'Covid-19 swab test',
    "lab_comment": 'Everything checks out okay',
    "lab_performed_by": 'John Smith',
    "ordering_facility_id": '1',
    "ordering_facility_id_qualifier": 'ACMA',
    "ordering_facility_name": "ACMA Labs",
    "ordering_facility_state_province_region": "US-PA",
    "ordering_facility_postalcode": "17101",
    "ordering_facility_country": "US",
    "performing_laboratory_id": '1',
    "performing_laboratory_id_qualifier": 'ACMA',
    "performing_laboratory_name": 'ACMA Labs',
    "performing_laboratory_state_province_region": 'US-PA',
    "performing_laboratory_postalcode": '17101',
    "performing_laboratory_country": 'US',
    "lab_performed_by": "John Smith",
    "credential_issuer": "NAxYssaFkcE26zLUQXZxD7" // issuer did?
}
```