EMIS Health Patient API

The patient API from EMIS Health — 1 operation(s) for patient.

Operations 1

GET /api/v1/patient/GetPatientDemographics #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/emis-health-patient-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

emis-health-patient-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Partner Patient API
  version: '1.2'
tags:
- name: patient
paths:
  /api/v1/patient/GetPatientDemographics:
    get:
      tags:
      - patient
      description: This call returns a demographic subset of the medical record for a specific patient number.
      operationId: GetPatientDemographics
      parameters:
      - name: patientNumber
        in: query
        description: The numeric patient identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: applicationId
        in: header
        description: The applicationId (aka party key) will be provided by your assurance lead
        required: true
        schema:
          type: string
      responses:
        '500':
          description: Internal error
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
        '400':
          description: Bad request - adjust URL or parameters
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
        '401':
          description: Authentication token not valid
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
        '404':
          description: Not found
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
        '415':
          description: Media type not valid for URL
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.Service.Model.ErrorResponse'
        '200':
          description: Retrieves a patients demographics
          content:
            application/xml:
              schema:
                $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicalRecordType'
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicalRecordType'
      security:
      - bearer: []
      - OAuth2CodeEMIS-X-GP-PAPI:
        - papi-subjects.read
components:
  schemas:
    PartnerApi.EmisOpen.MedicalRecord38.PersonTypeScripts:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.RegistrationTypeDead:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.MedicalRecordTypeMessageInformationMessagingError:
      type: object
      properties:
        errorString:
          type:
          - string
          - 'null'
        errornumber:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.TestRequestHeaderTypePregnant:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.StringCodeType:
      type: object
      properties:
        value:
          type:
          - string
          - 'null'
        scheme:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeTypeScheme'
        schemeSpecified:
          type: boolean
        term:
          type:
          - string
          - 'null'
        oldCode:
          type:
          - string
          - 'null'
        mapCode:
          type:
          - string
          - 'null'
        mapScheme:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.OriginatorType:
      type: object
      properties:
        system:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.OriginatorTypeSystem'
        organisationType:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        organisation:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.QualifierType:
      type: object
      properties:
        qualifierItemID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IntegerCodeType'
        group:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IntegerCodeType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.OriginatorTypeSystem:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        version:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.PathologyTestType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        reportID:
          type:
          - string
          - 'null'
        specimenID:
          type:
          - string
          - 'null'
        displayTerm:
          type:
          - string
          - 'null'
        code:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        termID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        numericValue:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.NumericValueType'
        textValue:
          type:
          - string
          - 'null'
        abnormalIndicator:
          type:
          - string
          - 'null'
        ediResultStatus:
          type:
          - string
          - 'null'
        labSpecifiedCommentList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.EDIComment'
        rangeInformationList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.PathologyTestTypeRangeInformation'
        filedCode:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        testNumber:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.LinkType:
      type: object
      properties:
        target:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        linkType1:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkTypeLinkType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.PolicyListTypePolicyType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refId:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        term:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        userList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.PersonType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeRequestType:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.IntegerCodeType:
      type: object
      properties:
        value:
          type:
          - string
          - 'null'
        scheme:
          type:
          - string
          - 'null'
        term:
          type:
          - string
          - 'null'
        oldCode:
          type:
          - string
          - 'null'
        mapCode:
          type:
          - string
          - 'null'
        mapScheme:
          type:
          - string
          - 'null'
        interventionTarget:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.AppointmentTypeSite:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.RegistrationStatusType:
      type: object
      properties:
        currentStatus:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.RegistrationStatusTypeCurrentStatus'
        statusHistoryList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StatusType'
        registrationHistoryList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.RegistrationHistoryType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.EDIOrderTypeOrderCategory:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.RoleType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        application:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ApplicationType'
        team:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        location:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.NumericValueType:
      type: object
      properties:
        operator:
          type:
          - string
          - 'null'
        value:
          type: number
          format: double
        valueSpecified:
          type: boolean
        units:
          type:
          - string
          - 'null'
        minRangeOperator:
          type:
          - string
          - 'null'
        maximumRangeOperator:
          type:
          - string
          - 'null'
        numericMinimum:
          type: number
          format: double
        numericMinimumSpecified:
          type: boolean
        numericMaximum:
          type: number
          format: double
        numericMaximumSpecified:
          type: boolean
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.ReferralType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        assignedDate:
          type:
          - string
          - 'null'
        datePart:
          type: integer
          format: int32
        datePartSpecified:
          type: boolean
        assignedTime:
          type:
          - string
          - 'null'
        sequence:
          type:
          - string
          - 'null'
        authorID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        originalAuthor:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.AuthorType'
        externalConsultant:
          type:
          - string
          - 'null'
        displayTerm:
          type:
          - string
          - 'null'
        descriptiveText:
          type:
          - string
          - 'null'
        dataSource:
          type:
          - string
          - 'null'
        policyID:
          type:
          - string
          - 'null'
        code:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        termID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        qualifierList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.QualifierType'
        problem:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ProblemType'
        problemLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        referralLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        consultant:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        provider:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        speciality:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        requestType:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeRequestType'
        requestTypeSpecified:
          type: boolean
        team:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        referralReason:
          type:
          - string
          - 'null'
        community:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeCommunity'
        communitySpecified:
          type: boolean
        urgency:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeUrgency'
        urgencySpecified:
          type: boolean
        nhs:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeNHS'
        nhsSpecified:
          type: boolean
        transport:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeTransport'
        transportSpecified:
          type: boolean
        referralRef:
          type:
          - string
          - 'null'
        sourceType:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        direction:
          type:
          - string
          - 'null'
        sourceLocation:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        datedReferral:
          type: string
          format: date-time
        datedReferralSpecified:
          type: boolean
        rejected:
          type: integer
          format: int32
        rejectedSpecified:
          type: boolean
        rejectionReason:
          type:
          - string
          - 'null'
        accepted:
          type: integer
          format: int32
        acceptedSpecified:
          type: boolean
        assessed:
          type: integer
          format: int32
        assessedSpecified:
          type: boolean
        reasonTerm:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        sourceDescription:
          type:
          - string
          - 'null'
        sourceSpeciality:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        referralMode:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.EDIOrderType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        headerID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        provider:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        formDestination:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.EDIOrderTypeFormDestination'
        orderCategory:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.EDIOrderTypeOrderCategory'
        status:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.EDIOrderTypeStatus'
        statusSpecified:
          type: boolean
        lastStatusDate:
          type:
          - string
          - 'null'
        testRequestList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.TestRequestType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.PersonCategoryType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        mnemonic:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        purpose:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.PersonCategoryTypePurpose'
        purposeSpecified:
          type: boolean
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.MedicationType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        authorisedUserID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        originalAuthor:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.AuthorType'
        assignedDate:
          type:
          - string
          - 'null'
        dateLastIssue:
          type:
          - string
          - 'null'
        issueMethod:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeIssueMethod'
        issueMethodSpecified:
          type: boolean
        dateRxExpire:
          type:
          - string
          - 'null'
        doseAbbreviation:
          type:
          - string
          - 'null'
        dosage:
          type:
          - string
          - 'null'
        quantity:
          type: number
          format: float
        quantitySpecified:
          type: boolean
        quantityUnits:
          type:
          - string
          - 'null'
        quantityRepresentation:
          type:
          - string
          - 'null'
        duration:
          type:
          - string
          - 'null'
        mixtureIndicator:
          type:
          - string
          - 'null'
        drug:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeDrug'
        prescriptionType:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypePrescriptionType'
        prescriptionTypeSpecified:
          type: boolean
        drugSource:
          type:
          - string
          - 'null'
        rxReviewDate:
          type:
          - string
          - 'null'
        pharmacyText:
          type:
          - string
          - 'null'
        rxText:
          type:
          - string
          - 'null'
        authorisedIssue:
          type:
          - string
          - 'null'
        issueCount:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeStatus'
        statusSpecified:
          type: boolean
        advice:
          type:
          - string
          - 'null'
        template:
          type:
          - string
          - 'null'
        templateComponent:
          type:
          - string
          - 'null'
        templateInstance:
          type:
          - string
          - 'null'
        drugDelivery:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.DrugDeliveryType'
        controlledDrug:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ControlledDrugInfoType'
        problemLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        serviceType:
          type:
          - string
          - 'null'
        dispensingInterval:
          type:
          - string
          - 'null'
        repeatIssueCount:
          type:
          - string
          - 'null'
        repeatInterval:
          type:
          - string
          - 'null'
        etpIssue:
          type:
          - string
          - 'null'
        contraceptiveIssue:
          type:
          - string
          - 'null'
        policyId:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.TestRequestHeaderTypeInnoculationRisk:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.EDIComment:
      type: object
      properties:
        ftx:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeNHS:
      enum:
      - 0
      - 1
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.IdentType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.ProblemType:
      type: object
      properties:
        problemStatus:
          type: integer
          format: int32
        problemStatusSpecified:
          type: boolean
        groupingStatus:
          type: integer
          format: int32
        groupingStatusSpecified:
          type: boolean
        endDate:
          type:
          - string
          - 'null'
        endDatePart:
          type: integer
          format: int32
        endDatePartSpecified:
          type: boolean
        problemType1:
          type: integer
          format: int32
        problemType1Specified:
          type: boolean
        significance:
          type: integer
          format: int32
        significanceSpecified:
          type: boolean
        expectedDuration:
          type:
          - string
          - 'null'
        parentProblem:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        owner:
          type: integer
          format: int32
        ownerSpecified:
          type: boolean
        careAimList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.CareAimType'
        carePlanList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.CarePlanType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.ReferralTypeTransport:
      enum:
      - 0
      - 1
      - 2
      type: integer
      format: int32
    PartnerApi.EmisOpen.MedicalRecord38.AllergyType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        assignedDate:
          type:
          - string
          - 'null'
        datePart:
          type: integer
          format: int32
        datePartSpecified:
          type: boolean
        assignedTime:
          type:
          - string
          - 'null'
        sequence:
          type:
          - string
          - 'null'
        authorID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        originalAuthor:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.AuthorType'
        externalConsultant:
          type:
          - string
          - 'null'
        displayTerm:
          type:
          - string
          - 'null'
        descriptiveText:
          type:
          - string
          - 'null'
        dataSource:
          type:
          - string
          - 'null'
        policyID:
          type:
          - string
          - 'null'
        code:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        termID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        qualifierList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.QualifierType'
        problem:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ProblemType'
        problemLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        referralLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        episodicity:
          type: integer
          format: int32
        episodicitySpecified:
          type: boolean
        allergyType1:
          type: integer
          format: int32
        allergyType1Specified:
          type: boolean
        codes:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.StringCodeType'
        exclude:
          type:
          - string
          - 'null'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.IssueType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          type:
          - string
          - 'null'
        guid:
          type:
          - string
          - 'null'
        fileStatus:
          type:
          - string
          - 'null'
        oldGUID:
          type:
          - string
          - 'null'
        authorisedUserID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        originalAuthor:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.AuthorType'
        assignedDate:
          type:
          - string
          - 'null'
        dateLastIssue:
          type:
          - string
          - 'null'
        issueMethod:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeIssueMethod'
        issueMethodSpecified:
          type: boolean
        dateRxExpire:
          type:
          - string
          - 'null'
        doseAbbreviation:
          type:
          - string
          - 'null'
        dosage:
          type:
          - string
          - 'null'
        quantity:
          type: number
          format: float
        quantitySpecified:
          type: boolean
        quantityUnits:
          type:
          - string
          - 'null'
        quantityRepresentation:
          type:
          - string
          - 'null'
        duration:
          type:
          - string
          - 'null'
        mixtureIndicator:
          type:
          - string
          - 'null'
        drug:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeDrug'
        prescriptionType:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypePrescriptionType'
        prescriptionTypeSpecified:
          type: boolean
        drugSource:
          type:
          - string
          - 'null'
        rxReviewDate:
          type:
          - string
          - 'null'
        pharmacyText:
          type:
          - string
          - 'null'
        rxText:
          type:
          - string
          - 'null'
        authorisedIssue:
          type:
          - string
          - 'null'
        issueCount:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationTypeStatus'
        statusSpecified:
          type: boolean
        advice:
          type:
          - string
          - 'null'
        template:
          type:
          - string
          - 'null'
        templateComponent:
          type:
          - string
          - 'null'
        templateInstance:
          type:
          - string
          - 'null'
        drugDelivery:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.DrugDeliveryType'
        controlledDrug:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.ControlledDrugInfoType'
        problemLinkList:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.LinkType'
        serviceType:
          type:
          - string
          - 'null'
        dispensingInterval:
          type:
          - string
          - 'null'
        repeatIssueCount:
          type:
          - string
          - 'null'
        repeatInterval:
          type:
          - string
          - 'null'
        etpIssue:
          type:
          - string
          - 'null'
        contraceptiveIssue:
          type:
          - string
          - 'null'
        policyId:
          type:
          - string
          - 'null'
        estimatedCost:
          type: number
          format: double
        estimatedCostSpecified:
          type: boolean
        comment:
          type:
          - string
          - 'null'
        issuerID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        dateTimePrint:
          type:
          - string
          - 'null'
        dateTimeDispense:
          type:
          - string
          - 'null'
        dispenserID:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.IdentType'
        batchNumber:
          type:
          - string
          - 'null'
        medicationLink:
          $ref: '#/components/schemas/PartnerApi.EmisOpen.MedicalRecord38.MedicationLinkType'
      additionalProperties: false
    PartnerApi.EmisOpen.MedicalRecord38.NoteType:
      type: object
      properties:
        dbid:
          type:
          - string
          - 'null'
        refID:
          

# --- truncated at 32 KB (98 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/emis-health/refs/heads/main/openapi/emis-health-patient-api-openapi.yml