From b0b2ce2b24807235d97dc25115b61215cd857c8a Mon Sep 17 00:00:00 2001 From: tschaffter Date: Fri, 19 Mar 2021 19:05:28 -0700 Subject: [PATCH] Rename remaining noteType --- openapi/commons/components/schemas/Note.yaml | 4 ++-- openapi/data-node/components/schemas/NoteCreateRequest.yaml | 4 ++-- .../components/schemas/DeidentifyRequest.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/openapi/commons/components/schemas/Note.yaml b/openapi/commons/components/schemas/Note.yaml index c0d30f7a..bd6e651d 100644 --- a/openapi/commons/components/schemas/Note.yaml +++ b/openapi/commons/components/schemas/Note.yaml @@ -14,10 +14,10 @@ properties: required: - identifier - text - - noteType + - type - patientId example: identifier: awesome-note text: On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle. - noteType: loinc:LP29684-5 + type: loinc:LP29684-5 patientId: awesome-patient \ No newline at end of file diff --git a/openapi/data-node/components/schemas/NoteCreateRequest.yaml b/openapi/data-node/components/schemas/NoteCreateRequest.yaml index 57a9e86b..756fcd86 100644 --- a/openapi/data-node/components/schemas/NoteCreateRequest.yaml +++ b/openapi/data-node/components/schemas/NoteCreateRequest.yaml @@ -5,7 +5,7 @@ properties: description: The content of the clinical note type: string example: "On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle." - noteType: + type: description: The note type (LOINC concept) type: string example: "loinc:LP29684-5" @@ -13,5 +13,5 @@ properties: $ref: ../../../commons/components/parameters/PatientId.yaml required: - text - - noteType + - type - patientId \ No newline at end of file diff --git a/openapi/phi-deidentifier/components/schemas/DeidentifyRequest.yaml b/openapi/phi-deidentifier/components/schemas/DeidentifyRequest.yaml index 949bf86a..e561ed00 100644 --- a/openapi/phi-deidentifier/components/schemas/DeidentifyRequest.yaml +++ b/openapi/phi-deidentifier/components/schemas/DeidentifyRequest.yaml @@ -30,5 +30,5 @@ example: note: identifier: awesome-note text: On 12/26/2020, Ms. Chloe Price met with Dr. Prescott in Seattle. - noteType: loinc:LP29684-5 + type: loinc:LP29684-5 patientId: awesome-patient