Skip to content

Class: MedicalAction

medication, procedure, other actions taken for clinical management

URI: phenopackets:MedicalAction

erDiagram DoseInterval { } ExternalReference { string id string description string reference } MedicalAction { } OntologyClass { string id string label } Procedure { } Quantity { double value } RadiationTherapy { integer dosage integer fractions } TherapeuticRegimen { RegimenStatus regimenStatus } TimeElement { string timestamp } Treatment { DrugType drugType } DoseInterval ||--|o OntologyClass : "scheduleFrequency" DoseInterval ||--|o Quantity : "quantity" DoseInterval ||--|o TimeInterval : "interval" MedicalAction ||--|o OntologyClass : "responseToTreatment, treatmentIntent, treatmentTarget, treatmentTerminationReason" MedicalAction ||--|o Procedure : "procedure" MedicalAction ||--|o RadiationTherapy : "radiationTherapy" MedicalAction ||--|o TherapeuticRegimen : "therapeuticRegimen" MedicalAction ||--|o Treatment : "treatment" MedicalAction ||--}o OntologyClass : "adverseEvents" Procedure ||--|o OntologyClass : "bodySite, code" Procedure ||--|o TimeElement : "performed" Quantity ||--|o OntologyClass : "unit" Quantity ||--|o ReferenceRange : "referenceRange" RadiationTherapy ||--|| OntologyClass : "bodySite, modality" TherapeuticRegimen ||--|o ExternalReference : "externalReference" TherapeuticRegimen ||--|o OntologyClass : "ontologyClass" TherapeuticRegimen ||--|o TimeElement : "endTime, startTime" TimeElement ||--|o Age : "age" TimeElement ||--|o AgeRange : "ageRange" TimeElement ||--|o GestationalAge : "gestationalAge" TimeElement ||--|o OntologyClass : "ontologyClass" TimeElement ||--|o TimeInterval : "interval" Treatment ||--|o OntologyClass : "agent, routeOfAdministration" Treatment ||--|o Quantity : "cumulativeDose" Treatment ||--}o DoseInterval : "doseIntervals"

Slots

Name Cardinality and Range Description Inheritance
adverseEvents *
OntologyClass
ARGO mapping treatment::adverse_events direct
procedure 0..1
Procedure
direct
radiationTherapy 0..1
RadiationTherapy
direct
responseToTreatment 0..1
OntologyClass
ARGO mapping treatment::response_to_treatment direct
therapeuticRegimen 0..1
TherapeuticRegimen
direct
treatment 0..1
Treatment
direct
treatmentIntent 0..1
OntologyClass
Whether the intention of the treatment was curative, palliative, ARGO mapping treatment::treatment_intent direct
treatmentTarget 0..1
OntologyClass
The condition or disease that this treatment was intended to address. FHIR mapping Procedure::reasonCode direct
treatmentTerminationReason 0..1
OntologyClass
ARGO mapping treatment::treatment_outcome direct

Usages

used by used in type used
Phenopacket medicalActions range MedicalAction

Rules

Rule Applied Preconditions Postconditions Elseconditions
exactly_one_of [{'slot_conditions': {'procedure': {'required': True}}}, {'slot_conditions': {'treatment': {'required': True}}}, {'slot_conditions': {'radiationTherapy': {'required': True}}}, {'slot_conditions': {'therapeuticRegimen': {'required': True}}}]

Comments

  • ARGO mapping treatment::is_primary_treatment (missing)

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/phenopackets/phenopackets

Mappings

Mapping Type Mapped Value
self phenopackets:MedicalAction
native phenopackets:MedicalAction

LinkML Source

Direct

name: MedicalAction
description: medication, procedure, other actions taken for clinical management
comments:
- ARGO mapping treatment::is_primary_treatment (missing)
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  adverseEvents:
    name: adverseEvents
    annotations:
      rank:
        tag: rank
        value: 8
    description: ARGO mapping treatment::adverse_events
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.adverse_events
    rank: 1000
    domain_of:
    - MedicalAction
    range: OntologyClass
    multivalued: true
    inlined_as_list: true
  procedure:
    name: procedure
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    domain_of:
    - Measurement
    - Biosample
    - MedicalAction
    range: Procedure
  radiationTherapy:
    name: radiationTherapy
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - MedicalAction
    range: RadiationTherapy
  responseToTreatment:
    name: responseToTreatment
    annotations:
      rank:
        tag: rank
        value: 7
    description: ARGO mapping treatment::response_to_treatment
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.response_to_treatment
    rank: 1000
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  therapeuticRegimen:
    name: therapeuticRegimen
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - MedicalAction
    range: TherapeuticRegimen
  treatment:
    name: treatment
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - MedicalAction
    range: Treatment
  treatmentIntent:
    name: treatmentIntent
    annotations:
      rank:
        tag: rank
        value: 6
    description: Whether the intention of the treatment was curative, palliative,
      ARGO mapping treatment::treatment_intent
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.treatment_intent
    rank: 1000
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  treatmentTarget:
    name: treatmentTarget
    annotations:
      rank:
        tag: rank
        value: 5
    description: The condition or disease that this treatment was intended to address.
      FHIR mapping Procedure::reasonCode
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  treatmentTerminationReason:
    name: treatmentTerminationReason
    annotations:
      rank:
        tag: rank
        value: 9
    description: ARGO mapping treatment::treatment_outcome
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.treatment_outcome
    rank: 1000
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        procedure:
          name: procedure
          required: true
    - slot_conditions:
        treatment:
          name: treatment
          required: true
    - slot_conditions:
        radiationTherapy:
          name: radiationTherapy
          required: true
    - slot_conditions:
        therapeuticRegimen:
          name: therapeuticRegimen
          required: true
  annotations:
    oneof:
      tag: oneof
      value: action
  description: ARGO mapping treatment::treatment_type

Induced

name: MedicalAction
description: medication, procedure, other actions taken for clinical management
comments:
- ARGO mapping treatment::is_primary_treatment (missing)
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
  adverseEvents:
    name: adverseEvents
    annotations:
      rank:
        tag: rank
        value: 8
    description: ARGO mapping treatment::adverse_events
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.adverse_events
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: OntologyClass
    multivalued: true
    inlined: true
    inlined_as_list: true
  procedure:
    name: procedure
    annotations:
      rank:
        tag: rank
        value: 1
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    owner: MedicalAction
    domain_of:
    - Measurement
    - Biosample
    - MedicalAction
    range: Procedure
  radiationTherapy:
    name: radiationTherapy
    annotations:
      rank:
        tag: rank
        value: 3
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: RadiationTherapy
  responseToTreatment:
    name: responseToTreatment
    annotations:
      rank:
        tag: rank
        value: 7
    description: ARGO mapping treatment::response_to_treatment
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.response_to_treatment
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  therapeuticRegimen:
    name: therapeuticRegimen
    annotations:
      rank:
        tag: rank
        value: 4
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: TherapeuticRegimen
  treatment:
    name: treatment
    annotations:
      rank:
        tag: rank
        value: 2
    description: ''
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: Treatment
  treatmentIntent:
    name: treatmentIntent
    annotations:
      rank:
        tag: rank
        value: 6
    description: Whether the intention of the treatment was curative, palliative,
      ARGO mapping treatment::treatment_intent
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.treatment_intent
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  treatmentTarget:
    name: treatmentTarget
    annotations:
      rank:
        tag: rank
        value: 5
    description: The condition or disease that this treatment was intended to address.
      FHIR mapping Procedure::reasonCode
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
  treatmentTerminationReason:
    name: treatmentTerminationReason
    annotations:
      rank:
        tag: rank
        value: 9
    description: ARGO mapping treatment::treatment_outcome
    from_schema: https://w3id.org/linkml/phenopackets/phenopackets
    exact_mappings:
    - ARGO:treatment.treatment_outcome
    rank: 1000
    owner: MedicalAction
    domain_of:
    - MedicalAction
    range: OntologyClass
    inlined: true
rules:
- postconditions:
    exactly_one_of:
    - slot_conditions:
        procedure:
          name: procedure
          required: true
    - slot_conditions:
        treatment:
          name: treatment
          required: true
    - slot_conditions:
        radiationTherapy:
          name: radiationTherapy
          required: true
    - slot_conditions:
        therapeuticRegimen:
          name: therapeuticRegimen
          required: true
  annotations:
    oneof:
      tag: oneof
      value: action
  description: ARGO mapping treatment::treatment_type