metadata-aPractice
type: CapabilityStatement
node role: treeRoot
id:
  v: metadata-aPractice
text:
  status:
    v: extensions
  div: Generated Narrative: CapabilityStatement metadata-aPractice Implementation Guide Version: 25.0.0 FHIR Version: 4.0.1 Supported Formats: application/fhir+xml, application/fhir+json Supported Patch Formats: Published on: 2022-01-13 15:34:51+0530 Published by: athenahealth Note to Implementers: FHIR Capabilities Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case. FHIR RESTful Capabilities Mode: server Security Enable CORS: no Security services supported: Certificates, SMART-on-FHIR, OAuth Summary of System-wide Interactions Supports the transactioninteraction. Capabilities by Resource/Profile Summary The summary table lists the resources that are part of this configuration, and for each resource it lists: The relevant profiles (if any) The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them. The required, recommended, and some optional search parameters (if any). The linked resources enabled for _include The other resources enabled for _revinclude The operations on the resource (if any) Resource Type Profile R S U C D Searches _include _revinclude Operations Account https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-account-profile y y _after, _before, _id, _lastUpdated, _lastUpdated-fromnow, companyId, doctorId, guarantor, identifier, owner, patient, patientVisitId, period, period-fromnow, status, subject, type, visitDate, visitDate-fromnow Account:*, Account:owner, Account:patient, Account:subject AllergyIntolerance https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-allergy-profile y y _after, _before, _id, _lastUpdated, _lastUpdated-fromnow, _security, _tag, category, clinical-status, code, critic…
url:
  v: https://docs.mydata.athenahealth.com/fhir-r4/CapabilityStatement/metadata-aPractice
version:
  v: 25.0.0
status:
  v: active
date:
  v: 2022-01-13T15:34:51+05:30
publisher:
  v: athenahealth
contact:
  telecom:
    system:
      v: url
    value:
      v: http://athenahealth.com
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
kind:
  v: instance
software:
  name:
    v: R4 API Server
  version:
    v: athenaPractice 1.22.630
implementation:
  description:
    v: HAPI FHIR
  url:
    v: https://example.athenaPractice.com/demoAPIServer/fhir/r4
fhir version:
  v: 4.0.1
format:
  v: application/fhir+xml
format:
  v: application/fhir+json
rest:
  mode:
    v: server
  security:
    extension:
      extension:
        value: uri
      extension:
        value: uri
      extension:
        value: uri
      url:
        v: http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris
    service:
      text:
        v: Certificates
    service:
      text:
        v: SMART-on-FHIR
    service:
      text:
        v: OAuth
  resource:
    type:
      v: Account
    profile:
      v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-account-profile
      link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-account-profile
    interaction:
      code:
        v: read
    interaction:
      code:
        v: search-type
    search include:
      v: Account:*
    search include:
      v: Account:owner
    search include:
      v: Account:patient
    search include:
      v: Account:subject
    search param:
      name:
        v: _after
      type:
        v: string
    search param:
      name:
        v: _before
      type:
        v: string
    search param:
      name:
        v: _id
      type:
        v: token
      documentation:
        v: The ID of the resource
    search param:
      name:
        v: _lastUpdated
      type:
        v: date
    search param:
      name:
        v: _lastUpdated-fromnow
      type:
        v: quantity
    search param:
      name:
        v: companyId
      type:
        v: token
    search param:
      name:
        v: doctorId
      type:
        v: token
    search param:
      name:
        v: guarantor
      type:
        v: token
    search param:
      name:
        v: identifier
      type:
        v: token
      documentation:
        v: Account number
    search param:
      name:
        v: owner
      type:
        v: reference
      documentation:
        v: Entity managing the Account
    search param:
      name:
        v: patient
      type:
        v: reference
      documentation:
        v: The entity that caused the expenses
    search param:
      name:
        v: patientVisitId
      type:
        v: token
    search param:
      name:
        v: period
      type:
        v: date
      documentation:
        v: Transaction window
    search param:
      name:
        v: period-fromnow
      type:
        v: quantity
    search param:
      name:
        v: status
      type:
        v: token
      documentation:
        v: active | inactive | entered-in-error | on-hold | unknown
    search param:
      name:
        v: subject
      type:
        v: reference
      documentation:
        v: The entity that caused the expenses
    search param:
      name:
        v: type
      type:
        v: token
      documentation:
        v: E.g. patient, expense, depreciation
    search param:
      name:
        v: visitDate
      type:
        v: date
    search param:
      name:
        v: visitDate-fromnow
      type:
        v: quantity
  resource:
    type:
      v: AllergyIntolerance

v: 1805397300000020

v: token

v: 1805397300000030

v: authorize

v: 1805397300000040

v: register

v: Certificates

v: Certificates

v: SMART-on-FHIR

v: SMART-on-FHIR

v: OAuth

v: OAuth

code:
  v: read

code:
  v: search-type

v: AllergyIntolerance:*

v: AllergyIntolerance:encounter

v: AllergyIntolerance:encounter-or-historical

v: AllergyIntolerance:patient

v: AllergyIntolerance:recorder

v: Provenance:agent

v: Provenance:entity

v: Provenance:location

v: Provenance:target

name:
  v: _after
type:
  v: string

name:
  v: _before
type:
  v: string

name:
  v: _id
type:
  v: token
documentation:
  v: The ID of the resource

name:
  v: _lastUpdated
type:
  v: date

name:
  v: _lastUpdated-fromnow
type:
  v: quantity

name:
  v: _security
type:
  v: token

name:
  v: _tag
type:
  v: token

name:
  v: category
type:
  v: token
documentation:
  v: food | medication | environment | biologic

name:
  v: clinical-status
type:
  v: token
documentation:
  v: active | inactive | resolved

name:
  v: code
type:
  v: token
documentation:
  v: Code that identifies the allergy or intolerance

name:
  v: criticality
type:
  v: token
documentation:
  v: low | high | unable-to-assess

name:
  v: date
type:
  v: date
documentation:
  v: Date first version of the resource instance was recorded

name:
  v: date-fromnow
type:
  v: quantity

name:
  v: encounter
type:
  v: reference

name:
  v: encounter-or-historical
type:
  v: reference

name:
  v: enddate
type:
  v: date

name:
  v: enddate-fromnow
type:
  v: quantity

name:
  v: identifier
type:
  v: token
documentation:
  v: External ids for this item

name:
  v: manifestation
type:
  v: token
documentation:
  v: Clinical symptoms/signs associated with the Event

name:
  v: onset-or-approximate
type:
  v: string

name:
  v: patient
type:
  v: reference
documentation:
  v: Who the sensitivity is for

name:
  v: recorder
type:
  v: reference
documentation:
  v: Who recorded the sensitivity

name:
  v: start
type:
  v: date

name:
  v: start-fromnow
type:
  v: quantity

name:
  v: verification-status
type:
  v: token
documentation:
  v: unconfirmed | confirmed | refuted | entered-in-error

type:
  v: Appointment
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-appointment-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-appointment-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Appointment:*
search include:
  v: Appointment:actor
search include:
  v: Appointment:location
search include:
  v: Appointment:patient
search include:
  v: Appointment:practitioner
search include:
  v: Appointment:slot
search include:
  v: PractitionerRole:practitioner
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: actor
  type:
    v: reference
  documentation:
    v: Any one of the individuals participating in the appointment
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Appointment date/time.
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: An Identifier of the Appointment
search param:
  name:
    v: location
  type:
    v: reference
  documentation:
    v: This location is listed in the participants of the appointment
search param:
  name:
    v: part-status
  type:
    v: token
  documentation:
    v: The Participation status of the subject, or other participant on the appointment. Can be used to locate participants that have not responded to meeting requests.
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: One of the individuals of the appointment is this patient
search param:
  name:
    v: practitioner
  type:
    v: reference
  documentation:
    v: One of the individuals of the appointment is this practitioner
search param:
  name:
    v: reason-code
  type:
    v: token
  documentation:
    v: Coded reason this appointment is scheduled
search param:
  name:
    v: service-type
  type:
    v: token
  documentation:
    v: The specific service that is to be performed during this appointment
search param:
  name:
    v: slot
  type:
    v: reference
  documentation:
    v: The slots that this appointment is filling
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The overall status of the appointment

type:
  v: AuditEvent
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-auditevent-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-auditevent-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: AuditEvent:*
search include:
  v: AuditEvent:agent
search include:
  v: AuditEvent:entity
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: action
  type:
    v: token
  documentation:
    v: Type of action performed during the event
search param:
  name:
    v: agent
  type:
    v: reference
  documentation:
    v: Identifier of who
search param:
  name:
    v: agent-name
  type:
    v: string
  documentation:
    v: Human friendly name for the agent
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Time when the event was recorded
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: entity
  type:
    v: reference
  documentation:
    v: Specific instance of resource
search param:
  name:
    v: outcome
  type:
    v: token
  documentation:
    v: Whether the event succeeded or failed
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: Type/identifier of event

type:
  v: Binary
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-binary-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-binary-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: delete

type:
  v: CarePlan
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-careplan-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-careplan-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: CarePlan:*
search include:
  v: CarePlan:activity-reference
search include:
  v: CarePlan:author
search include:
  v: CarePlan:care-team
search include:
  v: CarePlan:condition
search include:
  v: CarePlan:encounter
search include:
  v: CarePlan:goal
search include:
  v: CarePlan:patient
search include:
  v: CarePlan:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: activity-reference
  type:
    v: reference
  documentation:
    v: Activity details defined in specific resource
search param:
  name:
    v: author
  type:
    v: reference
search param:
  name:
    v: care-team
  type:
    v: reference
  documentation:
    v: Who's involved in plan?
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Type of plan
search param:
  name:
    v: condition
  type:
    v: reference
  documentation:
    v: Health issues this plan addresses
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Time period plan covers
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Encounter created as part of
search param:
  name:
    v: goal
  type:
    v: reference
  documentation:
    v: Desired outcome of plan
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: External Ids for this plan
search param:
  name:
    v: intent
  type:
    v: token
  documentation:
    v: proposal | plan | order | option
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who the care plan is for
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: draft | active | suspended | completed | entered-in-error | cancelled | unknown
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Who the care plan is for

type:
  v: CareTeam
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-careteam-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-careteam-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: CareTeam:*
search include:
  v: CareTeam:participant
search include:
  v: CareTeam:patient
search include:
  v: CareTeam:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: External Ids for this team
search param:
  name:
    v: participant
  type:
    v: reference
  documentation:
    v: Who is involved
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who care team is for
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: proposed | active | suspended | inactive | entered-in-error
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Who care team is for

type:
  v: ClinicalImpression
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-clinicalimpressn-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-clinicalimpressn-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: ClinicalImpression:*
search include:
  v: ClinicalImpression:assessor
search include:
  v: ClinicalImpression:encounter
search include:
  v: ClinicalImpression:encounter-or-historical
search include:
  v: ClinicalImpression:patient
search include:
  v: ClinicalImpression:problem
search include:
  v: ClinicalImpression:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: assessor
  type:
    v: reference
  documentation:
    v: The clinician performing the assessment
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: When the assessment was documented
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Encounter created as part of
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Business identifier
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Patient or group assessed
search param:
  name:
    v: problem
  type:
    v: reference
  documentation:
    v: Relevant impressions of patient state
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: draft | completed | entered-in-error
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Patient or group assessed

type:
  v: ConceptMap
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-conceptmap-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-conceptmap-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: name
  type:
    v: token
  documentation:
    v: Computationally friendly name of the concept map
search param:
  name:
    v: source-code
  type:
    v: token
  documentation:
    v: Identifies element being mapped
search param:
  name:
    v: target-code
  type:
    v: token
  documentation:
    v: Code that identifies the target element

type:
  v: Condition
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-condition-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-condition-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: delete
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Condition:*
search include:
  v: Condition:asserter
search include:
  v: Condition:encounter
search include:
  v: Condition:encounter-or-historical
search include:
  v: Condition:patient
search include:
  v: Condition:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: abatement-date
  type:
    v: date
  documentation:
    v: Date-related abatements (dateTime and period)
search param:
  name:
    v: abatement-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: abatement-string
  type:
    v: string
  documentation:
    v: Abatement as a string
search param:
  name:
    v: asserter
  type:
    v: reference
  documentation:
    v: Person who asserts this condition
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: The category of the condition
search param:
  name:
    v: clinical-status
  type:
    v: token
  documentation:
    v: The clinical status of the condition
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: Code for the condition
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Encounter created as part of
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A unique identifier of the condition record
search param:
  name:
    v: onset-date
  type:
    v: date
  documentation:
    v: Date related onsets (dateTime and Period)
search param:
  name:
    v: onset-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: onset-info
  type:
    v: string
  documentation:
    v: Onsets as a string
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who has the condition?
search param:
  name:
    v: recorded-date
  type:
    v: date
  documentation:
    v: Date record was first recorded
search param:
  name:
    v: recorded-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Who has the condition?
search param:
  name:
    v: verification-status
  type:
    v: token
  documentation:
    v: unconfirmed | provisional | differential | confirmed | refuted | entered-in-error

type:
  v: Consent
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-consent-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Consent:*
search include:
  v: Consent:consentor
search include:
  v: Consent:encounter
search include:
  v: Consent:encounter-or-historical
search include:
  v: Consent:patient
search include:
  v: PractitionerRole:practitioner
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Classification of the consent statement - for indexing/retrieval
search param:
  name:
    v: consentor
  type:
    v: reference
  documentation:
    v: Who is agreeing to the policy and rules
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: When this Consent was created or indexed
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Identifier for this record (external references)
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who the consent applies to
search param:
  name:
    v: scope
  type:
    v: token
  documentation:
    v: Which of the four areas this resource covers (extensible)
search param:
  name:
    v: startdate
  type:
    v: date
search param:
  name:
    v: startdate-fromnow
  type:
    v: quantity
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: draft | proposed | active | rejected | inactive | entered-in-error

type:
  v: Coverage
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-coverage-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-coverage-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Coverage:*
search include:
  v: Coverage:beneficiary
search include:
  v: Coverage:patient
search include:
  v: Coverage:payor
search include:
  v: Coverage:policy-holder
search include:
  v: Coverage:subscriber
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: beneficiary
  type:
    v: reference
  documentation:
    v: Covered party
search param:
  name:
    v: class-type
  type:
    v: token
  documentation:
    v: Coverage class (eg. plan, group)
search param:
  name:
    v: class-value
  type:
    v: string
  documentation:
    v: Value of the class (eg. Plan number, group number)
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: The primary identifier of the insured and the coverage
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Retrieve coverages for a patient
search param:
  name:
    v: payor
  type:
    v: reference
  documentation:
    v: The identity of the insurer or party paying for services
search param:
  name:
    v: period
  type:
    v: date
search param:
  name:
    v: period-fromnow
  type:
    v: quantity
search param:
  name:
    v: policy-holder
  type:
    v: reference
  documentation:
    v: Reference to the policyholder
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The status of the Coverage
search param:
  name:
    v: subscriber
  type:
    v: reference
  documentation:
    v: Reference to the subscriber
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: The kind of coverage (health plan, auto, Workers Compensation)

type:
  v: Device
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-device-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-device-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Device:*
search include:
  v: Device:patient
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Instance id from manufacturer, owner, and others
search param:
  name:
    v: manufacturer
  type:
    v: string
  documentation:
    v: The manufacturer of the device
search param:
  name:
    v: model
  type:
    v: string
  documentation:
    v: The model of the device
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Patient information, if the resource is affixed to a person
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: active | inactive | entered-in-error | unknown
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: The type of the device
search param:
  name:
    v: udi-carrier
  type:
    v: string
  documentation:
    v: UDI Barcode (RFID or other technology) string in *HRF* format.
search param:
  name:
    v: udi-di
  type:
    v: string
  documentation:
    v: The udi Device Identifier (DI)

type:
  v: DiagnosticReport
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-diagnosticreport-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-diagnosticreport-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: DiagnosticReport:*
search include:
  v: DiagnosticReport:based-on
search include:
  v: DiagnosticReport:encounter
search include:
  v: DiagnosticReport:patient
search include:
  v: DiagnosticReport:performer
search include:
  v: DiagnosticReport:result
search include:
  v: DiagnosticReport:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: based-on
  type:
    v: reference
  documentation:
    v: Reference to the service request.
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Which diagnostic discipline/department created the report
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: The clinically relevant time of the report
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: The Encounter when the order was made
search param:
  name:
    v: issued
  type:
    v: date
  documentation:
    v: When the report was issued
search param:
  name:
    v: issued-fromnow
  type:
    v: quantity
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The subject of the report if a patient
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: Who is responsible for the report
search param:
  name:
    v: result
  type:
    v: reference
  documentation:
    v: Link to an atomic result (observation resource)
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The status of the report
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The subject of the report

type:
  v: DocumentReference
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: DocumentReference:*
search include:
  v: DocumentReference:authenticator
search include:
  v: DocumentReference:author
search include:
  v: DocumentReference:custodian
search include:
  v: DocumentReference:encounter
search include:
  v: DocumentReference:patient
search include:
  v: DocumentReference:relatesto
search include:
  v: DocumentReference:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: authenticator
  type:
    v: reference
  documentation:
    v: Who/what authenticated the document
search param:
  name:
    v: author
  type:
    v: reference
  documentation:
    v: Who and/or what authored the document
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Categorization of document
search param:
  name:
    v: custodian
  type:
    v: reference
  documentation:
    v: Organization which maintains the document
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: When this document reference was created
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: description
  type:
    v: string
  documentation:
    v: Human-readable description
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Context of the document content
search param:
  name:
    v: facility
  type:
    v: token
  documentation:
    v: Kind of facility where patient was seen
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Master Version Specific Identifier
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who/what is the subject of the document
search param:
  name:
    v: period
  type:
    v: date
  documentation:
    v: Time of service that is being documented
search param:
  name:
    v: period-fromnow
  type:
    v: quantity
search param:
  name:
    v: relatesto
  type:
    v: reference
  documentation:
    v: Target of the relationship
search param:
  name:
    v: relation
  type:
    v: token
  documentation:
    v: replaces | transforms | signs | appends
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: current | superseded | entered-in-error
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Who/what is the subject of the document
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: Kind of document (LOINC if possible)

type:
  v: Encounter
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-encounter-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-encounter-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Encounter:*
search include:
  v: Encounter:appointment
search include:
  v: Encounter:location
search include:
  v: Encounter:participant
search include:
  v: Encounter:patient
search include:
  v: Encounter:reason-reference
search include:
  v: Encounter:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: appointment
  type:
    v: reference
  documentation:
    v: The appointment that scheduled this encounter
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: A date within the period the Encounter lasted
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Identifier(s) by which this encounter is known
search param:
  name:
    v: location
  type:
    v: reference
  documentation:
    v: Location the encounter takes place
search param:
  name:
    v: participant
  type:
    v: reference
  documentation:
    v: Persons involved in the encounter other than the patient
search param:
  name:
    v: participant-type
  type:
    v: token
  documentation:
    v: Role of participant in encounter
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The patient or group present at the encounter
search param:
  name:
    v: reason-code
  type:
    v: token
  documentation:
    v: Coded reason the encounter takes place
search param:
  name:
    v: reason-reference
  type:
    v: reference
  documentation:
    v: Reason the encounter takes place (reference)
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: planned | arrived | triaged | in-progress | onleave | finished | cancelled +
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The patient or group present at the encounter
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: Specific type of encounter

type:
  v: Endpoint
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-endpoint-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-endpoint-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Endpoint:*
search include:
  v: Endpoint:organization
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: connection-type
  type:
    v: token
  documentation:
    v: Protocol/Profile/Standard to be used with this endpoint connection
search param:
  name:
    v: name
  type:
    v: string
  documentation:
    v: A name that this endpoint can be identified by
search param:
  name:
    v: organization
  type:
    v: reference
  documentation:
    v: The organization that is managing the endpoint
search param:
  name:
    v: payload-type
  type:
    v: token
  documentation:
    v: The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The current status of the Endpoint (usually expected to be active)

type:
  v: FamilyMemberHistory
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-familyhistory-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-familyhistory-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: FamilyMemberHistory:*
search include:
  v: FamilyMemberHistory:patient
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: A search by a condition code
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: When history was recorded or last updated
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A search by a record identifier
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The identity of a subject to list family member history items for
search param:
  name:
    v: relationship
  type:
    v: token
  documentation:
    v: A search by a relationship type
search param:
  name:
    v: sex
  type:
    v: token
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: partial | completed | entered-in-error | health-unknown

type:
  v: Goal
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-goal-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Goal:*
search include:
  v: Goal:expressedBy
search include:
  v: Goal:patient
search include:
  v: Goal:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: E.g. Treatment, dietary, behavioral, etc.
search param:
  name:
    v: expressedBy
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: External Ids for this goal
search param:
  name:
    v: lifecycle-status
  type:
    v: token
  documentation:
    v: proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Who this goal is intended for
search param:
  name:
    v: start-date
  type:
    v: date
  documentation:
    v: When goal pursuit begins
search param:
  name:
    v: start-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Who this goal is intended for
search param:
  name:
    v: target-date
  type:
    v: date
  documentation:
    v: Reach goal on or before
search param:
  name:
    v: target-date-fromnow
  type:
    v: quantity

type:
  v: Group

type:
  v: Immunization
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-immunization-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-immunization-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: delete
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Immunization:*
search include:
  v: Immunization:encounter
search include:
  v: Immunization:encounter-or-historical
search include:
  v: Immunization:location
search include:
  v: Immunization:patient
search include:
  v: Immunization:performer
search include:
  v: Immunization:reaction
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Vaccination (non)-Administration Date
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: dose-number
  type:
    v: number
search param:
  name:
    v: encounter
  type:
    v: reference
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Business identifier
search param:
  name:
    v: location
  type:
    v: reference
  documentation:
    v: The service delivery location or facility in which the vaccine was / was to be administered
search param:
  name:
    v: lot-number
  type:
    v: string
  documentation:
    v: Vaccine Lot Number
search param:
  name:
    v: notgiven
  type:
    v: token
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The patient for the vaccination record
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: The practitioner or organization who played a role in the vaccination
search param:
  name:
    v: reaction
  type:
    v: reference
  documentation:
    v: Additional information on reaction
search param:
  name:
    v: reaction-date
  type:
    v: date
  documentation:
    v: When reaction started
search param:
  name:
    v: reaction-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: reason-code
  type:
    v: token
  documentation:
    v: Reason why the vaccine was administered
search param:
  name:
    v: series
  type:
    v: string
  documentation:
    v: The series being followed by the provider
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: Immunization event status
search param:
  name:
    v: status-reason
  type:
    v: token
  documentation:
    v: Reason why the vaccine was not administered
search param:
  name:
    v: vaccine-code
  type:
    v: token
  documentation:
    v: Vaccine Product Administered

type:
  v: List
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-list-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-list-profile
interaction:
  code:
    v: read

type:
  v: Location
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-location-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-location-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Location:*
search include:
  v: Location:organization
search include:
  v: Location:partof
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: address
  type:
    v: string
  documentation:
    v: A (part of the) address of the location
search param:
  name:
    v: address-city
  type:
    v: string
  documentation:
    v: A city specified in an address
search param:
  name:
    v: address-country
  type:
    v: string
  documentation:
    v: A country specified in an address
search param:
  name:
    v: address-postalcode
  type:
    v: string
  documentation:
    v: A postal code specified in an address
search param:
  name:
    v: address-state
  type:
    v: string
  documentation:
    v: A state specified in an address
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: An identifier for the location
search param:
  name:
    v: name
  type:
    v: string
  documentation:
    v: A portion of the location's name or alias
search param:
  name:
    v: organization
  type:
    v: reference
  documentation:
    v: Searches for locations that are managed by the provided organization
search param:
  name:
    v: partof
  type:
    v: reference
  documentation:
    v: A location of which this location is a part
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: Searches for locations with a specific kind of status

type:
  v: Media
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-media-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-media-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Media:*
search include:
  v: Media:encounter
search include:
  v: Media:patient
search include:
  v: Media:subject
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource.
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The identity of a patient to list Media for.
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The identity of a patient to list Media for.
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: The identity of a encounter to list Media of.
search param:
  name:
    v: created
  type:
    v: date
  documentation:
    v: Returns Media created on this date.

type:
  v: Medication
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medication-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medication-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Medication:*
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: Returns medications for a specific code
search param:
  name:
    v: form
  type:
    v: token
  documentation:
    v: Returns medications for a specific dose form

type:
  v: MedicationAdministration
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationadmin-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medicationadmin-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: MedicationAdministration:*
search include:
  v: MedicationAdministration:context
search include:
  v: MedicationAdministration:encounter-or-historical
search include:
  v: MedicationAdministration:medication
search include:
  v: MedicationAdministration:patient
search include:
  v: MedicationAdministration:performer
search include:
  v: MedicationAdministration:request
search include:
  v: MedicationAdministration:subject
search include:
  v: PractitionerRole:practitioner
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: context
  type:
    v: reference
  documentation:
    v: Return administrations that share this encounter or episode of care
search param:
  name:
    v: ddid
  type:
    v: token
search param:
  name:
    v: effective-time
  type:
    v: date
  documentation:
    v: Date administration happened (or did not happen)
search param:
  name:
    v: effective-time-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Return administrations with this external identifier
search param:
  name:
    v: medication
  type:
    v: reference
  documentation:
    v: Return administrations of this medication resource
search param:
  name:
    v: ndc
  type:
    v: token
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The identity of a patient to list administrations for
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: The identity of the individual who administered the medication
search param:
  name:
    v: reason-given
  type:
    v: token
  documentation:
    v: Reasons for administering the medication
search param:
  name:
    v: request
  type:
    v: reference
  documentation:
    v: The identity of a request to list administrations from
search param:
  name:
    v: rxnorm
  type:
    v: token
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: MedicationAdministration event status (for example one of active/paused/completed/nullified)
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The identity of the individual or group to list administrations for

type:
  v: MedicationDispense
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-meddispense-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-meddispense-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: MedicationDispense:*
search include:
  v: MedicationDispense:medication
search include:
  v: MedicationDispense:patient
search include:
  v: MedicationDispense:performer
search include:
  v: MedicationDispense:prescription
search include:
  v: MedicationDispense:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: Returns dispenses of this medicine code
search param:
  name:
    v: medication
  type:
    v: reference
  documentation:
    v: Returns dispenses of this medicine resource
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The identity of a patient to list dispenses for
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The identity of a patient to list dispenses for
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: Returns dispenses performed by a specific individual
search param:
  name:
    v: prescription
  type:
    v: reference
  documentation:
    v: The identity of a prescription to list dispenses from
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: Returns dispenses with a specified dispense status
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: Returns dispenses of a specific type
search param:
  name:
    v: whenhandedover
  type:
    v: date
  documentation:
    v: Returns dispenses handed over on this date
search param:
  name:
    v: whenhandedover-fromnow
  type:
    v: date
  documentation:
    v: Returns dispenses handed over as of today

type:
  v: MedicationRequest
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medrequest-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medrequest-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: MedicationRequest:*
search include:
  v: MedicationRequest:encounter
search include:
  v: MedicationRequest:medication
search include:
  v: MedicationRequest:patient
search include:
  v: MedicationRequest:requester
search include:
  v: MedicationRequest:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: authoredon
  type:
    v: date
  documentation:
    v: Return prescriptions written on this date
search param:
  name:
    v: authoredon-fromnow
  type:
    v: quantity
search param:
  name:
    v: datewritten
  type:
    v: date
search param:
  name:
    v: datewritten-fromnow
  type:
    v: quantity
search param:
  name:
    v: ddid
  type:
    v: token
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Return prescriptions with this encounter identifier
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Return prescriptions with this external identifier
search param:
  name:
    v: intent
  type:
    v: token
  documentation:
    v: Returns prescriptions with different intents
search param:
  name:
    v: medication
  type:
    v: reference
  documentation:
    v: Return prescriptions for this medication reference
search param:
  name:
    v: ndc
  type:
    v: token
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Returns prescriptions for a specific patient
search param:
  name:
    v: requester
  type:
    v: reference
  documentation:
    v: Returns prescriptions prescribed by this prescriber
search param:
  name:
    v: rxnorm
  type:
    v: token
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: Status of the prescription
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The identity of a patient to list orders for

type:
  v: MedicationStatement
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medstatement-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-medstatement-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: delete
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: MedicationStatement:*
search include:
  v: MedicationStatement:context
search include:
  v: MedicationStatement:encounter-or-historical
search include:
  v: MedicationStatement:medication
search include:
  v: MedicationStatement:patient
search include:
  v: MedicationStatement:source
search include:
  v: MedicationStatement:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: context
  type:
    v: reference
  documentation:
    v: Returns statements for a specific context (episode or episode of Care).
search param:
  name:
    v: ddid
  type:
    v: token
search param:
  name:
    v: effective
  type:
    v: date
  documentation:
    v: Date when patient was taking (or not taking) the medication
search param:
  name:
    v: effective-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Return statements with this external identifier
search param:
  name:
    v: medication
  type:
    v: reference
  documentation:
    v: Return statements of this medication reference
search param:
  name:
    v: ndc
  type:
    v: token
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Returns statements for a specific patient.
search param:
  name:
    v: rxnorm
  type:
    v: token
search param:
  name:
    v: source
  type:
    v: reference
  documentation:
    v: Who or where the information in the statement came from
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: Return statements that match the given status
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The identity of a patient, animal or group to list statements for

type:
  v: NamingSystem
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-namingsystem-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-namingsystem-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: name
  type:
    v: token
  documentation:
    v: Computationally friendly name of the naming system
search param:
  name:
    v: value
  type:
    v: string
  documentation:
    v: The unique identifier

type:
  v: Observation
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-observation-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-observation-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: delete
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Observation:*
search include:
  v: Observation:encounter
search include:
  v: Observation:encounter-or-historical
search include:
  v: Observation:patient
search include:
  v: Observation:performer
search include:
  v: Observation:specimen
search include:
  v: Observation:subject
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _recent
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: The classification of the type of observation
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: The code of the observation type
search param:
  name:
    v: combo-code
  type:
    v: token
  documentation:
    v: The code of the observation type or component type
search param:
  name:
    v: combo-value-concept
  type:
    v: token
  documentation:
    v: The value or component value of the observation, if the value is a CodeableConcept
search param:
  name:
    v: combo-value-quantity
  type:
    v: quantity
  documentation:
    v: The value or component value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
search param:
  name:
    v: component-code
  type:
    v: token
  documentation:
    v: The component code of the observation type
search param:
  name:
    v: component-value-quantity
  type:
    v: quantity
  documentation:
    v: The value of the component observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Obtained date/time. If the obtained element is a period, a date that falls in the period
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Encounter related to the observation
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: The unique id for a particular observation
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The subject that the observation is about (if patient)
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: Who performed the observation
search param:
  name:
    v: specimen
  type:
    v: reference
  documentation:
    v: Specimen used for this observation
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The status of the observation
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The subject that the observation is about

name:
  v: value-concept
type:
  v: token
documentation:
  v: The value of the observation, if the value is a CodeableConcept

name:
  v: value-quantity
type:
  v: quantity
documentation:
  v: The value of the observation, if the value is a Quantity, or a SampledData (just search on the bounds of the values in sampled data)

type:
  v: OperationDefinition
interaction:
  code:
    v: read

type:
  v: Organization
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-organization-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-organization-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Organization:*
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Is the Organization record active
search param:
  name:
    v: address
  type:
    v: string
  documentation:
    v: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
search param:
  name:
    v: address-city
  type:
    v: string
  documentation:
    v: A city specified in an address
search param:
  name:
    v: address-country
  type:
    v: string
  documentation:
    v: A country specified in an address
search param:
  name:
    v: address-postalcode
  type:
    v: string
  documentation:
    v: A postal code specified in an address
search param:
  name:
    v: address-state
  type:
    v: string
  documentation:
    v: A state specified in an address
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Any identifier for the organization (not the accreditation issuer's identifier)
search param:
  name:
    v: name
  type:
    v: string
  documentation:
    v: A portion of the organization's name or alias
search param:
  name:
    v: phonetic
  type:
    v: string
  documentation:
    v: A portion of the organization's name using some kind of phonetic matching algorithm
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: A code for the type of organization

type:
  v: Patient
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-patient-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-patient-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
conditional create:
  v: true
conditional update:
  v: true
search include:
  v: Patient:*
search include:
  v: Patient:general-practitioner
search include:
  v: Patient:organization
search include:
  v: PractitionerRole:practitioner
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Whether the patient record is active
search param:
  name:
    v: address
  type:
    v: string
  documentation:
    v: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
search param:
  name:
    v: address-city
  type:
    v: string
  documentation:
    v: A city specified in an address
search param:
  name:
    v: address-country
  type:
    v: string
  documentation:
    v: A country specified in an address
search param:
  name:
    v: address-postalcode
  type:
    v: string
  documentation:
    v: A postalCode specified in an address
search param:
  name:
    v: address-state
  type:
    v: string
  documentation:
    v: A state specified in an address
search param:
  name:
    v: birthdate
  type:
    v: date
  documentation:
    v: The patient's date of birth
search param:
  name:
    v: birthdate-fromnow
  type:
    v: quantity
search param:
  name:
    v: death-date
  type:
    v: date
  documentation:
    v: The date of death has been provided and satisfies this search value
search param:
  name:
    v: death-date-fromnow
  type:
    v: quantity
search param:
  name:
    v: deceased
  type:
    v: token
  documentation:
    v: This patient has been marked as deceased, or as a death date entered
search param:
  name:
    v: email
  type:
    v: token
  documentation:
    v: A value in an email contact
search param:
  name:
    v: ethnicity
  type:
    v: token
search param:
  name:
    v: family
  type:
    v: string
  documentation:
    v: A portion of the family name of the patient
search param:
  name:
    v: gender
  type:
    v: token
  documentation:
    v: Gender of the patient
search param:
  name:
    v: genderIdentity
  type:
    v: token
search param:
  name:
    v: general-practitioner
  type:
    v: reference
  documentation:
    v: Patient's nominated general practitioner, not the organization that manages the record
search param:
  name:
    v: given
  type:
    v: string
  documentation:
    v: A portion of the given name of the patient
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A patient identifier
search param:
  name:
    v: language
  type:
    v: token
  documentation:
    v: Language code (irrespective of use value)

name:
  v: mothersMaidenName
type:
  v: string

name:
  v: name
type:
  v: string
documentation:
  v: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text

name:
  v: organization
type:
  v: reference
documentation:
  v: The organization that is the custodian of the patient record

name:
  v: phone
type:
  v: token
documentation:
  v: A value in a phone contact

name:
  v: phonetic
type:
  v: string
documentation:
  v: A portion of either family or given name using some kind of phonetic matching algorithm

name:
  v: race
type:
  v: token

name:
  v: sexualOrientation
type:
  v: token

name:
  v: telecom
type:
  v: token
documentation:
  v: The value in any kind of telecom details of the patient

type:
  v: Practitioner
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-practitioner-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-practitioner-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Practitioner:*
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Whether the practitioner record is active
search param:
  name:
    v: address
  type:
    v: string
  documentation:
    v: A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text
search param:
  name:
    v: address-city
  type:
    v: string
  documentation:
    v: A city specified in an address
search param:
  name:
    v: address-country
  type:
    v: string
  documentation:
    v: A country specified in an address
search param:
  name:
    v: address-postalcode
  type:
    v: string
  documentation:
    v: A postalCode specified in an address
search param:
  name:
    v: address-state
  type:
    v: string
  documentation:
    v: A state specified in an address
search param:
  name:
    v: family
  type:
    v: string
  documentation:
    v: A portion of the family name
search param:
  name:
    v: given
  type:
    v: string
  documentation:
    v: A portion of the given name
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A practitioner's Identifier
search param:
  name:
    v: name
  type:
    v: string
  documentation:
    v: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
search param:
  name:
    v: phone
  type:
    v: token
  documentation:
    v: A value in a phone contact
search param:
  name:
    v: phonetic
  type:
    v: string
  documentation:
    v: A portion of either family or given name using some kind of phonetic matching algorithm
search param:
  name:
    v: telecom
  type:
    v: token
  documentation:
    v: The value in any kind of contact

type:
  v: PractitionerRole
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-practitionerrole-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-practitionerrole-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: PractitionerRole:*
search include:
  v: PractitionerRole:endpoint
search include:
  v: PractitionerRole:location
search include:
  v: PractitionerRole:organization
search include:
  v: PractitionerRole:practitioner
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Whether this practitioner role record is in active use
search param:
  name:
    v: endpoint
  type:
    v: reference
  documentation:
    v: Technical endpoints providing access to services operated for the practitioner with this role
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A practitioner's Identifier
search param:
  name:
    v: location
  type:
    v: reference
  documentation:
    v: One of the locations at which this practitioner provides care
search param:
  name:
    v: organization
  type:
    v: reference
  documentation:
    v: The identity of the organization the practitioner represents / acts on behalf of
search param:
  name:
    v: practitioner
  type:
    v: reference
  documentation:
    v: Practitioner that is able to provide the defined services for the organization
search param:
  name:
    v: role
  type:
    v: token
  documentation:
    v: The practitioner can perform this role at for the organization
search param:
  name:
    v: specialty
  type:
    v: token
  documentation:
    v: The practitioner has this specialty at an organization

type:
  v: Procedure
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-procedure-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-procedure-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: PractitionerRole:practitioner
search include:
  v: Procedure:*
search include:
  v: Procedure:based-on
search include:
  v: Procedure:encounter
search include:
  v: Procedure:patient
search include:
  v: Procedure:performer
search include:
  v: Procedure:reason-reference
search include:
  v: Procedure:subject
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: based-on
  type:
    v: reference
  documentation:
    v: A request for this procedure
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: A code to identify a procedure
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: When the procedure was performed
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: Encounter created as part of
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A unique identifier for a procedure
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Search by subject - a patient
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: The reference to the practitioner
search param:
  name:
    v: reason-reference
  type:
    v: reference
  documentation:
    v: The justification that the procedure was performed
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: preparation | in-progress | not-done | suspended | aborted | completed | entered-in-error | unknown
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Search by subject

type:
  v: Provenance
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-provenance-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-provenance-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Target Reference(s) (usually version specific)
search param:
  name:
    v: target
  type:
    v: reference
  documentation:
    v: Target Reference(s) (usually version specific)

type:
  v: QuestionnaireResponse
interaction:
  code:
    v: create

type:
  v: RelatedPerson
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-relatedperson-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-relatedperson-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: RelatedPerson:*
search include:
  v: RelatedPerson:patient
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Indicates if the related person record is active
search param:
  name:
    v: address-city
  type:
    v: string
  documentation:
    v: A city specified in an address
search param:
  name:
    v: address-country
  type:
    v: string
  documentation:
    v: A country specified in an address
search param:
  name:
    v: address-postalcode
  type:
    v: string
  documentation:
    v: A postal code specified in an address
search param:
  name:
    v: address-state
  type:
    v: string
  documentation:
    v: A state specified in an address
search param:
  name:
    v: birthdate
  type:
    v: date
  documentation:
    v: The Related Person's date of birth
search param:
  name:
    v: birthdate-fromnow
  type:
    v: quantity
search param:
  name:
    v: gender
  type:
    v: token
  documentation:
    v: Gender of the related person
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: An Identifier of the RelatedPerson
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The patient this related person is related to
search param:
  name:
    v: phone
  type:
    v: token
  documentation:
    v: A value in a phone contact
search param:
  name:
    v: relationship
  type:
    v: token
  documentation:
    v: The relationship between the patient and the relatedperson
search param:
  name:
    v: telecom
  type:
    v: token
  documentation:
    v: The value in any kind of contact

type:
  v: Schedule
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Schedule:*
search include:
  v: Schedule:actor
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: active
  type:
    v: token
  documentation:
    v: Is the schedule in active use
search param:
  name:
    v: actor
  type:
    v: reference
  documentation:
    v: The individual(HealthcareService, Practitioner, Location, ...) to find a Schedule for
search param:
  name:
    v: date
  type:
    v: date
  documentation:
    v: Search for Schedule resources that have a period that contains this date specified
search param:
  name:
    v: date-fromnow
  type:
    v: quantity
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A Schedule Identifier
search param:
  name:
    v: service-type
  type:
    v: token
  documentation:
    v: The type of appointments that can be booked into associated slot(s)

type:
  v: ServiceRequest
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-servicerequest-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-servicerequest-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: PractitionerRole:practitioner
search include:
  v: ServiceRequest:*
search include:
  v: ServiceRequest:encounter
search include:
  v: ServiceRequest:encounter-or-historical
search include:
  v: ServiceRequest:patient
search include:
  v: ServiceRequest:performer
search include:
  v: ServiceRequest:requester
search include:
  v: ServiceRequest:subject
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: category
  type:
    v: token
  documentation:
    v: Classification of service
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: What is being requested/ordered
search param:
  name:
    v: encounter
  type:
    v: reference
  documentation:
    v: An encounter in which this request is made
search param:
  name:
    v: encounter-or-historical
  type:
    v: reference
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: Identifiers assigned to this order
search param:
  name:
    v: intent
  type:
    v: token
  documentation:
    v: proposal | plan | order +
search param:
  name:
    v: occurrence
  type:
    v: date
  documentation:
    v: When service should occur
search param:
  name:
    v: occurrence-fromnow
  type:
    v: quantity
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: Search by subject - a patient
search param:
  name:
    v: performer
  type:
    v: reference
  documentation:
    v: Requested performer
search param:
  name:
    v: priority
  type:
    v: token
  documentation:
    v: routine | urgent | asap | stat
search param:
  name:
    v: requester
  type:
    v: reference
  documentation:
    v: Who/what is requesting service
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: draft | active | suspended | completed | entered-in-error | cancelled
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: Search by subject

type:
  v: Slot
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-slot-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-slot-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Slot:*
search include:
  v: Slot:schedule
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: A Slot Identifier
search param:
  name:
    v: schedule
  type:
    v: reference
  documentation:
    v: The Schedule Resource that we are seeking a slot within
search param:
  name:
    v: service-type
  type:
    v: token
  documentation:
    v: The type of appointments that can be booked into the slot
search param:
  name:
    v: start
  type:
    v: date
  documentation:
    v: Appointment date/time.
search param:
  name:
    v: start-fromnow
  type:
    v: quantity
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The free/busy status of the appointment

type:
  v: Specimen
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-specimen-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-specimen-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search include:
  v: Specimen:*
search include:
  v: Specimen:patient
search include:
  v: Specimen:subject
search rev include:
  v: Provenance:agent
search rev include:
  v: Provenance:entity
search rev include:
  v: Provenance:location
search rev include:
  v: Provenance:target
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: _security
  type:
    v: token
search param:
  name:
    v: _tag
  type:
    v: token
search param:
  name:
    v: bodysite
  type:
    v: token
  documentation:
    v: The code for the body site from where the specimen originated
search param:
  name:
    v: collected
  type:
    v: date
  documentation:
    v: The date the specimen was collected
search param:
  name:
    v: collected-fromnow
  type:
    v: quantity
search param:
  name:
    v: identifier
  type:
    v: token
  documentation:
    v: The unique identifier associated with the specimen
search param:
  name:
    v: patient
  type:
    v: reference
  documentation:
    v: The patient the specimen comes from
search param:
  name:
    v: subject
  type:
    v: reference
  documentation:
    v: The subject of the specimen
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: The specimen type

type:
  v: StructureDefinition
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type

type:
  v: Subscription
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-subscription-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-subscription-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: update
interaction:
  code:
    v: create
interaction:
  code:
    v: search-type
search include:
  v: Subscription:*
search param:
  name:
    v: _after
  type:
    v: string
search param:
  name:
    v: _before
  type:
    v: string
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: _lastUpdated
  type:
    v: date
search param:
  name:
    v: _lastUpdated-fromnow
  type:
    v: quantity
search param:
  name:
    v: contact
  type:
    v: token
  documentation:
    v: Contact details for the subscription
search param:
  name:
    v: criteria
  type:
    v: string
  documentation:
    v: The search rules used to determine when to send a notification
search param:
  name:
    v: status
  type:
    v: token
  documentation:
    v: The current state of the subscription
search param:
  name:
    v: type
  type:
    v: token
  documentation:
    v: The type of channel for the sent notifications
search param:
  name:
    v: url
  type:
    v: uri
  documentation:
    v: The uri that will receive the notifications

type:
  v: ValueSet
profile:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-valueset-profile
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-valueset-profile
interaction:
  code:
    v: read
interaction:
  code:
    v: search-type
search param:
  name:
    v: _id
  type:
    v: token
  documentation:
    v: The ID of the resource
search param:
  name:
    v: code
  type:
    v: token
  documentation:
    v: This special parameter searches for codes in the value set. See additional notes on the ValueSet resource
search param:
  name:
    v: name
  type:
    v: token
  documentation:
    v: Computationally friendly name of the value set

code:
  v: transaction

name:
  v: Posting
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#read
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#read

name:
  v: PostPayment
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#create
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#create

name:
  v: deletePayment
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#delete
  link: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition-athena-posting-profile.html#delete

name:
  v: lookup-type
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-appointment-lookup-type.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-appointment-lookup-type.html

name:
  v: lookup-practitioner
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-appointment-lookup-practitioner.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-appointment-lookup-practitioner.html

name:
  v: translate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-conceptmap-translate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-conceptmap-translate.html

name:
  v: validate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-coverage-validate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-coverage-validate.html

name:
  v: everything
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-device-everything.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-device-everything.html

name:
  v: generate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-generate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-generate.html

name:
  v: docref
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-docref.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-docref.html

name:
  v: generateCDA
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-generateCDA.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-docref-generateCDA.html

name:
  v: everything
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-encounter-everything.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-encounter-everything.html

name:
  v: export
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-group-export.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-group-export.html

name:
  v: everything
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-everything.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-everything.html

name:
  v: generate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-generate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-generate.html

name:
  v: generate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-generate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-generate.html

name:
  v: validate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-validate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-patient-validate.html

name:
  v: unique
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/OperationDefinition-unique.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/OperationDefinition-unique.html

name:
  v: everything
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/OperationDefinition-unique.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/OperationDefinition-unique.html

name:
  v: everything
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-relatedperson-everything.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-relatedperson-everything.html

name:
  v: generate
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-servicerequest-generate.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-servicerequest-generate.html

name:
  v: lookup
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-lookup.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-lookup.html

name:
  v: expand
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-expand.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-expand.html

name:
  v: validate-code
definition:
  v: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-validatecode.html
  link: https://docs.mydata.athenahealth.com/fhir-r4/operation-valueset-validatecode.html