Validation Failed

  • This structuredBody SHOULD contain zero or one [0..1] component (CONF:1198-30525) such that it SHALL contain exactly one [1..1] Discharge Medications Section (entries optional) (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.11:2015-08-01) (CONF:1198-30526).
  • The languageCommunication, if present, SHOULD contain zero or one [0..1] proficiencyLevelCode, which SHALL be selected from ValueSet LanguageAbilityProficiency urn:oid:2.16.840.1.113883.1.11.12199 DYNAMIC (CONF:1198-9965).
  • The languageCommunication, if present, SHOULD contain zero or one [0..1] proficiencyLevelCode, which SHALL be selected from ValueSet LanguageAbilityProficiency urn:oid:2.16.840.1.113883.1.11.12199 DYNAMIC (CONF:1198-9965).
  • SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-32910) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32911). SHALL contain exactly one [1..1] Criticality Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.145) (CONF:1098-32913).
  • SHOULD contain zero or one [0..1] entryRelationship (CONF:1098-32935) such that it SHALL contain exactly one [1..1] @typeCode="SUBJ" Has Subject (CodeSystem: HL7ActRelationshipType urn:oid:2.16.840.1.113883.5.1002) (CONF:1098-32936). SHALL contain exactly one [1..1] Criticality Observation (identifier: urn:oid:2.16.840.1.113883.10.20.22.4.145) (CONF:1098-32938).
  • **SHOULD** be precise to the minute (CONF:81-10128).
  • **SHOULD** be precise to the minute (CONF:81-10128).
  • **SHOULD** be precise to the minute (CONF:81-10128).
  • **SHOULD** be precise to the minute (CONF:81-10128).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • SHOULD contain zero or one [0..1] @use, which SHALL be selected from ValueSet PostalAddressUse urn:oid:2.16.840.1.113883.1.11.10637 STATIC 2005-05-01 (CONF:81-7290).
  • This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30519) such that it SHALL contain exactly one [1..1] Allergies and Intolerances Section (entries optional) (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.6:2015-08-01) (CONF:1198-30520).
  • This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30521) such that it SHALL contain exactly one [1..1] Hospital Course Section (identifier: urn:oid:1.3.6.1.4.1.19376.1.5.3.1.3.5) (CONF:1198-30522).
  • This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30523) such that it SHALL contain exactly one [1..1] Discharge Diagnosis Section (V3) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.24:2015-08-01) (CONF:1198-30524).
  • This structuredBody SHALL contain exactly one [1..1] component (CONF:1198-30527) such that it SHALL contain exactly one [1..1] Plan of Treatment Section (V2) (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.2.10:2014-06-09) (CONF:1198-30528).

Header

Composition/9a4bd04c-2e29-9fc6-12bd-f3dd3a4853ec

{
  "date" : "2015-06-22",
  "encounter" : {
    "reference" : "urn:uuid:690487e1-3b05-37ea-c11f-fb3e15491628"
  },
  "section" : [ {
    "title" : "Allergies, Adverse Reactions and Alerts",
    "text" : {
      "div" : "\n\t\t<list>\n\t\t\t<item ID=\"AllergyIntoleranceObservation_1.1\">\n\t\t\t\t<table>\n\t\t\t\t\t<thead>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Allergy or Intolerance</th>\n\t\t\t\t\t\t\t<th ID=\"AllergyIntolerance_1.1Data\">Data</th>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Type:</th>\n\t\t\t\t\t\t\t<td ID=\"AllergyType_1.1D\">Drug intolerance (disorder)</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Agent:</th>\n\t\t\t\t\t\t\t<td ID=\"AllergyAgent_1.1D\">Codeine</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Allergy Start Date:</th>\n\t\t\t\t\t\t\t<td>03/15/2010</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Allergy End Date:</th>\n\t\t\t\t\t\t\t<td/>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<th>Reactions:</th>\n\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t<list>\n\t\t\t\t\t\t\t\t\t<item>\n\t\t\t\t\t\t\t\t\t\t<table>\n\t\t\t\t\t\t\t\t\t\t\t<thead>\n\t\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t\t\t<th>Start Date</th>\n\t\t\t\t\t\t\t\t\t\t\t\t<th>End Date</th>\n\t\t\t\t\t\t\t\t\t\t\t\t<th>Reaction</th>\n\t\t\t\t\t\t\t\t\t\t\t\t<th>Severity</th>\n\t\t\t\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t\t\t</thead>\n\t\t\t\t\t\t\t\t\t\t\t<tbody>\n\t\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t\t\t<td>01/29/2012</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td>01/29/2012</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td ID=\"REACT_1.1.1D\">Nausea</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td ID=\"SEV_1.1.1D\">Severe</td>\n\t\t\t\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t\t\t<td>03/15/2010</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td>03/15/2010</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td ID=\"REACT_1.1.2D\">Nausea</td>\n\t\t\t\t\t\t\t\t\t\t\t\t<td ID=\"SEV_1.1.2D\">Mild</td>\n\t\t\t\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t\t\t</tbody>\n\t\t\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t\t\t</item>\n\t\t\t\t\t\t\t\t</list>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</item>\n\t\t</list>\n\t",
      "status" : "generated"
    },
    "extension" : [ {
      "valueBoolean" : true,
      "url" : "entries-required"
    } ],
    "entry" : [ {
      "reference" : "urn:uuid:0044f87c-afd1-dddd-29f0-d15a3056f6bc"
    } ],
    "code" : {
      "coding" : [ {
        "code" : "48765-2",
        "display" : "48765-2",
        "system" : "http://loinc.org"
      } ]
    }
  } ],
  "type" : {
    "text" : "Discharge Summary",
    "coding" : [ {
      "code" : "18842-5",
      "display" : "Discharge Summary",
      "system" : "http://loinc.org"
    } ]
  },
  "resourceType" : "Composition",
  "title" : "170.315_b1_toc_inp_ds_r21_sample1 test data",
  "author" : [ {
    "reference" : "urn:uuid:1f989427-3036-f5aa-36ee-9c258e242791"
  } ],
  "custodian" : {
    "reference" : "urn:uuid:86be7d9b-23fa-6e9f-db85-5c43547ec41c"
  },
  "status" : "final",
  "id" : "9a4bd04c-2e29-9fc6-12bd-f3dd3a4853ec",
  "identifier" : {
    "value" : "TT107",
    "extension" : [ {
      "valueString" : "ABC",
      "url" : "cda-assigning-authority-name"
    } ],
    "system" : "urn:oid:2.16.840.1.113883.19.5.99999.1"
  },
  "subject" : {
    "reference" : "urn:uuid:9f8231b9-aa93-0d4b-04a7-44e76a7a0a5b"
  }
}

Patient/patient

{
  "address" : [ {
    "line" : [ "1007 Amber Dr" ],
    "use" : "home",
    "city" : "Beaverton",
    "state" : "OR",
    "postalCode" : "97266",
    "country" : "US"
  }, {
    "line" : [ "1002 Oak Dr" ],
    "use" : "old",
    "city" : "Washington",
    "state" : "DC",
    "postalCode" : "3423423",
    "country" : "US",
    "period" : {
      "start" : "2017-09-21",
      "end" : "2019-09-21"
    }
  } ],
  "managingOrganization" : {
    "reference" : "urn:uuid:86be7d9b-23fa-6e9f-db85-5c43547ec41c"
  },
  "name" : [ {
    "given" : [ "Rabecca", "Jones" ],
    "family" : "Angeles",
    "use" : "official"
  }, {
    "given" : [ "Becky", "Jones" ],
    "family" : "Angeles",
    "use" : "old"
  } ],
  "birthDate" : "1970-07-01",
  "resourceType" : "Patient",
  "extension" : [ {
    "extension" : [ {
      "valueCoding" : {
        "code" : "2106-3",
        "display" : "White",
        "system" : "urn:oid:2.16.840.1.113883.6.238"
      },
      "url" : "ombCategory"
    }, {
      "valueCoding" : {
        "code" : "2108-9",
        "display" : "White European",
        "system" : "urn:oid:2.16.840.1.113883.6.238"
      },
      "url" : "detailed"
    } ],
    "url" : "http://hl7.org/fhir/StructureDefinition/us-core-race"
  }, {
    "valueCoding" : {
      "code" : "2186-5",
      "display" : "Mexican",
      "system" : "urn:oid:2.16.840.1.113883.6.238"
    },
    "url" : "http://hl7.org/fhir/StructureDefinition/us-core-ethnicity"
  } ],
  "communication" : [ {
    "language" : {
      "coding" : [ {
        "code" : "en-US",
        "display" : "en-US",
        "system" : "urn:oid:"
      } ]
    },
    "preferred" : true
  } ],
  "id" : "patient",
  "identifier" : [ {
    "value" : "118283339",
    "system" : "http://hl7.org/fhir/sid/us-ssn"
  } ],
  "telecom" : [ {
    "system" : "phone",
    "value" : "+1(555)-225-1234",
    "use" : "mobile"
  }, {
    "system" : "phone",
    "value" : "+1(555)-226-1544",
    "use" : "home"
  } ],
  "gender" : "female"
}

PractitionerRole/dc6a82a9-8999-f7c9-b73d-160351225091

{
  "practitioner" : {
    "reference" : "urn:uuid:bb4592e9-7d1c-d1b6-53cd-a0e524e0dade"
  },
  "specialty" : [ {
    "text" : "Chronic Disease Hospital",
    "coding" : [ {
      "code" : "281P00000X",
      "display" : "Chronic Disease Hospital",
      "system" : "http://hl7.org/fhir/ValueSet/provider-taxonomy"
    } ]
  } ],
  "id" : "dc6a82a9-8999-f7c9-b73d-160351225091",
  "resourceType" : "PractitionerRole",
  "period" : {
    "start" : "2015-06-22"
  }
}

Encounter/66fbf518-f24b-7819-c7d6-072df459eb10

{
  "period" : {
    "start" : "2015-06-22",
    "end" : "2015-06-24"
  },
  "resourceType" : "Encounter",
  "status" : "finished",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "AMB",
    "display" : "AMB"
  },
  "id" : "66fbf518-f24b-7819-c7d6-072df459eb10",
  "participant" : [ {
    "type" : [ {
      "text" : "Primary Care Provider",
      "coding" : [ {
        "code" : "PCP",
        "display" : "Primary Care Provider",
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction"
      } ]
    } ],
    "individual" : {
      "reference" : "urn:uuid:de291f3e-f195-355e-2871-c189682f47b4"
    }
  }, {
    "individual" : {
      "reference" : "urn:uuid:1571e1ef-fef8-a89e-1953-0835bec515ab"
    }
  } ]
}

Allergies, Adverse Reactions and Alerts (1 entries)

Allergy or Intolerance Data
Type: Drug intolerance (disorder)
Agent: Codeine
Allergy Start Date: 03/15/2010
Allergy End Date:
Reactions:
Start Date End Date Reaction Severity
01/29/2012 01/29/2012 Nausea Severe
03/15/2010 03/15/2010 Nausea Mild

AllergyIntolerance/4a2ac5fc-0c85-4223-baee-c2e254803974

{
  "patient" : {
    "reference" : "urn:uuid:9f8231b9-aa93-0d4b-04a7-44e76a7a0a5b"
  },
  "criticality" : "unable-to-assess",
  "clinicalStatus" : {
    "coding" : [ {
      "code" : "active",
      "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"
    } ]
  },
  "meta" : {
    "profile" : [ "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" ]
  },
  "type" : "intolerance",
  "resourceType" : "AllergyIntolerance",
  "asserter" : {
    "reference" : "urn:uuid:e4384cda-e471-02e8-770f-dcb3da2516e0"
  },
  "extension" : [ {
    "valueCodeableConcept" : {
      "text" : "Drug intolerance (disorder)",
      "coding" : [ {
        "code" : "59037007",
        "display" : "Drug intolerance (disorder)",
        "system" : "http://snomed.info/sct"
      } ]
    },
    "url" : "http://onc.org/allergy-observation-value"
  } ],
  "recordedDate" : "2014-01-03",
  "id" : "4a2ac5fc-0c85-4223-baee-c2e254803974",
  "recorder" : {
    "reference" : "urn:uuid:39715256-3881-779c-2d49-5fb43e57d06b"
  },
  "code" : {
    "text" : "Codeine",
    "coding" : [ {
      "code" : "2670",
      "display" : "Codeine",
      "system" : "http://www.nlm.nih.gov/research/umls/rxnorm"
    } ]
  },
  "onsetDateTime" : "2010-03-15",
  "reaction" : [ {
    "manifestation" : [ {
      "text" : "Nausea",
      "coding" : [ {
        "code" : "422587007",
        "display" : "Nausea",
        "system" : "http://snomed.info/sct"
      } ]
    } ],
    "onset" : "2012-01-29",
    "severity" : "severe"
  }, {
    "manifestation" : [ {
      "text" : "Nausea",
      "coding" : [ {
        "code" : "422587007",
        "display" : "Nausea",
        "system" : "http://snomed.info/sct"
      } ]
    } ],
    "onset" : "2010-03-15",
    "severity" : "mild"
  } ]
}