Plan of Treatment Section (V2)

OID: 2.16.840.1.113883.10.20.22.2.10

LOINCs: #{"18776-5"}

Alias: plan-of-treatment

Entries Required: N/A

Internal ID: PlanofTreatmentSectionV2

IG Link

Plan of treatment section making. [WIP]

To make Plan of treatment section we need to convert all entries from the input resources.

In this case we have 3 entries:

  • Observation
  • Encounter
  • MedicationStatement
  • Goal
json
[ {
  "resourceType" : "Observation",
  "code" : {
    "coding" : [ {
      "code" : "142008000",
      "display" : "ECG",
      "system" : "http://snomed.info/sct"
    } ]
  },
  "id" : "SOME-STRING",
  "effective" : {
    "dateTime" : "2012-10-02T00:00:00Z"
  },
  "status" : "registered",
  "subject" : {
    "id" : "patient",
    "resourceType" : "Patient"
  }
}, {
  "resourceType" : "Encounter",
  "status" : "planned",
  "meta" : {
    "profile" : [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" ]
  },
  "type" : [ {
    "coding" : [ {
      "code" : "185349003",
      "display" : "encounter for check-up (procedure)",
      "system" : "http://snomed.info/sct"
    } ]
  } ],
  "id" : "SOME-STRING",
  "class" : {
    "code" : "IMP",
    "display" : "inpatient encounter",
    "system" : "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"
  },
  "period" : {
    "start" : "2013-10-15"
  },
  "subject" : {
    "id" : "patient",
    "resourceType" : "Patient"
  }
}, {
  "resourceType" : "MedicationStatement",
  "status" : "intended",
  "medication" : {
    "CodeableConcept" : {
      "coding" : [ {
        "code" : "1191",
        "display" : "aspirin",
        "system" : "http://www.nlm.nih.gov/research/umls/rxnorm"
      } ]
    }
  },
  "id" : "SOME-STRING",
  "dosage" : [ {
    "route" : {
      "coding" : [ {
        "code" : "C38288",
        "display" : "ORAL",
        "system" : "http://ncithesaurus-stage.nci.nih.gov"
      } ]
    },
    "doseAndRate" : [ {
      "dose" : {
        "Quantity" : {
          "unit" : "milliGRAM(s)",
          "value" : 81.0
        }
      }
    } ]
  } ],
  "effective" : {
    "Period" : {
      "start" : "2012-10-02T00:00:00Z",
      "end" : "2012-10-30T23:59:00Z"
    }
  },
  "subject" : {
    "resourceType" : "Patient",
    "id" : "patient"
  }
}, {
  "description" : {
    "coding" : [ {
      "code" : "404684003",
      "display" : "http://snomed.info/sct",
      "system" : "http://terminology.hl7.org/CodeSystem/goal-priority"
    } ]
  },
  "expressedBy" : {
    "resourceType" : "PractitionerRole",
    "id" : "d839038b-7171-4165-a760-467925b43857",
    "specialty" : [ {
      "coding" : [ {
        "code" : "163W00000X",
        "display" : "Registered nurse",
        "system" : "http://hl7.org/fhir/ValueSet/provider-taxonomy"
      } ]
    } ],
    "practitioner" : {
      "name" : [ {
        "given" : [ "Nurse" ],
        "family" : "Florence",
        "use" : "official",
        "suffix" : [ "RN" ]
      } ],
      "id" : "d839038b-7171-4165-a760-467925b43857",
      "resourceType" : "Practitioner"
    }
  },
  "resourceType" : "Goal",
  "priority" : {
    "coding" : [ {
      "code" : "medium-priority",
      "display" : "Medium Priority",
      "system" : "http://terminology.hl7.org/CodeSystem/goal-priority"
    } ]
  },
  "id" : "9b56c25d-9104-45ee-9fa4-e0f3afaa01c1",
  "target" : [ {
    "detail" : {
      "Range" : {
        "low" : {
          "value" : 10,
          "unit" : "%"
        },
        "high" : null
      }
    },
    "measure" : {
      "coding" : [ {
        "code" : "45735-8",
        "display" : "Weight loss",
        "system" : "http://loinc.org"
      } ]
    },
    "due" : {
      "date" : "2013-10-15"
    }
  } ],
  "subject" : {
    "resourceType" : "Patient",
    "id" : "patient"
  },
  "lifecycleStatus" : "active"
} ]

The section contains a list of entries converted from the input resources. ``xml

Plan of Treatment Section (V2) No author - 10/02/2012 12:00AM UTC~ Nurse Florence RN
``